[PHP-DOC] #42288 [Opn->Csd]: Wrong url at the "VII. BBCode Functions" page

2007-08-13 Thread philip
 ID:   42288
 Updated by:   [EMAIL PROTECTED]
 Reported By:  lodeclaassen at gmail dot com
-Status:   Open
+Status:   Closed
-Bug Type: Website problem
+Bug Type: Documentation problem
 Operating System: Irrelevant
 PHP Version:  Irrelevant
 New Comment:

This has been fixed in CVS and will show up after the next build, thank
you for the report. :)


Previous Comments:


[2007-08-14 00:58:05] lodeclaassen at gmail dot com

Description:

One the "VII. BBCode Functions" page (
http://nl3.php.net/manual/en/ref.bbcode.php ) the link to the PECL page
is wrong. It shows correct as "ยป http://pecl.php.net/package/bbcode"; but
it links to "http://pecl.php.net/package/fileinfo"; instead.
Maybe the error is also in other translations, I'm not sure about that.

Reproduce code:
---
Visit "http://nl3.php.net/manual/en/ref.bbcode.php"; and click the link
to the PECL page.

Expected result:

To get the "http://pecl.php.net/package/bbcode"; page.

Actual result:
--
I get the "http://pecl.php.net/package/fileinfo"; page.





-- 
Edit this bug report at http://bugs.php.net/?id=42288&edit=1


[PHP-DOC] cvs: phpdoc /en/reference/bbcode configure.xml

2007-08-13 Thread Philip Olson
philip  Tue Aug 14 01:05:23 2007 UTC

  Modified files:  
/phpdoc/en/reference/bbcode configure.xml 
  Log:
  Fix pecl link (bug #42288)
  
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/bbcode/configure.xml?r1=1.1&r2=1.2&diff_format=u
Index: phpdoc/en/reference/bbcode/configure.xml
diff -u phpdoc/en/reference/bbcode/configure.xml:1.1 
phpdoc/en/reference/bbcode/configure.xml:1.2
--- phpdoc/en/reference/bbcode/configure.xml:1.1Tue Jul 24 12:13:12 2007
+++ phpdoc/en/reference/bbcode/configure.xmlTue Aug 14 01:05:23 2007
@@ -1,10 +1,10 @@
 
-
+
 http://docbook.org/ns/docbook"; 
xmlns:xlink="http://www.w3.org/1999/xlink";>
  &reftitle.install;
  
   &pecl.info;
-  &url.pecl.package;bbcode
+  &url.pecl.package;bbcode
  
 
 


[PHP-DOC] cvs: phpdoc /en/reference/misc/functions exit.xml

2007-08-13 Thread Martin Samesch
samesch Mon Aug 13 21:41:12 2007 UTC

  Modified files:  
/phpdoc/en/reference/misc/functions exit.xml 
  Log:
  tautologic..
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/misc/functions/exit.xml?r1=1.15&r2=1.16&diff_format=u
Index: phpdoc/en/reference/misc/functions/exit.xml
diff -u phpdoc/en/reference/misc/functions/exit.xml:1.15 
phpdoc/en/reference/misc/functions/exit.xml:1.16
--- phpdoc/en/reference/misc/functions/exit.xml:1.15Wed Jun 20 22:24:57 2007
+++ phpdoc/en/reference/misc/functions/exit.xml Mon Aug 13 21:41:12 2007
@@ -1,5 +1,5 @@
 
-
+
 http://docbook.org/ns/docbook";>
  
   exit
@@ -30,7 +30,7 @@
  
   
If status is a string, this function prints the
-   status, if set as a string just before exiting.
+   status just before exiting.
   
   
If status is an integer, that


Re: [PHP-DOC] fast build for manual chapter

2007-08-13 Thread Hannes Magnusson
On 8/13/07, Stanislav Malyshev <[EMAIL PROTECTED]> wrote:
> > An hour!? Are you using couple of hamsters? :P
>
> Something like that :) It's my development VM, which is usually quite
> fast but it might hit some memory limit and become very slow. Maybe I
> need to give it more memory :) Thanks for the help anyway, I'll try
> experimenting some more with settings and do some updates.

You can expect xsltproc to use up to 500mb of ram..., I don't remember
how much xmllint takes but its a bit less, I think.
Yes. We known. The current build systems *sucks* :)
(Pimping out PhD again; ) PhD uses only few mbs (don't recall the
exact number, its less than 30mb at least) :)

Good luck & have fun :D
-Hannes


Re: [PHP-DOC] fast build for manual chapter

2007-08-13 Thread Stanislav Malyshev

An hour!? Are you using couple of hamsters? :P


Something like that :) It's my development VM, which is usually quite 
fast but it might hit some memory limit and become very slow. Maybe I 
need to give it more memory :) Thanks for the help anyway, I'll try 
experimenting some more with settings and do some updates.

--
Stanislav Malyshev, Zend Software Architect
[EMAIL PROTECTED]   http://www.zend.com/
(408)253-8829   MSN: [EMAIL PROTECTED]


[PHP-DOC] #42285 [NEW]: var statement

2007-08-13 Thread x12code at yahoo dot com
From: x12code at yahoo dot com
Operating system: XP SP2
PHP version:  Irrelevant
PHP Bug Type: Documentation problem
Bug description:  var statement

