[PHP-DOC] #40267 [Opn]: tempnam creates file with access permissions mode of 0600
ID: 40267 Updated by: [EMAIL PROTECTED] Reported By: mpb dot mail at gmail dot com Status: Open -Bug Type: Filesystem function related +Bug Type: Documentation problem Operating System: Linux PHP Version: 4.4.4 New Comment: Reclassified as docu problem. Previous Comments: [2007-01-29 07:27:20] mpb dot mail at gmail dot com Description: The tempnam function sets the access permissions mode of the file it creates to 0600. This behavior is undocumented and is different from the behavior of fopen, which sets the access permissions mode to 0644. tempnam's behavior is therefore either a bug or an undocumented "feature". If you consider this to be a "feature" and not a bug, please reclassify this bug report as a documentation request. The revelant source files are: ext/standard/file.c main/php_open_temporary_file.c 'man mkstemp' is also interesting reading, as mkstemp behaves differently in different versions of glibc. Thank you! Reproduce code: --- '; print `ls -ln test.txt test-*`; print ''; ?> Expected result: -rw-r--r-- 1 1424351 293975 0 Jan 28 23:08 test-ZG6Vdl -rw-r--r-- 1 1424351 293975 0 Jan 28 23:08 test.txt Actual result: -- -rw--- 1 1424351 293975 0 Jan 28 23:08 test-ZG6Vdl -rw-r--r-- 1 1424351 293975 0 Jan 28 23:08 test.txt -- Edit this bug report at http://bugs.php.net/?id=40267&edit=1
[PHP-DOC] #36739 [NoF->Csd]: defect description for variables_order
ID: 36739 Updated by: [EMAIL PROTECTED] Reported By: akorthaus at web dot de -Status: No Feedback +Status: Closed Bug Type: Documentation problem Operating System: Gentoo Linux PHP Version: Irrelevant -Assigned To: +Assigned To: philip New Comment: This has been fixed within the PHP documentation sources and will show up after the next manual build. Here's the commit: http://cvs.php.net/viewvc.cgi/phpdoc/en/appendices/ini.xml?r1=1.44&r2=1.45 Thank you for the report, it was a good (very descriptive) one :) Previous Comments: [2007-01-29 01:00:00] phpdoc at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". [2007-01-21 03:16:26] [EMAIL PROTECTED] How does the following look? variables_order string Sets the order of the EGPCS (Environment, Get, Post, Cookie, and Server) variable parsing. For example, if variables_order is set to "SP" then PHP will create the superglobals $_SERVER and $_POST, but not create $_ENV, $_GET, and $_COOKIE. Setting to "" means no superglobals will be set. If the deprecated register_globals directive is on (removed as of PHP 6), then variables_order also configures the order the ENV, GET, POST, COOKIE and SERVER variables are populated in global scope. So for example if variables_order is set to "EGPCS", register_globals is enabled, and both $_GET['action'] and $_POST['action'] are set, then $action will contain the value of $_POST['action'] since "P" is after the "G" in the examples directive value. $_REQUEST is also affected by this order. [2006-03-15 01:04:09] akorthaus at web dot de Description: In "Actual Result" I have copied the current "variables_order" description from the manual. It looks if it was copied from the "register_globals - friendly" description of "gpc_order", but AFAIK these two parameters don't do the same! If you set "variables_order" to "GP", PHP will _not_ "overwrite any GET method variables with POST-method variables of the same name" - that's why $_GET etc. have been invented. Since "register_globals" has been removed from CVS-HEAD, I think this description is misleading (at least it was to me). As far as I can see the order of the variables does not matter if you don't have register_globals anymore. It's only a question of which variables will be created at all. Only if you still use register_globals the last sentence makes sense, but this should not be the default anymore (IMO). Expected result: Perhaps something like that: variables_order string Set the order of the EGPCS ($_ENV, $_GET, $_POST, $_COOKIE, $_SERVER) variable parsing. The default setting of this directive is "EGPCS". Setting this to "GP", for example, will cause PHP to completely ignore environment variables, cookies and server variables, and to created only the $_GET and $_POST superglobals. If register_globals is still used, variables_order also configures the order ENV, GET, POST, COOKIE and SERVER variables are populated in global scope. Setting this to "GP" with register_globals enabled, will cause PHP to overwrite any GET method variables with POST-method variables of the same name. [REGISTER-GLOBALS-WARNING] [REGISTER-GLOBALS-REMOVED-NOTICE] See also PHP Superglobals. Actual result: -- variables_order string Set the order of the EGPCS (Environment, GET, POST, Cookie, Server) variable parsing. The default setting of this directive is "EGPCS". Setting this to "GP", for example, will cause PHP to completely ignore environment variables, cookies and server variables, and to overwrite any GET method variables with POST-method variables of the same name. See also register_globals. http://de3.php.net/manual/en/ini.core.php#ini.variables-order -- Edit this bug report at http://bugs.php.net/?id=36739&edit=1
[PHP-DOC] cvs: phpdoc /en/appendices ini.xml
philip Mon Jan 29 03:53:04 2007 UTC Modified files: /phpdoc/en/appendices ini.xml Log: Updated the variables_order description. This closes bug #36739 http://cvs.php.net/viewvc.cgi/phpdoc/en/appendices/ini.xml?r1=1.44&r2=1.45&diff_format=u Index: phpdoc/en/appendices/ini.xml diff -u phpdoc/en/appendices/ini.xml:1.44 phpdoc/en/appendices/ini.xml:1.45 --- phpdoc/en/appendices/ini.xml:1.44 Fri Dec 22 14:34:39 2006 +++ phpdoc/en/appendices/ini.xmlMon Jan 29 03:53:04 2007 @@ -1,5 +1,5 @@ - - + + &php.ini; directives @@ -3098,16 +3098,39 @@ - Set the order of the EGPCS (Environment, GET, POST, Cookie, - Server) variable parsing. The default setting of this - directive is "EGPCS". Setting this to "GP", for example, - will cause PHP to completely ignore environment variables, - cookies and server variables, and to overwrite any GET - method variables with POST-method variables of the same name. - - - See also register_globals. + Sets the order of the EGPCS (Environment, + Get, Post, + Cookie, and Server) variable + parsing. For example, if variables_order + is set to "SP" then PHP will create the + &link.superglobals; $_SERVER and + $_POST, but not create + $_ENV, $_GET, and + $_COOKIE. Setting to "" means no + &link.superglobals; will be set. + + + If the deprecated + register_globals + directive is on (removed as of PHP 6), then variables_order also + configures the order the ENV, + GET, POST, + COOKIE and SERVER variables + are populated in global scope. So for example if variables_order + is set to "EGPCS", register_globals is enabled, + and both $_GET['action'] and + $_POST['action'] are set, then + $action will contain the value of + $_POST['action'] as P comes + after G in our example directive value. + + + The content and order of + $_REQUEST is also + affected by this directive. + +
[PHP-DOC] #23714 [Asn->Fbk]: Unix/HP-UX install documentation is outdated
ID: 23714 Updated by: [EMAIL PROTECTED] Reported By: ch at bumerang dot ro -Status: Assigned +Status: Feedback Bug Type: Documentation problem Operating System: HPUX PHP Version: Irrelevant Assigned To: philip New Comment: I removed the old HP-AUX install information and linked to your installation tutorial on the subject. It would be most appreciated if you provide a one page "quick guide" summary to include within the manual source. Commit can be seen here: http://cvs.php.net/viewvc.cgi/phpdoc/en/install/unix/hpux.xml?r1=1.1&r2=1.2 Previous Comments: [2006-09-08 15:55:36] [EMAIL PROTECTED] It would be great, please provide a nice summary and we'll link to the full tutorial. Are you still interested in doing this? A plain text file would be fine too, I'll convert it into DocBook form. [2006-02-24 14:04:10] [EMAIL PROTECTED] Patch, diffed against the current xml-file are very welcome. Generic, uptodate, install instructions for HP UX is valuable for the manual. Thanks Friedhelm [2006-02-22 23:02:43] flconseil at yahoo dot fr Yes, The HPWS package from HP is a solution, but I wanted to compile the package by myself because I have several Unix flavors to manage and I want them to have the same software versions, and to be able to regenerate it when I want, instead of waiting for HP. Another reason is that I have tried to get some help from HP, in order to know how they compile their package, and it has proved to be absolutely impossible to get any information. I don't like this kind of behavior. As I discovered later when doing it by myself, because of problems related to the HP-UX OS itself, they practically force most users to depend on their package. It is not my view of Open SOurce philosophy. As most of these big companies, they like to take, but not to give... So, I sent several days compiling a full Apache 2.0 + PHP 5.1.2 package, including every libraries they depend on. This package also includes most Apache modules and PHP extensions (zlib, SSL, LDAP, iconv, expat, xml, xslt, gd, png, Xpm, jpeg, freetype, bzip2, curl, MySQL, PostgreSQL, Oracle, AdoDB). I have also written a complete howto document, describing how to build everything from scratch, from the place to get the source packages, to the way to check that everything works OK. This document is available at : http://flaupretre.free.fr/redir.php?key=build_apa_hpux I am ready to write a 1 or 2 page resume of the document for the PHP documentation page (the full document is about 13 page long), with a link to the full document, for instance. Tell me what you think about it. [2005-05-07 05:00:02] [EMAIL PROTECTED] I believe the "best" method for installing PHP (and Apache) is to go here: http://www.software.hp.com/ And install one of the found packages. Searching for PHP yields several packages, for example: HP-UX Apache-based Web Server v.2.11 powered by Apache, Tomcat, Webmin We should most likely remove all current documentation and simply mention how to install one of these packages. Well, at least until someone who knows HP-UX can add additional information. [2005-04-26 17:41:22] [EMAIL PROTECTED] wk at mailstation dot de, can you please write some notes for current version or at least point us to sources you used? Everlasting honor will be yours :-). The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/23714 -- Edit this bug report at http://bugs.php.net/?id=23714&edit=1
[PHP-DOC] cvs: phpdoc /en/reference/phar fileformat.xml
cellog Mon Jan 29 03:17:36 2007 UTC Modified files: /phpdoc/en/reference/phar fileformat.xml Log: update to include Phar metadata http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/phar/fileformat.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/reference/phar/fileformat.xml diff -u phpdoc/en/reference/phar/fileformat.xml:1.3 phpdoc/en/reference/phar/fileformat.xml:1.4 --- phpdoc/en/reference/phar/fileformat.xml:1.3 Sun Jan 28 21:52:55 2007 +++ phpdoc/en/reference/phar/fileformat.xml Mon Jan 29 03:17:36 2007 @@ -1,5 +1,5 @@ - + Phar file format @@ -107,6 +107,14 @@ Phar alias (length based on previous) + 4 bytes + Length of Phar metadata (0 for none) + + + ?? + Serialized Phar Meta-data, stored in serialize format + + at least 24 * number of entries bytes entries for each file @@ -201,11 +209,11 @@ 4 bytes - Serialized Meta-data length (0 for none) + Serialized File Meta-data length (0 for none) ?? - Serialized Meta-data, stored in serialize format + Serialized File Meta-data, stored in serialize format
[PHP-DOC] cvs: phpdoc /en/install/unix hpux.xml /entities global.ent
philip Mon Jan 29 03:14:06 2007 UTC Modified files: /phpdoc/entitiesglobal.ent /phpdoc/en/install/unix hpux.xml Log: Remove outdated HP-UX install information, and link to external resources. This deals with bug #23714 http://cvs.php.net/viewvc.cgi/phpdoc/entities/global.ent?r1=1.283&r2=1.284&diff_format=u Index: phpdoc/entities/global.ent diff -u phpdoc/entities/global.ent:1.283 phpdoc/entities/global.ent:1.284 --- phpdoc/entities/global.ent:1.283Mon Jan 22 20:47:57 2007 +++ phpdoc/entities/global.ent Mon Jan 29 03:14:05 2007 @@ -1,6 +1,6 @@ - - HP-UX specific installation notes - -This section contains notes and hints specific to installing PHP -on HP-UX systems. (Contributed by paul_mckay at clearwater-it dot co dot -uk). - - - - These tips were written for PHP 4.0.4 and Apache 1.3.9. - - - - - - - You need gzip, download a binary distribution from - http://hpux.connect.org.uk/ftp/hpux/Gnu/gzip-1.2.4a/gzip-1.2.4a-sd-10.20.depot.Z - uncompress the file and install using swinstall. - - - - - You need gcc, download a binary distribution from - http://gatekeep.cs.utah.edu/ftp/hpux/Gnu/gcc-2.95.2/gcc-2.95.2-sd-10.20.depot.gz. - uncompress this file and install gcc using swinstall. - - - - - You need the GNU binutils, you can download a binary distribution from - http://hpux.connect.org.uk/ftp/hpux/Gnu/binutils-2.9.1/binutils-2.9.1-sd-10.20.depot.gz. - uncompress this file and install binutils using swinstall. - - - - - You now need bison, you can download a binary distribution from - http://hpux.connect.org.uk/ftp/hpux/Gnu/bison-1.28/bison-1.28-sd-10.20.depot.gz, - install as above. - - - - - You now need flex, you need to download the source from one of the - http://www.gnu.org mirrors. It is in the non-gnu directory of the ftp - site. Download the file, gunzip, then - tar -xvf it. Go into the newly created flex directory - and run ./configure, followed by - make, and then make install. - - - If you have errors here, it's probably because gcc etc. are not in your - PATH so add them to your PATH. - - - - - Download the PHP and apache sources. - - - - - gunzip and tar -xvf them. We - need to hack a couple of files so that they can compile OK. - - - - - Firstly the configure file needs to be hacked because it seems to lose - track of the fact that you are a hpux machine, there will be a better - way of doing this but a cheap and cheerful hack is to put - lt_target=hpux10.20 on line 47286 of the configure - script. - - - - - Next, the Apache GuessOS file needs to be hacked. Under - apache_1.3.9/src/helpers change line 89 from echo - "hp${HPUXMACH}-hpux${HPUXVER}"; exit 0 to: echo - "hp${HPUXMACH}-hp-hpux${HPUXVER}"; exit 0 - - - - - You cannot install PHP as a shared object under HP-UX so you must - compile it as a static, just follow the instructions at the Apache - page. - - - - - PHP and Apache should have compiled OK, but Apache won't start. you - need to create a new user for Apache, e.g. www, or apache. You then - change lines 252 and 253 of the conf/httpd.conf in - Apache so that instead of - - -User nobody -Group nogroup - - - you have something like - - -User www -Group sys - - - This is because you can't run Apache as nobody under hp-ux. Apache and - PHP should then work. - - - + + + HP-UX specific installation notes + + This section contains notes and hints specific to installing PHP + on HP-UX systems. + + + There are two main options for installing PHP on HP-UX systems. Either + compile it, or install a pre-compiled binary. + + + Official pre-compiled packages are located here: + &url.hp.software; + + + Until this manual section is rewritten, the documentation about compiling + PHP (and related extensions) on HP-UX systems has been removed. For now, + consider reading the following external resource: + Building Apache and PHP on HP-UX 11.11 -
[PHP-DOC] cvs: phpdoc /en/install/macos bundled.xml index.xml
philip Mon Jan 29 02:38:08 2007 UTC Added files: /phpdoc/en/install/macosbundled.xml Modified files: /phpdoc/en/install/macosindex.xml Log: Added a wordy "Installing the bundled version" for Mac OS to the install section. http://cvs.php.net/viewvc.cgi/phpdoc/en/install/macos/index.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/install/macos/index.xml diff -u phpdoc/en/install/macos/index.xml:1.7 phpdoc/en/install/macos/index.xml:1.8 --- phpdoc/en/install/macos/index.xml:1.7 Wed Aug 18 15:56:40 2004 +++ phpdoc/en/install/macos/index.xml Mon Jan 29 02:38:08 2007 @@ -1,5 +1,5 @@ - + Installation on Mac OS X @@ -10,6 +10,7 @@ 9 and earlier versions. &install.macos.packages; + &install.macos.bundled; &install.macos.server; &install.macos.client; http://cvs.php.net/viewvc.cgi/phpdoc/en/install/macos/bundled.xml?view=markup&rev=1.1 Index: phpdoc/en/install/macos/bundled.xml +++ phpdoc/en/install/macos/bundled.xml Using the bundled PHP PHP has come standard with Macs since OS X version 10.0.0. Enabling PHP with the default web server requires uncommenting a few lines in the Apache configuration file httpd.conf whereas the CGI and/or CLI are enabled by default (easily accessible via the Terminal program). Enabling PHP using the instructions below is meant for quickly setting up a local development environment. It's highly recommended to always upgrade PHP to the newest version. Like most live software, newer versions are created to fix bugs and add features and PHP being is no different. See the appropriate MAC OS X installation documentation for further details. The following instructions are geared towards a beginner with details provided for getting a default setup to work. All users are encouraged to compile, or install a new packaged version. The standard installation type is using mod_php, and enabling the bundled mod_php on Mac OS X for the Apache web server (the default web server, that is accessible via System Preferences) involves the following steps: Locate and open the Apache configuration file. By default, the location is as follows: /etc/httpd/httpd.conf Using Finder or Spotlight to find this file may prove difficult as by default it's private and owned by the root user. One way to open this is by using a Unix based text editor in the Terminal, for example nano, and because the file is owned by root we'll use the sudo command to open it (as root) so for example type the following into the Terminal Application (after, it will prompt for a password): sudo nano /etc/httpd/httpd.conf Noteworthy nano commands: ^w (search), ^o (save), and ^x (exit) where ^ represents the Ctrl key. With a text editor, uncomment the lines (by removing the #) that look similar to the following (these two lines are often not together, locate them both in the file): Notice the location/path. When building PHP in the future, the above files should be replaced or commented out. Be sure the desired extensions will parse as PHP (examples: .php .html and .inc) Due to the following statement already existing in httpd.conf (as of Mac Panther), once PHP is enabled the .php files will automatically parse as PHP. Be sure the DirectoryIndex loads the desired default index file This is also set in httpd.conf. Typically index.php and index.html are used. By default index.php is enabled because it's also in the PHP check shown above. Adjust accordingly. Set the &php.ini; location or use the default A typical default location on Mac OS X is /usr/local/php/php.ini and a call to phpinfo will reveal this information. If a &php.ini; is not used, PHP will use all default values. See also the related FAQ on finding php.ini. Locate or set the DocumentRoot This is the root directory for all the web files. Files in this directory are served from the web server so the PHP files will parse as PHP before outputting them to the browser. A typical default path is /Library/WebServer/Documents but this can be set to anything in httpd.conf. Alternatively, the default DocumentRoot for individual users is /Users/yourusername/Sites Create a phpinfo file The phpinfo function will display information about PHP. Consider creating a file in the DocumentRoot with the following PHP code: Restart Apache, and load the PHP file created above
[PHP-DOC] cvs: phpdoc /en/reference/phar fileformat.xml /en/reference/phar/functions Phar-begin.xml Phar-commit.xml Phar-getStub.xml Phar-mapPhar.xml
cellog Sun Jan 28 21:52:56 2007 UTC Modified files: /phpdoc/en/reference/phar fileformat.xml /phpdoc/en/reference/phar/functions Phar-begin.xml Phar-commit.xml Phar-getStub.xml Phar-mapPhar.xml Log: don't encourage \" ?>\" after __HALT_COMPILER(); http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/phar/fileformat.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/phar/fileformat.xml diff -u phpdoc/en/reference/phar/fileformat.xml:1.2 phpdoc/en/reference/phar/fileformat.xml:1.3 --- phpdoc/en/reference/phar/fileformat.xml:1.2 Fri Jan 26 20:59:14 2007 +++ phpdoc/en/reference/phar/fileformat.xml Sun Jan 28 21:52:55 2007 @@ -1,5 +1,5 @@ - + Phar file format @@ -42,7 +42,6 @@ Phar::mapPhar(); include 'phar://myphar.phar/index.php'; __HALT_COMPILER(); -?> ]]> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/phar/functions/Phar-begin.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/phar/functions/Phar-begin.xml diff -u phpdoc/en/reference/phar/functions/Phar-begin.xml:1.1 phpdoc/en/reference/phar/functions/Phar-begin.xml:1.2 --- phpdoc/en/reference/phar/functions/Phar-begin.xml:1.1 Sun Jan 28 20:08:52 2007 +++ phpdoc/en/reference/phar/functions/Phar-begin.xml Sun Jan 28 21:52:56 2007 @@ -1,5 +1,5 @@ - + Phar->begin @@ -68,8 +68,7 @@ } Phar::mapPhar('myphar.phar'); include 'phar://myphar.phar/startup.php'; -__HALT_COMPILER(); -?>"); +__HALT_COMPILER();"); ?> ]]> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/phar/functions/Phar-commit.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/phar/functions/Phar-commit.xml diff -u phpdoc/en/reference/phar/functions/Phar-commit.xml:1.1 phpdoc/en/reference/phar/functions/Phar-commit.xml:1.2 --- phpdoc/en/reference/phar/functions/Phar-commit.xml:1.1 Sun Jan 28 20:08:52 2007 +++ phpdoc/en/reference/phar/functions/Phar-commit.xml Sun Jan 28 21:52:56 2007 @@ -1,5 +1,5 @@ - + Phar->commit @@ -58,8 +58,7 @@ } Phar::mapPhar('brandnewphar.phar'); include 'phar://brandnewphar.phar/startup.php'; -__HALT_COMPILER(); -?>"); +__HALT_COMPILER();"); var_dump($p->getStub()); ?> ]]> @@ -68,15 +67,14 @@ http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/phar/functions/Phar-getStub.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/phar/functions/Phar-getStub.xml diff -u phpdoc/en/reference/phar/functions/Phar-getStub.xml:1.2 phpdoc/en/reference/phar/functions/Phar-getStub.xml:1.3 --- phpdoc/en/reference/phar/functions/Phar-getStub.xml:1.2 Sun Jan 28 20:08:52 2007 +++ phpdoc/en/reference/phar/functions/Phar-getStub.xml Sun Jan 28 21:52:56 2007 @@ -1,5 +1,5 @@ - + Phar->getStub @@ -52,8 +52,7 @@ } Phar::mapPhar('myphar.phar'); include 'phar://myphar.phar/startup.php'; -__HALT_COMPILER(); -?>"); +__HALT_COMPILER();"); echo $p->getStub(); ]]> @@ -70,7 +69,6 @@ Phar::mapPhar('myphar.phar'); include 'phar://myphar.phar/startup.php'; __HALT_COMPILER(); -?> ]]> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/phar/functions/Phar-mapPhar.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/reference/phar/functions/Phar-mapPhar.xml diff -u phpdoc/en/reference/phar/functions/Phar-mapPhar.xml:1.3 phpdoc/en/reference/phar/functions/Phar-mapPhar.xml:1.4 --- phpdoc/en/reference/phar/functions/Phar-mapPhar.xml:1.3 Thu Jan 18 08:49:59 2007 +++ phpdoc/en/reference/phar/functions/Phar-mapPhar.xml Sun Jan 28 21:52:56 2007 @@ -1,5 +1,5 @@ - + Phar::mapPhar @@ -71,7 +71,6 @@ Phar::mapPhar('me.phar'); include 'phar://me.phar/startup.php'; __HALT_COMPILER(); -?> ]]>
[PHP-DOC] cvs: phpdoc /en/reference/phar reference.xml using.xml /en/reference/phar/functions Phar-getMetaData.xml Phar-setMetaData.xml
cellog Sun Jan 28 21:45:44 2007 UTC Added files: /phpdoc/en/reference/phar using.xml /phpdoc/en/reference/phar/functions Phar-getMetaData.xml Phar-setMetaData.xml Modified files: /phpdoc/en/reference/phar reference.xml Log: docs are complete now for phar http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/phar/reference.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/reference/phar/reference.xml diff -u phpdoc/en/reference/phar/reference.xml:1.3 phpdoc/en/reference/phar/reference.xml:1.4 --- phpdoc/en/reference/phar/reference.xml:1.3 Sun Jan 28 05:31:51 2007 +++ phpdoc/en/reference/phar/reference.xml Sun Jan 28 21:45:44 2007 @@ -1,5 +1,5 @@ - + @@ -74,6 +74,7 @@ + &reference.phar.using; &reference.phar.fileformat; &reference.phar.functions; http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/phar/using.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/phar/using.xml +++ phpdoc/en/reference/phar/using.xml Using Phar Archives: Introduction Phar archives are similar in concept to Java JAR archives, but are tailored to the needs and to the flexibility of PHP applications. A Phar archive is used to distribute a complete PHP application or library in a single file. Unlike Java's implementation of JAR archives, no external tool is required to process or run a PHP Phar archive. A Phar archive application is processed exactly like any other PHP application: Using a Phar archive library is identical to using any other PHP library: What makes Phar archives incredibly useful is the phar stream wrapper, which is explained in depth here. Using this stream wrapper, it is possible to access individual files within a phar as if the phar were its own filesystem. The phar stream wrapper supports all read/write operations on files, and opendir on directories. Also provided with the Phar extension is the Phar class, which allows accessing the files of the Phar archive as if it were an associative array, and other functionality. The Phar class is explained here. Using Phar Archives: the phar stream wrapper The Phar stream wrapper fully supports fopen for read, write or append, unlink, stat, fstat, fseek, rename and directory stream operation opendir. The Phar stream wrapper does not support creating or erasing a directory, as files are stored only as files, and the concept of an abstract directory does not exist. Individual file compression and per-file metadata can also be manipulated in a Phar archive using stream contexts: The phar stream wrapper does not operate on remote files, and cannot operate on remote files, and so is allowed even when the allow_url_fopen INI option is disabled. Although it is possible to create phar archives from scratch just using stream operations, it is best to use the functionality built into the Phar class. The stream wrapper is best used for read operations. Using Phar Archives: the Phar class The Phar class supports reading and manipulation of Phar archives, as well as iteration through inherited functionality of the http://www.php.net/~helly/php/ext/spl/classRecursiveDirectoryIterator.html";>RecursiveDirectoryIterator class. With support for the ArrayAccess interface, files inside a Phar archive can be accessed as if they were part of an associative array. Assuming that $p is a Phar object initialized as follows: The following is possible: $a = $p['file.php'] creates a PharFileInfo class that refers to the contents of phar://myphar.phar/file.php $p['file.php'] = $v creates a new file (phar://myphar.phar/file.php), or overwrites an existing file within myphar.phar. $v can be either a string or an open file pointer, in which case the entire contents of the file will be used to create the new file. isset($p['file.php']) can be used to determine whether phar://myphar.phar/file.php exists within myphar.phar. unset($p['file.php']) erases phar://myphar.phar/file.php from myphar.phar. In addition, the Phar object is the only way to access Phar-specific metadata, through Phar->getMetaData, and the only way to set or retrieve a Phar archive's PHP loader stub through Phar->getStub and Phar->commit. Additionally, compression for the entire Phar archive at once can only be manipulated using the Phar class. The full list of Phar object functionality is documented below. The PharFileInfo class extends the http://www.php.net/~helly/php/ext/spl/classSplFileInfo.html";>SplFileInfo class, and adds several methods for manipulating Phar-specific details of a file contained within a Phar, such as
[PHP-DOC] cvs: phpdoc /en/reference/phar/functions Phar-begin.xml Phar-beginWrite.xml Phar-commit.xml Phar-commitWrite.xml Phar-compressAllFilesBZIP2.xml Phar-compressAllFilesGZ.xml Phar-getStub.xml P
cellog Sun Jan 28 20:08:52 2007 UTC Added files: /phpdoc/en/reference/phar/functions Phar-begin.xml Phar-commit.xml Phar-compressAllFilesBZIP2.xml Phar-compressAllFilesGZ.xml Phar-uncompressAllFiles.xml Removed files: /phpdoc/en/reference/phar/functions Phar-beginWrite.xml Phar-commitWrite.xml Modified files: /phpdoc/en/reference/phar/functions Phar-getStub.xml PharFileInfo-setCompressedBZIP2.xml PharFileInfo-setCompressedGZ.xml PharFileInfo-setUncompressed.xml Log: update docs to current cvs http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/phar/functions/Phar-getStub.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/phar/functions/Phar-getStub.xml diff -u phpdoc/en/reference/phar/functions/Phar-getStub.xml:1.1 phpdoc/en/reference/phar/functions/Phar-getStub.xml:1.2 --- phpdoc/en/reference/phar/functions/Phar-getStub.xml:1.1 Sun Jan 28 05:31:52 2007 +++ phpdoc/en/reference/phar/functions/Phar-getStub.xml Sun Jan 28 20:08:52 2007 @@ -1,5 +1,5 @@ - + Phar->getStub @@ -81,8 +81,8 @@ &reftitle.seealso; -Phar->commitWrite -Phar->beginWrite +Phar->commit +Phar->begin http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/phar/functions/PharFileInfo-setCompressedBZIP2.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/phar/functions/PharFileInfo-setCompressedBZIP2.xml diff -u phpdoc/en/reference/phar/functions/PharFileInfo-setCompressedBZIP2.xml:1.1 phpdoc/en/reference/phar/functions/PharFileInfo-setCompressedBZIP2.xml:1.2 --- phpdoc/en/reference/phar/functions/PharFileInfo-setCompressedBZIP2.xml:1.1 Sun Jan 28 05:31:52 2007 +++ phpdoc/en/reference/phar/functions/PharFileInfo-setCompressedBZIP2.xml Sun Jan 28 20:08:52 2007 @@ -1,5 +1,5 @@ - + PharFileInfo->setCompressedBZIP2 @@ -17,7 +17,7 @@ The bzip2 extension must be enabled to take advantage of this feature. In addition, if the file is already compressed using gzip compression, the zlib extension must be enabled in order - to decompress the file As with all functionality that modifies the contents of + to decompress the file. As with all functionality that modifies the contents of a phar, the phar.readonly INI variable must be off in order to succeed. @@ -70,6 +70,7 @@ PharFileInfo->isCompressed PharFileInfo->isCompressedGZ PharFileInfo->isCompressed +Phar->compressAllFilesBZIP2 http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/phar/functions/PharFileInfo-setCompressedGZ.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/phar/functions/PharFileInfo-setCompressedGZ.xml diff -u phpdoc/en/reference/phar/functions/PharFileInfo-setCompressedGZ.xml:1.1 phpdoc/en/reference/phar/functions/PharFileInfo-setCompressedGZ.xml:1.2 --- phpdoc/en/reference/phar/functions/PharFileInfo-setCompressedGZ.xml:1.1 Sun Jan 28 05:31:52 2007 +++ phpdoc/en/reference/phar/functions/PharFileInfo-setCompressedGZ.xml Sun Jan 28 20:08:52 2007 @@ -1,5 +1,5 @@ - + PharFileInfo->setCompressedGZ @@ -70,6 +70,7 @@ PharFileInfo->isCompressed PharFileInfo->isCompressedBZIP2 PharFileInfo->isCompressed +Phar->compressAllFilesGZ http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/phar/functions/PharFileInfo-setUncompressed.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/phar/functions/PharFileInfo-setUncompressed.xml diff -u phpdoc/en/reference/phar/functions/PharFileInfo-setUncompressed.xml:1.1 phpdoc/en/reference/phar/functions/PharFileInfo-setUncompressed.xml:1.2 --- phpdoc/en/reference/phar/functions/PharFileInfo-setUncompressed.xml:1.1 Sun Jan 28 05:31:52 2007 +++ phpdoc/en/reference/phar/functions/PharFileInfo-setUncompressed.xml Sun Jan 28 20:08:52 2007 @@ -1,5 +1,5 @@ - + PharFileInfo->setUncompressed @@ -70,6 +70,7 @@ PharFileInfo->isCompressedBZIP2 PharFileInfo->isCompressedGZ PharFileInfo->isCompressed +Phar->uncompressAllFiles http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/phar/functions/Phar-begin.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/phar/functions/Phar-begin.xml +++ phpdoc/en/reference/phar/functions/Phar-begin.xml Phar->begin Begin a Phar modification transaction &reftitle.description; voidPhar->begin Although technically unnecessary, the begin method can provide a significant performance boost when creating or modifying a Phar archive with a large number of files. Ordinarily, every time a file within a Phar archive is created or modified in any way, the entire Phar archive will be recreated
[PHP-DOC] cvs: phpdoc /en/reference/dom/functions dom-domdocument-save.xml dom-domdocument-savexml.xml
didou Sun Jan 28 18:34:44 2007 UTC Modified files: /phpdoc/en/reference/dom/functions dom-domdocument-save.xml dom-domdocument-savexml.xml Log: Fix protos http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/dom/functions/dom-domdocument-save.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/dom/functions/dom-domdocument-save.xml diff -u phpdoc/en/reference/dom/functions/dom-domdocument-save.xml:1.8 phpdoc/en/reference/dom/functions/dom-domdocument-save.xml:1.9 --- phpdoc/en/reference/dom/functions/dom-domdocument-save.xml:1.8 Thu Sep 8 12:02:24 2005 +++ phpdoc/en/reference/dom/functions/dom-domdocument-save.xml Sun Jan 28 18:34:44 2007 @@ -1,5 +1,5 @@ - + DOMDocument->save() @@ -14,7 +14,7 @@ mixedsave stringfilename -integeroptions +intoptions http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/dom/functions/dom-domdocument-savexml.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/dom/functions/dom-domdocument-savexml.xml diff -u phpdoc/en/reference/dom/functions/dom-domdocument-savexml.xml:1.8 phpdoc/en/reference/dom/functions/dom-domdocument-savexml.xml:1.9 --- phpdoc/en/reference/dom/functions/dom-domdocument-savexml.xml:1.8 Wed Sep 6 20:40:37 2006 +++ phpdoc/en/reference/dom/functions/dom-domdocument-savexml.xml Sun Jan 28 18:34:44 2007 @@ -1,5 +1,5 @@ - + DOMDocument->saveXML() @@ -14,7 +14,7 @@ stringsaveXML DOMNodenode -integeroptions +intoptions
[PHP-DOC] Inproving the Documentation
Personally, I try to follow commits on php.cvs, bug reports, Change Log, user notes on the online manual.. but I still have the feeling of missing a lot of changes. After a year away from the project, I have _no_ clue what was added, when, and whether it was added to our documentation or not. With regard to new features, I've kept the NEWS file up to date (as have most other developers) with these changes and although these entries may not be enough for a 3rd party to decipher into manual entries, I can certainly write up the ones with my name by them when the time comes (see note about PHP6). But that's just a question of features, there's also the "unicode semantics quirks". Some functions which act in a perhaps-unexpected manner when used in unicode-semantics mode. These are going to be more difficult to track down, but I'll make an effort to catalog and document the parts I worked on. I know that you developers are willing to help a lot with it, but that you cannot manage to save the spare time needed to do it the right way. I admit that my additions, personally, in the past year have been left off the documentation radar, but that's due (mostly) to the fact that these additions have been to PHP6 and (as with PHP5) the lead time on any release is too long to start advertising features in the manual that don't exist (from the perspective of the end user). Where is the documentation team at with regards to when they feel PHP6 features should start appearing in the manual? That's why I would like to propose a simple/small/timeless change in your CVS commit messages: If you feel that the change need to be documented, place the @doc keyword at the end of your message log entry. I like that idea. It's a nice clear, consistent flag saying "look here!". I'll use this from now on. This small @doc tag could _slightly_ improve/optimize/sanitize our work on the documentation. By adding some SQL logging in loginfo.pl, and storing the following: * date: commit date * login: CVS account of the developer * branch: CVS branch * files: Changed files * commit: Commit message before @doc * desc : Optional developer description after @doc We would be able to have an interface displaying a dynamic phpdoc TODO, with some nice features like a search by PHP version, extension, assignee, keywords.. Sounds sexy... Additionally, we can imagine adding an online help feature on the interface, by setting a �help� flag on some hardly understandable change, to have [EMAIL PROTECTED] notified of our need for enlightenment. Well, this sounds like it's more suitable for a manual process, but however you'd like... -Sara
[PHP-DOC] cvs: phpdoc /scripts xml_proto.php
philip Sun Jan 28 17:27:35 2007 UTC Modified files: /phpdoc/scripts xml_proto.php Log: extension filenames, directories, and ids should be lowercased http://cvs.php.net/viewvc.cgi/phpdoc/scripts/xml_proto.php?r1=1.47&r2=1.48&diff_format=u Index: phpdoc/scripts/xml_proto.php diff -u phpdoc/scripts/xml_proto.php:1.47 phpdoc/scripts/xml_proto.php:1.48 --- phpdoc/scripts/xml_proto.php:1.47 Tue Sep 5 15:06:06 2006 +++ phpdoc/scripts/xml_proto.phpSun Jan 28 17:27:34 2007 @@ -16,7 +16,7 @@ | Authors: Brad House <[EMAIL PROTECTED]> | +--+ - $Id: xml_proto.php,v 1.47 2006/09/05 15:06:06 philip Exp $ + $Id: xml_proto.php,v 1.48 2007/01/28 17:27:34 philip Exp $ */ /* @@ -71,7 +71,7 @@ $name = strtr($name, $replace); $name = strtr($name, array('---' => '-')); - return $name; + return strtolower($name); } function function_add_name($num, $name)
[PHP-DOC] cvs: phpdoc /en/install pecl.xml
didou Sun Jan 28 17:26:57 2007 UTC Modified files: /phpdoc/en/install pecl.xml Log: Link to http://pecl4win.php.net/ # User note http://cvs.php.net/viewvc.cgi/phpdoc/en/install/pecl.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc/en/install/pecl.xml diff -u phpdoc/en/install/pecl.xml:1.13 phpdoc/en/install/pecl.xml:1.14 --- phpdoc/en/install/pecl.xml:1.13 Thu Oct 19 21:09:02 2006 +++ phpdoc/en/install/pecl.xml Sun Jan 28 17:26:57 2007 @@ -1,5 +1,5 @@ - + Installation of PECL extensions @@ -87,9 +87,10 @@ Windows users may find compiled PECL binaries by downloading the Collection of PECL modules from the - PHP Downloads page, and by - retrieving a PECL Snapshot. To - compile PHP under Windows, read the + PHP Downloads page, or by + retrieving a PECL Snapshot + or an extension DLL on PECL4WIN. + To compile PHP under Windows, read the appropriate chapter.
[PHP-DOC] #40264 [Opn->Csd]: problem pcntl sample code
ID: 40264 Updated by: [EMAIL PROTECTED] Reported By: cocoiti at comio dot info -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: all PHP Version: Irrelevant New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: [2007-01-28 16:04:06] cocoiti at comio dot info Description: There is a problem in the sample code of this URL. http://www.php.net/manual/en/ref.pcntl.php Pcntl_signal is not executed because there is "while". Please change as follows. Reproduce code: --- -- Edit this bug report at http://bugs.php.net/?id=40264&edit=1
[PHP-DOC] cvs: phpdoc /en/reference/pcntl reference.xml
didou Sun Jan 28 16:52:48 2007 UTC Modified files: /phpdoc/en/reference/pcntl reference.xml Log: Fix #40264: pcntl_signal() not executed in the example http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/pcntl/reference.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc/en/reference/pcntl/reference.xml diff -u phpdoc/en/reference/pcntl/reference.xml:1.10 phpdoc/en/reference/pcntl/reference.xml:1.11 --- phpdoc/en/reference/pcntl/reference.xml:1.10Sun Sep 4 19:39:23 2005 +++ phpdoc/en/reference/pcntl/reference.xml Sun Jan 28 16:52:48 2007 @@ -1,5 +1,5 @@ - + @@ -91,6 +91,10 @@ die("could not detach from terminal"); } +// setup signal handlers +pcntl_signal(SIGTERM, "sig_handler"); +pcntl_signal(SIGHUP, "sig_handler"); + // loop forever performing tasks while (1) { @@ -115,10 +119,6 @@ } -// setup signal handlers -pcntl_signal(SIGTERM, "sig_handler"); -pcntl_signal(SIGHUP, "sig_handler"); - ?> ]]>
[PHP-DOC] cvs: phpdoc /en/reference/curl/functions curl-multi-info-read.xml /en/reference/info/functions memory-get-peak-usage.xml memory-get-usage.xml /en/reference/mbstring/functions mb-encode-mim
didou Sun Jan 28 16:49:31 2007 UTC Modified files: /phpdoc/en/reference/soap constants.xml /phpdoc/en/reference/curl/functions curl-multi-info-read.xml /phpdoc/en/reference/mbstring/functions mb-encode-mimeheader.xml /phpdoc/en/reference/info/functions memory-get-peak-usage.xml memory-get-usage.xml /phpdoc/en/reference/openssl/functions openssl-csr-get-public-key.xml openssl-csr-get-subject.xml openssl-pkcs7-verify.xml /phpdoc/en/reference/xmlreader/functionsxmlreader-open.xml xmlreader-xml.xml Log: Document missing PHP 5 additions http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/soap/constants.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/reference/soap/constants.xml diff -u phpdoc/en/reference/soap/constants.xml:1.3 phpdoc/en/reference/soap/constants.xml:1.4 --- phpdoc/en/reference/soap/constants.xml:1.3 Sun Sep 25 09:48:20 2005 +++ phpdoc/en/reference/soap/constants.xml Sun Jan 28 16:49:30 2007 @@ -1,5 +1,5 @@ - + &reftitle.constants; @@ -172,6 +172,17 @@ +SOAP_WAIT_ONE_WAY_CALLS + (integer) + + + + Added in PHP 5.1.0. + + + + + UNKNOWN_TYPE (integer) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/curl/functions/curl-multi-info-read.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/reference/curl/functions/curl-multi-info-read.xml diff -u phpdoc/en/reference/curl/functions/curl-multi-info-read.xml:1.3 phpdoc/en/reference/curl/functions/curl-multi-info-read.xml:1.4 --- phpdoc/en/reference/curl/functions/curl-multi-info-read.xml:1.3 Wed Jan 17 00:14:52 2007 +++ phpdoc/en/reference/curl/functions/curl-multi-info-read.xml Sun Jan 28 16:49:30 2007 @@ -1,5 +1,5 @@ - + curl_multi_info_read @@ -11,6 +11,7 @@ arraycurl_multi_info_read resourcemh + intmsgs_in_queue &warn.undocumented.func; @@ -25,7 +26,31 @@ - + + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 5.2.0 + +msgs_in_queue was added. + + + + + + + + &reftitle.seealso; http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/mbstring/functions/mb-encode-mimeheader.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/reference/mbstring/functions/mb-encode-mimeheader.xml diff -u phpdoc/en/reference/mbstring/functions/mb-encode-mimeheader.xml:1.7 phpdoc/en/reference/mbstring/functions/mb-encode-mimeheader.xml:1.8 --- phpdoc/en/reference/mbstring/functions/mb-encode-mimeheader.xml:1.7 Thu Jul 20 10:53:57 2006 +++ phpdoc/en/reference/mbstring/functions/mb-encode-mimeheader.xml Sun Jan 28 16:49:30 2007 @@ -1,5 +1,5 @@ - + @@ -14,6 +14,7 @@ stringcharset stringtransfer_encoding stringlinefeed + stringindent mb_encode_mimeheader encodes a given string @@ -63,6 +64,9 @@ + The indent was added as of PHP 5. + + See also mb_decode_mimeheader. http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/info/functions/memory-get-peak-usage.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/info/functions/memory-get-peak-usage.xml diff -u phpdoc/en/reference/info/functions/memory-get-peak-usage.xml:1.2 phpdoc/en/reference/info/functions/memory-get-peak-usage.xml:1.3 --- phpdoc/en/reference/info/functions/memory-get-peak-usage.xml:1.2Tue Jun 6 11:50:45 2006 +++ phpdoc/en/reference/info/functions/memory-get-peak-usage.xmlSun Jan 28 16:49:30 2007 @@ -1,5 +1,5 @@ - + memory_get_peak_usage @@ -10,7 +10,7 @@ &reftitle.description; intmemory_get_peak_usage - + boolreal_usage Returns the peak of memory, in bytes, that's been allocated to your PHP @@ -21,6 +21,9 @@ is compiled with the --enable-memory-limit configuration option. + + real_usage was added as of PHP 5.2.0. + http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/info/functions/memory-get-usage.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc/en/reference/info/functions/memory-get-usage.xml diff -u phpdoc/en/reference/info/functions/memory-get-usage.xml:1.3 phpdoc/en/reference/info/functions/memory-get-usage.xml:1.4 --- phpdoc/en/reference/info/functions/memory-get-usage.xml:1.3 Tue Jun 6 11:31:44 2006 +++ phpdoc/en/reference/info/functions/memory-get-usage.xml Sun Jan 28 16:49:30 2007 @@ -1,5 +1,5 @@ - + memory_get_usage @@ -9,7 +9,7 @@ Description intmemory_get_usage - + boolreal_usage Returns the amount of memory, in bytes, that's currently being @@ -21,6 +21,9 @@ configuration op
[PHP-DOC] #40264 [NEW]: problem pcntl sample code
From: cocoiti at comio dot info Operating system: all PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: problem pcntl sample code Description: There is a problem in the sample code of this URL. http://www.php.net/manual/en/ref.pcntl.php Pcntl_signal is not executed because there is "while". Please change as follows. Reproduce code: --- -- Edit bug report at http://bugs.php.net/?id=40264&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40264&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40264&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40264&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=40264&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=40264&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=40264&r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=40264&r=needscript Try newer version:http://bugs.php.net/fix.php?id=40264&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=40264&r=support Expected behavior:http://bugs.php.net/fix.php?id=40264&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=40264&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=40264&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=40264&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40264&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=40264&r=dst IIS Stability:http://bugs.php.net/fix.php?id=40264&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=40264&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=40264&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=40264&r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=40264&r=mysqlcfg
[PHP-DOC] #40263 [Bgs]: Can't set associativity for variable member access.
ID: 40263 Updated by: [EMAIL PROTECTED] Reported By: jbailey at raspberryginger dot com Status: Bogus Bug Type: Documentation problem Operating System: Linux PHP Version: Irrelevant New Comment: http://php.net/manual/en/language.types.string.php#language.types.string.parsing.complex Previous Comments: [2007-01-28 16:00:40] [EMAIL PROTECTED] echo $a->{$b->a} [2007-01-28 15:51:31] jbailey at raspberryginger dot com Description: There is no way of doing $a->$b->a where I really want $a->($b->a) Reproduce code: --- class a {} class b {} $a = new a(); $b = new b(); $a->foo = "foo"; $a->bar = "bar"; $b->a = "foo"; $b->b = "bar"; $temp=$b->a; echo $a->$temp; echo $a->($b->a); Expected result: The lines: echo $a->$temp; echo $a->($b->a); should each output the same thing. Actual result: -- Parse error: syntax error, unexpected '(', expecting T_STRING or T_VARIABLE or '{' or '$' in /tmp/test.php on line 18 -- Edit this bug report at http://bugs.php.net/?id=40263&edit=1
[PHP-DOC] #40263 [Opn->Bgs]: Can't set associativity for variable member access.
ID: 40263 Updated by: [EMAIL PROTECTED] Reported By: jbailey at raspberryginger dot com -Status: Open +Status: Bogus Bug Type: Documentation problem Operating System: Linux PHP Version: Irrelevant New Comment: echo $a->{$b->a} Previous Comments: [2007-01-28 15:51:31] jbailey at raspberryginger dot com Description: There is no way of doing $a->$b->a where I really want $a->($b->a) Reproduce code: --- class a {} class b {} $a = new a(); $b = new b(); $a->foo = "foo"; $a->bar = "bar"; $b->a = "foo"; $b->b = "bar"; $temp=$b->a; echo $a->$temp; echo $a->($b->a); Expected result: The lines: echo $a->$temp; echo $a->($b->a); should each output the same thing. Actual result: -- Parse error: syntax error, unexpected '(', expecting T_STRING or T_VARIABLE or '{' or '$' in /tmp/test.php on line 18 -- Edit this bug report at http://bugs.php.net/?id=40263&edit=1
[PHP-DOC] #40263 [NEW]: Can't set associativity for variable member access.
From: jbailey at raspberryginger dot com Operating system: Linux PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Can't set associativity for variable member access. Description: There is no way of doing $a->$b->a where I really want $a->($b->a) Reproduce code: --- class a {} class b {} $a = new a(); $b = new b(); $a->foo = "foo"; $a->bar = "bar"; $b->a = "foo"; $b->b = "bar"; $temp=$b->a; echo $a->$temp; echo $a->($b->a); Expected result: The lines: echo $a->$temp; echo $a->($b->a); should each output the same thing. Actual result: -- Parse error: syntax error, unexpected '(', expecting T_STRING or T_VARIABLE or '{' or '$' in /tmp/test.php on line 18 -- Edit bug report at http://bugs.php.net/?id=40263&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=40263&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=40263&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=40263&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=40263&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=40263&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=40263&r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=40263&r=needscript Try newer version:http://bugs.php.net/fix.php?id=40263&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=40263&r=support Expected behavior:http://bugs.php.net/fix.php?id=40263&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=40263&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=40263&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=40263&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=40263&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=40263&r=dst IIS Stability:http://bugs.php.net/fix.php?id=40263&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=40263&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=40263&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=40263&r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=40263&r=mysqlcfg
[PHP-DOC] Notes Status, 16794 total
Following are the top 20 pages of the manual, sorted by the number of user notes contributed. These sections could use a polish, those notes represent 8.8% of the 16794 total user notes. Notes | Page ---+- 102 | http://php.net/manual/en/function.header.php 91 | http://php.net/manual/en/ref.session.php 90 | http://php.net/manual/en/function.strtotime.php 88 | http://php.net/manual/en/reserved.variables.php 82 | http://php.net/manual/en/function.preg-match.php 80 | http://php.net/manual/en/ref.image.php 79 | http://php.net/manual/en/features.file-upload.php 78 | http://php.net/manual/en/function.mssql-connect.php 77 | http://php.net/manual/en/function.fsockopen.php 74 | http://php.net/manual/en/function.readdir.php 73 | http://php.net/manual/en/function.array-search.php 67 | http://php.net/manual/en/function.fgetcsv.php 65 | http://php.net/manual/en/function.preg-replace.php 65 | http://php.net/manual/en/ref.com.php 63 | http://php.net/manual/en/function.strpos.php 62 | http://php.net/manual/en/ref.curl.php 62 | http://php.net/manual/en/function.in-array.php 61 | http://php.net/manual/en/ref.array.php 61 | http://php.net/manual/en/function.rand.php 60 | http://php.net/manual/en/control-structures.foreach.php
[PHP-DOC] cvs: phpdoc /en/reference/image/functions imagecreatefromgif.xml
yannick Sun Jan 28 10:39:46 2007 UTC Modified files: /phpdoc/en/reference/image/functionsimagecreatefromgif.xml Log: typo http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imagecreatefromgif.xml?r1=1.16&r2=1.17&diff_format=u Index: phpdoc/en/reference/image/functions/imagecreatefromgif.xml diff -u phpdoc/en/reference/image/functions/imagecreatefromgif.xml:1.16 phpdoc/en/reference/image/functions/imagecreatefromgif.xml:1.17 --- phpdoc/en/reference/image/functions/imagecreatefromgif.xml:1.16 Fri Jan 19 19:49:07 2007 +++ phpdoc/en/reference/image/functions/imagecreatefromgif.xml Sun Jan 28 10:39:46 2007 @@ -1,5 +1,5 @@ - + imagecreatefromgif @@ -57,7 +57,7 @@ filename - Path to the WBMP image + Path to the GIF image