Description:

The following page mentions "classes":

http://us.php.net/manual/en/language.oop.php

I am learning PHP. I went through an online tutorial and am now reading
through the manual as I am lead page by page. On this page I came across
new syntax not seen before which is the "var statement". This appears
different than other variable declaration, which is just to type the
variable name on a line with no assignment, or just use the variable for
the first time. Wanting to be sure what this means I read previous manual
pages on php.net again, I searched php.net, and I did an internet wide
google search. I feel I have come to understand the "var statement", but
doing so was difficult. It was not expressly stated in the manual.
Searching is difficult because "var" is quite ambiguous to "variable" for
both PHP and Javascript, and php.net uses "$var" for some code examples.
Thanks

Reproduce code:
---
n/a

Expected result:

n/a

Actual result:
--
n/a

-- 
Edit bug report at http://bugs.php.net/?id=42285&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=42285&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=42285&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=42285&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=42285&r=fixedcvs
Fixed in release: 
http://bugs.php.net/fix.php?id=42285&r=alreadyfixed
Need backtrace:   http://bugs.php.net/fix.php?id=42285&r=needtrace
Need Reproduce Script:http://bugs.php.net/fix.php?id=42285&r=needscript
Try newer version:http://bugs.php.net/fix.php?id=42285&r=oldversion
Not developer issue:  http://bugs.php.net/fix.php?id=42285&r=support
Expected behavior:http://bugs.php.net/fix.php?id=42285&r=notwrong
Not enough info:  
http://bugs.php.net/fix.php?id=42285&r=notenoughinfo
Submitted twice:  
http://bugs.php.net/fix.php?id=42285&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=42285&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=42285&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=42285&r=dst
IIS Stability:http://bugs.php.net/fix.php?id=42285&r=isapi
Install GNU Sed:  http://bugs.php.net/fix.php?id=42285&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=42285&r=float
No Zend Extensions:   http://bugs.php.net/fix.php?id=42285&r=nozend
MySQL Configuration Error:http://bugs.php.net/fix.php?id=42285&r=mysqlcfg


[PHP-DOC] cvs: phpdoc /en/install/windows installermsi.xml

2007-08-13 Thread John Mertic
jmertic Mon Aug 13 14:29:34 2007 UTC

  Modified files:  
/phpdoc/en/install/windows  installermsi.xml 
  Log:
  Updated what webservers are configured by the installer.
  
  
  
http://cvs.php.net/viewvc.cgi/phpdoc/en/install/windows/installermsi.xml?r1=1.8&r2=1.9&diff_format=u
Index: phpdoc/en/install/windows/installermsi.xml
diff -u phpdoc/en/install/windows/installermsi.xml:1.8 
phpdoc/en/install/windows/installermsi.xml:1.9
--- phpdoc/en/install/windows/installermsi.xml:1.8  Wed Jun 20 22:24:11 2007
+++ phpdoc/en/install/windows/installermsi.xml  Mon Aug 13 14:29:33 2007
@@ -1,5 +1,5 @@
 
-
+
 http://docbook.org/ns/docbook"; 
xmlns:xlink="http://www.w3.org/1999/xlink";>
Windows Installer (PHP 5.2 and later)
 
@@ -47,7 +47,7 @@
  
   The installer then sets up PHP to be used in Windows and the &php.ini;
   file, and configures certain web servers to use PHP. The installer will
-  currently configure IIS (CGI mode only), Apache, Xitami, and Sambar
+  currently configure IIS, Apache, Xitami, and Sambar
   Server; if you are using a different web server you'll need to
   configure it manually. 
  


Re: [PHP-DOC] fast build for manual chapter

2007-08-13 Thread Hannes Magnusson
On 8/13/07, Stanislav Malyshev <[EMAIL PROTECTED]> wrote:
> >> periodically if what I wrote looks good. Building a manual takes serious
> >> amount of time, so I wanted to ask - is there any way to build only one
> >> chapter for the manual and look only into it, without building all the 
> >> rest?
> >
> > make part/the-id
> >
> > Take for example the strpos function, which has the id function.strpos:
> > make part/function.strpos
>
> Tried that, however it still seems to do the "Generating the manual..."
> step each time, which takes significant time (not as much as full
> manual, but an hour at least). Is there any way to speed that up?

An hour!? Are you using couple of hamsters? :P
It should take a minute, max. Takes^WTook 30seconds on my laptop.
You are probably running outdated libxml2, try upgrading it.

You could try running xsltproc --stringparam rootid function.strpos
phpbook/phpbook-xsl/phpweb.xsl manual.xml
(replacing 'function.strpos' with the ID you want to build, and
'phpweb.xsl' with 'html.xsl' if you want the html output).
However, this won't work on any BSD box (FreeBSD, MacOSX...) due to
some severe memory allocation bugs in libxml2 which I still haven't
managed to track down (and are BSD specific somehow).


Your best bet is upgrading libxml2+libxslt but if your hardware is
from the stone age then your hardware is from the stone age... :)

However. As I said earlier, we know the build system *sucks*. We are
working on it and have already made mssive improvements to it
(http://docs.php.net/manual/en/index.php and
http://docs.php.net/download-docs.php (english) was for example
generated in less than 3minutes...) :]

-Hannes