[PHP-DOC] Re: Grouped functions working in livedocs
Now this is another reason to use (and work on soon switching to) livedocs. Goba, what else should i do to push the simple utf-8 patch (http://phpil.net/patchs/livedocs-utf8.patch.txt)? The only annoyed thing with livedocs is the impossible patching process. -- Moshe Goba
[PHP-DOC] cvs: phpdoc /en/reference/pspell/functions pspell-config-ignore.xml
daveFri Sep 3 02:12:46 2004 EDT Modified files: /phpdoc/en/reference/pspell/functions pspell-config-ignore.xml Log: - Typos, add parameter tag. http://cvs.php.net/diff.php/phpdoc/en/reference/pspell/functions/pspell-config-ignore.xml?r1=1.4r2=1.5ty=u Index: phpdoc/en/reference/pspell/functions/pspell-config-ignore.xml diff -u phpdoc/en/reference/pspell/functions/pspell-config-ignore.xml:1.4 phpdoc/en/reference/pspell/functions/pspell-config-ignore.xml:1.5 --- phpdoc/en/reference/pspell/functions/pspell-config-ignore.xml:1.4 Mon Dec 15 11:52:56 2003 +++ phpdoc/en/reference/pspell/functions/pspell-config-ignore.xml Fri Sep 3 02:12:46 2004 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.4 $ -- +!-- $Revision: 1.5 $ -- !-- splitted from ./en/functions/pspell.xml, last change in rev 1.6 -- refentry id=function.pspell-config-ignore refnamediv @@ -16,8 +16,8 @@ simpara functionpspell_config_ignore/function should be used on a config before calling functionpspell_new_config/function. This function - allows short words to be skipped by the spellchecker. Words less then - n characters will be skipped. + allows short words to be skipped by the spell checker. Words less than + parametern/parameter characters will be skipped. /simpara para example
[PHP-DOC] #29960 [Opn]: DirectoryIterator::fileType
ID: 29960 Updated by: [EMAIL PROTECTED] Reported By: asgarbutt at ucdavis dot edu Status: Open -Bug Type: *Directory/Filesystem functions +Bug Type: Documentation problem -Operating System: Windows XP Professional SP 2 +Operating System: * PHP Version: 5.0.1 New Comment: DirectoryIterator has no file*() functions Previous Comments: [2004-09-03 00:37:46] asgarbutt at ucdavis dot edu Found a better link to the SPL. It is still not complete, but it is much more thorough that the documentation provided on http://www.php.net/manual/en/function.directoryiterator-filetype.php It can be found here at : http://www.php.net/~helly/php/ext/spl/index.html Sorry about the bug post. [2004-09-03 00:27:08] asgarbutt at ucdavis dot edu In my description, i wrote the wrong quote. It should be ... Fatal error: Call to undefined method DirectoryIterator::fileType() in C:\Apache2\htdocs\imagearchive\test.php on line 40 as stated in the Actual result section. [2004-09-03 00:15:34] asgarbutt at ucdavis dot edu Description: When utilizing the new DirectoryIterator of PHP5 (5.0.1) I get the following message. Fatal error: Call to undefined method DirectoryIterator::fileExt() in C:\Apache2\htdocs\imagearchive\test.php on line 40 The function is listed in the documentation but only minimumly. Reproduce code: --- $sPath = 'C:\Apache2\htdocs' foreach (new DirectoryIterator($sPath) as $oFile) { if ($oFile-isFile()) { echo 'isFile = '.$oFile-isFile().'br /'; echo 'getFilename = '.$oFile-getFilename().'br /'; echo 'fileType = '.$oFile-fileType().'br /'; } } Expected result: isFile = 1 getFilename = apache_pb.gif fileType = .gif (or something similar) Actual result: -- isFile = 1 getFilename = apache_pb.gif Fatal error: Call to undefined method DirectoryIterator::fileType() in C:\Apache2\htdocs\imagearchive\test.php on line 40 -- Edit this bug report at http://bugs.php.net/?id=29960edit=1
Re: [PHP-DOC] Grouped functions working in livedocs
On Thu, 2 Sep 2004, Gabor Hojtsy wrote: Now it would be nice to discuss two things: - whether these categories are fine - whether the reference sections are categorized in the right places or not After we finalize the categorization, we can put the category names to entities, so they will work with translated manuals too. I actually think that this grouping doesn't really help as it's pretty hard to find documentation by extension now as they are no longer sorted alphabetically. Now people first need to find the correct category and *then* the correct extension. I think this new categorization thing only makes things worse. Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org
[PHP-DOC] cvs: livedocs / mkindex.php xml_classes5.php /themes/default html_format.php /themes/php.net html_format.php /themes/smarty html_format.php
derick Fri Sep 3 02:48:44 2004 EDT Modified files: /livedocs mkindex.php xml_classes5.php /livedocs/themes/defaulthtml_format.php /livedocs/themes/php.nethtml_format.php /livedocs/themes/smarty html_format.php Log: - Added UTF8 patch by Moshe. http://cvs.php.net/diff.php/livedocs/mkindex.php?r1=1.36r2=1.37ty=u Index: livedocs/mkindex.php diff -u livedocs/mkindex.php:1.36 livedocs/mkindex.php:1.37 --- livedocs/mkindex.php:1.36 Sat Aug 14 17:34:05 2004 +++ livedocs/mkindex.phpFri Sep 3 02:48:44 2004 @@ -19,7 +19,7 @@ // | construct an index | // +--+ // -// $Id: mkindex.php,v 1.36 2004/08/14 21:34:05 iliaa Exp $ +// $Id: mkindex.php,v 1.37 2004/09/03 06:48:44 derick Exp $ /* just to be on the safe side */ @@ -170,7 +170,7 @@ echo Parsing file ID $fileid\n; } - $parser = xml_parser_create(); + $parser = xml_parser_create(UTF-8); $p = new DocBookXMLFileParser($filename, $rel, $parser); xml_parser_free($parser); http://cvs.php.net/diff.php/livedocs/xml_classes5.php?r1=1.9r2=1.10ty=u Index: livedocs/xml_classes5.php diff -u livedocs/xml_classes5.php:1.9 livedocs/xml_classes5.php:1.10 --- livedocs/xml_classes5.php:1.9 Thu May 27 17:34:36 2004 +++ livedocs/xml_classes5.php Fri Sep 3 02:48:44 2004 @@ -19,7 +19,7 @@ // | PHP 5 style | // +--+ // -// $Id: xml_classes5.php,v 1.9 2004/05/27 21:34:36 iliaa Exp $ +// $Id: xml_classes5.php,v 1.10 2004/09/03 06:48:44 derick Exp $ class Node { /* {{{ */ @@ -239,7 +239,7 @@ return; } - $p = xml_parser_create(); + $p = xml_parser_create(UTF-8); xml_set_object($p, $this); xml_parser_set_option($p, XML_OPTION_CASE_FOLDING, 0); xml_set_element_handler($p, 'start_elem', 'end_elem'); http://cvs.php.net/diff.php/livedocs/themes/default/html_format.php?r1=1.13r2=1.14ty=u Index: livedocs/themes/default/html_format.php diff -u livedocs/themes/default/html_format.php:1.13 livedocs/themes/default/html_format.php:1.14 --- livedocs/themes/default/html_format.php:1.13Thu Sep 2 14:46:46 2004 +++ livedocs/themes/default/html_format.php Fri Sep 3 02:48:44 2004 @@ -18,21 +18,20 @@ // | headers and footers for the HTML rendering | // +--+ // -// $Id: html_format.php,v 1.13 2004/09/02 18:46:46 goba Exp $ +// $Id: html_format.php,v 1.14 2004/09/03 06:48:44 derick Exp $ // in livedoc.php function manual_page_header() { global $lang, $title, $css_url; - $charset = CHARSET; $dir = RTL; $head =HEAD -?xml version=1.0 encoding=$charset? +?xml version=1.0 encoding=UTF-8? !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html lang=$lang xmlns=http://www.w3.org/1999/xhtml; xml:lang=$lang head -meta http-equiv=Content-Type content=text/html; charset=$charset/ +meta http-equiv=Content-Type content=text/html; charset=UTF-8/ title$title/title link rel=stylesheet href=$css_url type=text/css/ /head http://cvs.php.net/diff.php/livedocs/themes/php.net/html_format.php?r1=1.11r2=1.12ty=u Index: livedocs/themes/php.net/html_format.php diff -u livedocs/themes/php.net/html_format.php:1.11 livedocs/themes/php.net/html_format.php:1.12 --- livedocs/themes/php.net/html_format.php:1.11Sun May 23 04:58:01 2004 +++ livedocs/themes/php.net/html_format.php Fri Sep 3 02:48:44 2004 @@ -18,7 +18,7 @@ // | headers and footers for the HTML rendering | // +--+ // -// $Id: html_format.php,v 1.11 2004/05/23 08:58:01 wez Exp $ +// $Id: html_format.php,v 1.12 2004/09/03 06:48:44 derick Exp $ // in livedoc.php define( @@ -30,14 +30,13 @@ function manual_page_header() { global $lang, $title, $css_url, $nav; - $charset = CHARSET; $dir = RTL; $head =HEAD !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN http://www.w3.org/TR/html4/loose.dtd; html lang=$lang head -meta http-equiv=Content-Type content=text/html; charset=$charset/ +meta http-equiv=Content-Type content=text/html; charset=UTF-8/ titlePHP: $title - Manual/title link rel=stylesheet href=/style.css / link rel=stylesheet href=/styles/mirror.css / http://cvs.php.net/diff.php/livedocs/themes/smarty/html_format.php?r1=1.3r2=1.4ty=u Index: livedocs/themes/smarty/html_format.php diff -u livedocs/themes/smarty/html_format.php:1.3 livedocs/themes/smarty/html_format.php:1.4 ---
Re: [PHP-DOC] Re: Grouped functions working in livedocs
On Fri, 3 Sep 2004, moshe doron wrote: Now this is another reason to use (and work on soon switching to) livedocs. Goba, what else should i do to push the simple utf-8 patch (http://phpil.net/patchs/livedocs-utf8.patch.txt)? The only annoyed thing with livedocs is the impossible patching process. What annoys me is that people don't have patience. Derick
[PHP-DOC] #29964 [NEW]: php.net/php5 should point somewhere into the documentation
From: [EMAIL PROTECTED] Operating system: PHP version: 5.0.0 PHP Bug Type: Documentation problem Bug description: php.net/php5 should point somewhere into the documentation Description: It would be a nice feature to have http://php.net/php5 point to e.g. http://php.net/manual/en/language.oop5.php , currently it comes up with a useless search result. -- Edit bug report at http://bugs.php.net/?id=29964edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29964r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=29964r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=29964r=trysnapshot51 Fixed in CVS:http://bugs.php.net/fix.php?id=29964r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=29964r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29964r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29964r=needscript Try newer version: http://bugs.php.net/fix.php?id=29964r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29964r=support Expected behavior: http://bugs.php.net/fix.php?id=29964r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29964r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29964r=submittedtwice register_globals:http://bugs.php.net/fix.php?id=29964r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29964r=php3 Daylight Savings:http://bugs.php.net/fix.php?id=29964r=dst IIS Stability: http://bugs.php.net/fix.php?id=29964r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29964r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29964r=float
[PHP-DOC] cvs: phpdoc /howto generating.xml
daveFri Sep 3 04:09:48 2004 EDT Modified files: /phpdoc/howto generating.xml Log: - Typos in howto, document how much longer xmllint takes (on average). http://cvs.php.net/diff.php/phpdoc/howto/generating.xml?r1=1.15r2=1.16ty=u Index: phpdoc/howto/generating.xml diff -u phpdoc/howto/generating.xml:1.15 phpdoc/howto/generating.xml:1.16 --- phpdoc/howto/generating.xml:1.15Wed Aug 4 20:10:13 2004 +++ phpdoc/howto/generating.xml Fri Sep 3 04:09:46 2004 @@ -7,12 +7,12 @@ An important part of making contributions to the PHP documentation is being able to validate your changes and to be able to see what they will look like in their various forms, whether that is in - HTML, Adobe PDF, RTF or other format. + HTML, Adobe PDF, RTF or other formats. /para para The filenameMakefile/filename controls serveral aspects - of how documentation is validated and created. To generate a + of how the documentation is validated and created. To generate a filenameMakefile/filename from a fresh checkout, commandcd/command to the filenamephpdoc/filename directory and issue the following commands: @@ -111,9 +111,10 @@ para In order to check the validity of your XML you may use literalmake test_xml/literal as this executes a - filenamexmllint/filename check on the entire phpdoc tree. This - will find problems 'make test' ignores, problems like a missing ; or - amp; for an entity. This will take a long time execute. + commandxmllint/command check on the entire phpdoc tree. This + will find problems commandmake test/command' ignores, problems like a + missing ; or amp; for an entity. commandxmllint/command is much + slower than the SGML check and will take roughly 4 times longer to execute. /para para informalexample @@ -125,8 +126,10 @@ /para para Or to simply check the XML validity of one file you may use the - filenamexml-check.php/filename script that's found in the phpdoc - filenamescripts//filename directory, and use it like so: + filenamexml-check.php/filename script found in the phpdoc + filenamescripts//filename directory. This is much faster than + commandmake test/command or commandmake test_xml/command if you + have only modified one file. Use it like so: informalexample programlisting $ scripts/xml-check.php en/reference/mysql/functions/mysql-connect.xml @@ -134,18 +137,18 @@ /informalexample /para para - It is important to do a test before commiting, because if you + It is important to do a test before committing, because if you commit files with errors, this single file will cause the automatic build process to halt, and the manual files and downloads - wont be updated online. This can make phpdoc people angry. + will not be updated online. This can make phpdoc people angry. /para note titleWhen adding a new file/title para If you're adding a new file be sure to run -literal./configure/literal again before literalmake test/literal -so that your new file will also be checked. +command./configure/command again before commandmake test/command +so that your new file will also be checked for validity. /para /note @@ -178,8 +181,8 @@ /listitem listitem para - literalpdf/literal, a PDF version of the manual found at ulink - url=url.php.manual.pdf;url.php.manual.pdf;/ulink + literalpdf/literal, a PDF version of the manual, currently not + available online /para /listitem listitem
Re: [PHP-DOC] cvs: phpdoc /en/functions apache.xml array.xml aspell.xml bc.xml bzip2.xml calendar.xml ccvs.xml classobj.xml com.xml cpdf.xml crack.xml ctype.xml curl.xml cybercash.xml cybermut.xml cyrus.xml datetime.xml dba.xml dbase.xml dbm.xml dbplus.xml dbx.xml dio.xml dir.xml domxml.xml dotnet.xml errorfunc.xml exec.xml fbsql.xml fdf.xml filepro.xml filesystem.xml fribidi.xml ftp.xml funchand.xml gettext.xml gmp.xml http.xml hw.xml hwapi.xml ibase.xml icap.xml iconv.xml ifx.xml iisfunc.xml image.xml imap.xml info.xml ingres_ii.xml ircg.xml java.xml ldap.xml mail.xml mailparse.xml math.xml mbstring.xml mcal.xml mcrypt.xml mcve.xml mhash.xml ming.xml misc.xml mnogosearch.xml msession.xml msql.xml mssql.xml muscat.xml mysql.xml ncurses.xml network.xml nis.xml notes.xml oci8.xml openssl.xml oracle.xml outcontrol.xml overload.xml ovrimos.xml pcntl.xml pcre.xml pdf.xml pfpro.xml pgsql.xml posix.xml printer.xml pspell.xml qtdom.xml readline.xml recode.xml regex.xml sem.xml sesam.xml session.xml shmop.xml snmp.xml sockets.xml strings.xml swf.xml sybase.xml uodbc.xml url.xml var.xml vpopmail.xml w32api.xml wddx.xml xml.xml xmlrpc.xml xslt.xml yaz.xml zip.xml zlib.xml
||*()*||[\..konnichi wa, ogenki desu ka, Gabor../] GH Log: GH remove functions folder, since this is two years old, and no translation needs this to get updated Update HOWTO also? -- //Old Rusty Cans Killers [ORCK]: //technically yours, techtonik howto.working.patch Description: Binary data
[PHP-DOC] cvs: phpdoc /howto generating.xml
daveFri Sep 3 04:15:52 2004 EDT Modified files: /phpdoc/howto generating.xml Log: - Typo. http://cvs.php.net/diff.php/phpdoc/howto/generating.xml?r1=1.16r2=1.17ty=u Index: phpdoc/howto/generating.xml diff -u phpdoc/howto/generating.xml:1.16 phpdoc/howto/generating.xml:1.17 --- phpdoc/howto/generating.xml:1.16Fri Sep 3 04:09:46 2004 +++ phpdoc/howto/generating.xml Fri Sep 3 04:15:50 2004 @@ -112,7 +112,7 @@ In order to check the validity of your XML you may use literalmake test_xml/literal as this executes a commandxmllint/command check on the entire phpdoc tree. This - will find problems commandmake test/command' ignores, problems like a + will find problems commandmake test/command ignores, problems like a missing ; or amp; for an entity. commandxmllint/command is much slower than the SGML check and will take roughly 4 times longer to execute. /para
[PHP-DOC] #29967 [NEW]: call_user_func_array can't be used as function parameter
From: [EMAIL PROTECTED] Operating system: PHP version: 5.0.1 PHP Bug Type: Documentation problem Bug description: call_user_func_array can't be used as function parameter Description: It should be mentioned on the documentation page that func_get_args() can't be used as a function parameter directly, e.g.: $ret = call_user_func_array('mysql_connect', func_get_args()); -- Edit bug report at http://bugs.php.net/?id=29967edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29967r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=29967r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=29967r=trysnapshot51 Fixed in CVS:http://bugs.php.net/fix.php?id=29967r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=29967r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29967r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29967r=needscript Try newer version: http://bugs.php.net/fix.php?id=29967r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29967r=support Expected behavior: http://bugs.php.net/fix.php?id=29967r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29967r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29967r=submittedtwice register_globals:http://bugs.php.net/fix.php?id=29967r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29967r=php3 Daylight Savings:http://bugs.php.net/fix.php?id=29967r=dst IIS Stability: http://bugs.php.net/fix.php?id=29967r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29967r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29967r=float
[PHP-DOC] #29967 [Opn]: call_user_func_array can't be used as function parameter
ID: 29967 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type:Documentation problem PHP Version: 5.0.1 New Comment: I forgot: it would be nice to know why this doesn't work, e.g. whats the rational behind it. Thanks Previous Comments: [2004-09-03 10:31:51] [EMAIL PROTECTED] Description: It should be mentioned on the documentation page that func_get_args() can't be used as a function parameter directly, e.g.: $ret = call_user_func_array('mysql_connect', func_get_args()); -- Edit this bug report at http://bugs.php.net/?id=29967edit=1
[PHP-DOC] #29964 [Opn-Csd]: php.net/php5 should point somewhere into the documentation
ID: 29964 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type:Documentation problem PHP Version: 5 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: [2004-09-03 08:53:05] [EMAIL PROTECTED] Description: It would be a nice feature to have http://php.net/php5 point to e.g. http://php.net/manual/en/language.oop5.php , currently it comes up with a useless search result. -- Edit this bug report at http://bugs.php.net/?id=29964edit=1
Re: [PHP-DOC] cvs: phpdoc /en/functions apache.xml array.xml aspell.xml bc.xml bzip2.xml calendar.xml ccvs.xml classobj.xml com.xml cpdf.xml crack.xml ctype.xml curl.xml cybercash.xml cybermut.xml cyrus.xml datetime.xml dba.xml dbase.xml dbm.xml dbplus.xml dbx.xml dio.xml dir.xml domxml.xml dotnet.xml errorfunc.xml exec.xml fbsql.xml fdf.xml filepro.xml filesystem.xml fribidi.xml ftp.xml funchand.xml gettext.xml gmp.xml http.xml hw.xml hwapi.xml ibase.xml icap.xml iconv.xml ifx.xml iisfunc.xml image.xml imap.xml info.xml ingres_ii.xml ircg.xml java.xml ldap.xml mail.xml mailparse.xml math.xml mbstring.xml mcal.xml mcrypt.xml mcve.xml mhash.xml ming.xml misc.xml mnogosearch.xml msession.xml msql.xml mssql.xml muscat.xml mysql.xml ncurses.xml network.xml nis.xml notes.xml oci8.xml openssl.xml oracle.xml outcontrol.xml overload.xml ovrimos.xml pcntl.xml pcre.xml pdf.xml pfpro.xml pgsql.xml posix.xml printer.xml pspell.xml qtdom.xml readline.xml recode.xml regex.xml sem.xml sesam.xml session.xml shmop.xml snmp.xml sockets.xml strings.xml swf.xml sybase.xml uodbc.xml url.xml var.xml vpopmail.xml w32api.xml wddx.xml xml.xml xmlrpc.xml xslt.xml yaz.xml zip.xml zlib.xml
techtonik wrote: ||*()*||[\..konnichi wa, ogenki desu ka, Gabor../] GH Log: GH remove functions folder, since this is two years old, and no translation needs this to get updated Update HOWTO also? Patch committed. Thanks. Dave
[PHP-DOC] cvs: phpdoc /howto working.xml
daveFri Sep 3 05:07:02 2004 EDT Modified files: /phpdoc/howto working.xml Log: - No more en/functions/ directory. Patch by techtonik. http://cvs.php.net/diff.php/phpdoc/howto/working.xml?r1=1.44r2=1.45ty=u Index: phpdoc/howto/working.xml diff -u phpdoc/howto/working.xml:1.44 phpdoc/howto/working.xml:1.45 --- phpdoc/howto/working.xml:1.44 Tue Aug 17 03:29:09 2004 +++ phpdoc/howto/working.xmlFri Sep 3 05:06:58 2004 @@ -97,10 +97,7 @@ The PHP Manual XML source is organized into directories. The biggest part is the extension reference, which is stored in the filenamereference/filename directory - of your language. You may find the - filenamefunctions/filename directory in the English - tree, which is not used anymore for manual building, it - is only there for reference for manual translators. + of your language. /simpara /listitem /varlistentry
[PHP-DOC] cvs: phpdoc /howto working.xml
daveFri Sep 3 05:13:41 2004 EDT Modified files: /phpdoc/howto working.xml Log: - No newline issues. http://cvs.php.net/diff.php/phpdoc/howto/working.xml?r1=1.45r2=1.46ty=u Index: phpdoc/howto/working.xml diff -u phpdoc/howto/working.xml:1.45 phpdoc/howto/working.xml:1.46 --- phpdoc/howto/working.xml:1.45 Fri Sep 3 05:06:58 2004 +++ phpdoc/howto/working.xmlFri Sep 3 05:13:39 2004 @@ -1552,4 +1552,5 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --- \ No newline at end of file +-- +
Re: [PHP-DOC] #29960 [Opn]: DirectoryIterator::fileType
ID: 29960 Updated by: [EMAIL PROTECTED] Reported By: asgarbutt at ucdavis dot edu Status: Open -Bug Type: *Directory/Filesystem functions +Bug Type: Documentation problem -Operating System: Windows XP Professional SP 2 +Operating System: * PHP Version: 5.0.1 New Comment: DirectoryIterator has no file*() functions uhm, but the source (spl_directory.c) has a couple of (wrong) protos: /* {{{ proto int DirectoryIterator::filePerms() Get file permissions */ /* {{{ proto int DirectoryIterator::fileSize() Get file size */ etc (line 333) Nuno
[PHP-DOC] cvs: phpdoc /htmlhelp/suppfiles/prefs php_manual_prefs.js
nlopess Fri Sep 3 07:23:28 2004 EDT Modified files: /phpdoc/htmlhelp/suppfiles/prefsphp_manual_prefs.js Log: use the main www mirror as the us mirror isnt valid anymore http://cvs.php.net/diff.php/phpdoc/htmlhelp/suppfiles/prefs/php_manual_prefs.js?r1=1.1r2=1.2ty=u Index: phpdoc/htmlhelp/suppfiles/prefs/php_manual_prefs.js diff -u phpdoc/htmlhelp/suppfiles/prefs/php_manual_prefs.js:1.1 phpdoc/htmlhelp/suppfiles/prefs/php_manual_prefs.js:1.2 --- phpdoc/htmlhelp/suppfiles/prefs/php_manual_prefs.js:1.1 Thu Dec 26 14:14:47 2002 +++ phpdoc/htmlhelp/suppfiles/prefs/php_manual_prefs.js Fri Sep 3 07:23:27 2004 @@ -1,5 +1,5 @@ prefs_online = true; -prefs_mirror = http://us.php.net/;; +prefs_mirror = http://www.php.net/;; prefs_context_override = true; prefs_context_names = Array( Manual TOC,
[PHP-DOC] cvs: phpdoc /htmlhelp/suppfiles/skins/phpZ skin.js
nlopess Fri Sep 3 07:31:31 2004 EDT Modified files: /phpdoc/htmlhelp/suppfiles/skins/phpZ skin.js Log: fix css path http://cvs.php.net/diff.php/phpdoc/htmlhelp/suppfiles/skins/phpZ/skin.js?r1=1.1r2=1.2ty=u Index: phpdoc/htmlhelp/suppfiles/skins/phpZ/skin.js diff -u phpdoc/htmlhelp/suppfiles/skins/phpZ/skin.js:1.1 phpdoc/htmlhelp/suppfiles/skins/phpZ/skin.js:1.2 --- phpdoc/htmlhelp/suppfiles/skins/phpZ/skin.js:1.1Mon Aug 9 11:00:43 2004 +++ phpdoc/htmlhelp/suppfiles/skins/phpZ/skin.jsFri Sep 3 07:31:31 2004 @@ -9,7 +9,7 @@ // Get style sheet file document.write( // Get our style file - 'link rel=stylesheet type=text/css href=' + chmfile_path + 'skins/phpZSR1/style.css' + 'link rel=stylesheet type=text/css href=' + chmfile_path + 'skins/phpZ/style.css' ); // sets global variables
[PHP-DOC] #25363 [Asn-Csd]: [chm] bug on index.html
ID: 25363 Updated by: [EMAIL PROTECTED] Reported By: gvcompernolle at tiscali dot be -Status: Assigned +Status: Closed Bug Type: Documentation problem Operating System: windows PHP Version: 4.3.3 Assigned To: goba New Comment: This is fixed in sources. It will be in mirrors soon. Previous Comments: [2003-09-02 13:30:00] [EMAIL PROTECTED] This is a known bug, and it will be corrected in future revisions [2003-09-02 12:03:29] gvcompernolle at tiscali dot be Description: I have found a bug on page index.html [chm date: 2002-12-27]... At the bottom of the right screen in the chm-file, I see the 'nbsp;' character sequence (next to the 'Report a bug' link). This character sequence should normally represent a 'hard coded' space in a HTML document. Reproduce code: --- Just open the chm-file on a Windows XP Pro OS (don't know for other OS'es). -- Edit this bug report at http://bugs.php.net/?id=25363edit=1
[PHP-DOC] #29749 [Fbk-Opn]: [chm] bug on tutorial.html
ID: 29749 Updated by: [EMAIL PROTECTED] Reported By: jccviking at att dot net -Status: Feedback +Status: Open Bug Type: Documentation problem Operating System: windows PHP Version: Irrelevant New Comment: This is unrealted with the skin used. When you try to print all the subtopics it returns a couple of JS errors. Previous Comments: [2004-09-02 13:34:49] [EMAIL PROTECTED] What skin are you using? [2004-08-19 02:33:12] jccviking at att dot net Description: I have found a bug on page tutorial.html [chm date: 2003-09-06]... When I try to: Print the selected heading and all subtopics I get a bunch of script errors starting with: Line: 43 Char: 4 Error: Object Expected If I keep clicking the Yes button I get a bunch more. All have a different line but all say Char 4, Object Expected. JCC -- Edit this bug report at http://bugs.php.net/?id=29749edit=1
Re[2]: [PHP-DOC] building a new extended CHM
||*()*||[\..konnichi wa, ogenki desu ka, Gabor../] Set your skin to something else, and then back to the phpz skin, plus do a hard refresh. It should work. There is something screwed in your config file (a bogus path to the phpz skin probably). I've used the .exe tool to select the skin. The other skins work. I'll see if I can fix this. GH Please also grab the previous version of the chm, and get the phpz out GH of that. This phpz in CVS is an updated version, which was said to be GH better. The problem here is in DOCTYPE. IE doesn't recognize short public ID as it relies on additional URI to validate the document and to switch from compatibility mode to standards compliant. Generated files in 13th xCHM doesn't have DOCTYPE at all! Since I'm unable to get DSSSL toolchain working on my machine (mostly because of memory and free space probems) I can't say why. Also I was unable to test XSL toolchain so I can't say which tools was used to produce the output and which changes has to be made to stylesheets, so the only way I can help is propose a patch for chm/make_chm_fancy.php It is necessary to include system id along with public id in DOCTYPE declaration. Like this: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd; Does phpdoc have any test system to validate the output, so this test on !DOCTYPE headers can be added? -- //Old Rusty Cans Killers [ORCK]: //technically yours, techtonik make_chm_fancy.patch Description: Binary data
[PHP-DOC] cvs: phpdoc /en/reference/classkit/functions classkit-import.xml
seanFri Sep 3 11:51:43 2004 EDT Added files: /phpdoc/en/reference/classkit/functions classkit-import.xml Log: doc classkit_import() http://cvs.php.net/co.php/phpdoc/en/reference/classkit/functions/classkit-import.xml?r=1.1p=1 Index: phpdoc/en/reference/classkit/functions/classkit-import.xml +++ phpdoc/en/reference/classkit/functions/classkit-import.xml ?xml version=1.0 encoding=iso-8859-1? !-- $Revision: 1.1 $ -- refentry id=function.classkit-import refnamediv refnameclasskit_import/refname refpurposeImport new class method definitions from a file/refpurpose /refnamediv refsect1 reftitle.description; methodsynopsis typearray/typemethodnameclasskit_import/methodname methodparamtypestring/typeparameterfilename/parameter/methodparam /methodsynopsis note.classkit.selfmanipulation; warn.experimental.func; /refsect1 refsect1 reftitle.parameters; para variablelist varlistentry termparameterfilename/parameter/term listitem para The filename of the class method definitions to import /para /listitem /varlistentry /variablelist /para /refsect1 refsect1 reftitle.returnvalues; para Associative array of imported methods /para /refsect1 !-- No changelog: it's only in PECL. -- refsect1 reftitle.examples; para example titlefunctionclasskit_import/function example/title programlisting role=php ![CDATA[ ?php // file: newclass.php class Example { function foo() { return bar!\n; } } ? ]] /programlisting programlisting role=php ![CDATA[ ?php // requires newclass.php (see above) class Example { function foo() { return foo!\n; } } $e = new Example(); // output original echo $e-foo(); // import replacement method classkit_import('newclass.php'); // output imported echo $e-foo(); ? ]] /programlisting example.outputs; screen ![CDATA[ foo! bar! ]] /screen /example /para /refsect1 refsect1 roles=seealso reftitle.seealso; para simplelist memberfunctionclasskit_method_add/function/member memberfunctionclasskit_method_copy/function/member /simplelist /para /refsect1 /refentry !-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:../../../../manual.ced sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --
[PHP-DOC] cvs: phpdoc /en/reference/classkit/functions classkit-method-rename.xml
seanFri Sep 3 11:57:23 2004 EDT Modified files: /phpdoc/en/reference/classkit/functions classkit-method-rename.xml Log: fixed example http://cvs.php.net/diff.php/phpdoc/en/reference/classkit/functions/classkit-method-rename.xml?r1=1.4r2=1.5ty=u Index: phpdoc/en/reference/classkit/functions/classkit-method-rename.xml diff -u phpdoc/en/reference/classkit/functions/classkit-method-rename.xml:1.4 phpdoc/en/reference/classkit/functions/classkit-method-rename.xml:1.5 --- phpdoc/en/reference/classkit/functions/classkit-method-rename.xml:1.4 Wed Aug 25 00:33:52 2004 +++ phpdoc/en/reference/classkit/functions/classkit-method-rename.xml Fri Sep 3 11:57:23 2004 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.4 $ -- +!-- $Revision: 1.5 $ -- refentry id=function.classkit-method-rename refnamediv refnameclasskit_method_rename/refname @@ -76,7 +76,7 @@ ); // output renamed function -echo e-bar(); +echo Example::bar(); ? ]] /programlisting
[PHP-DOC] cvs: phpdoc /en/reference/classkit/functions classkit-import.xml
seanFri Sep 3 12:26:40 2004 EDT Modified files: /phpdoc/en/reference/classkit/functions classkit-import.xml Log: typo http://cvs.php.net/diff.php/phpdoc/en/reference/classkit/functions/classkit-import.xml?r1=1.1r2=1.2ty=u Index: phpdoc/en/reference/classkit/functions/classkit-import.xml diff -u phpdoc/en/reference/classkit/functions/classkit-import.xml:1.1 phpdoc/en/reference/classkit/functions/classkit-import.xml:1.2 --- phpdoc/en/reference/classkit/functions/classkit-import.xml:1.1 Fri Sep 3 11:51:43 2004 +++ phpdoc/en/reference/classkit/functions/classkit-import.xml Fri Sep 3 12:26:40 2004 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.1 $ -- +!-- $Revision: 1.2 $ -- refentry id=function.classkit-import refnamediv refnameclasskit_import/refname @@ -88,7 +88,7 @@ /para /refsect1 - refsect1 roles=seealso + refsect1 role=seealso reftitle.seealso; para simplelist
[PHP-DOC] #29959 [Opn]: Resource returned by fopen has type 'stream'
ID: 29959 Updated by: [EMAIL PROTECTED] Reported By: mccarthy36 at earthlink dot net Status: Open -Bug Type: Filesystem function related +Bug Type: Documentation problem Operating System: Linux PHP Version: 4.3.8 New Comment: Let's make it a documentation problem then, because that's what this is. Previous Comments: [2004-09-03 17:11:58] mccarthy36 at earthlink dot net Not to be combative, but it's not _expected_ based on what the manual says. * fopen() returns a resource * get_resource_type() returns a string representing the type of the resource * Appendix K gives 'file' as the resource type name created by fopen() Would you please say specifically which part of the manual I should double-check to better understand the situation? Thank you [2004-09-03 04:39:04] [EMAIL PROTECTED] Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php This is expected. [2004-09-03 00:03:46] mccarthy36 at earthlink dot net Description: The resource returned by fopen() (when used to open a file) is reported as type 'stream', not 'file'. I'm not sure if this is a documentation problem or an fopen() problem. Appendix K doesn't list any functions as returning resources of type 'stream'. But, as 'stream' seems more generic, from my perspective it seems desirable to have the resource returned by fopen() identified as 'file' as described in the documentation. Reproduce code: --- $file = fopen( 'file.txt', 'r' ); var_dump( get_resource_type( $file ) ); Expected result: Appendix K. List of Resource Types states that 'file' is the type of resource returned by fopen(). Actual result: -- 'stream' is reported as the type of the resourced returned by fopen(). -- Edit this bug report at http://bugs.php.net/?id=29959edit=1
Re: [PHP-DOC] Grouped functions working in livedocs
Derick Rethans wrote: I actually think that this grouping doesn't really help as it's pretty hard to find documentation by extension now as they are no longer sorted alphabetically. Now people first need to find the correct category and *then* the correct extension. I think this new categorization thing only makes things worse. The chapters are only alphatic ordered in the English version - at least with the current (old) build system the German version is ordered in the same sequence as the English one so it isn't alphabetic anymore and if I exactly know what I want I use Mozillas TypeAhead so I don't need it sorted alphabetic. Just a users note... johannes
Re: Re[2]: [PHP-DOC] building a new extended CHM
Set your skin to something else, and then back to the phpz skin, plus do a hard refresh. It should work. There is something screwed in your config file (a bogus path to the phpz skin probably). I've used the .exe tool to select the skin. The other skins work. I'll see if I can fix this. GH Please also grab the previous version of the chm, and get the phpz out GH of that. This phpz in CVS is an updated version, which was said to be GH better. The problem here is in DOCTYPE. IE doesn't recognize short public ID as it relies on additional URI to validate the document and to switch from compatibility mode to standards compliant. Generated files in 13th xCHM doesn't have DOCTYPE at all! Since I'm unable to get DSSSL toolchain working on my machine (mostly because of memory and free space probems) I can't say why. Also I was unable to test XSL toolchain so I can't say which tools was used to produce the output and which changes has to be made to stylesheets, so the only way I can help is propose a patch for chm/make_chm_fancy.php bingo! :) now the phpZ skin works perfectly! But there are some remaining issues to deal with: * there is no xslt template to deal with collabname, thus making the frontpage very ugly with collabname written in red. * the DOCTYPE should be added automatically. Maybe some xslt tweaking can solve this problem? * the 'print all the subtopics' function still echoes some errors in JavaScript [less important] As I have no knowledges in xslt, I would be glad if someone could take a look at these problems, so that I can build a final version. Nuno P.S.: we are refering to the extended chm, which generated by the tools located at the htmlhelp dir and not chm.
[PHP-DOC] cvs: phpdoc /en/reference/imap/functions imap-ping.xml
didou Fri Sep 3 14:43:59 2004 EDT Modified files: /phpdoc/en/reference/imap/functions imap-ping.xml Log: WS and typos, removed the author feelings about the function as I just used it for a deamon and it _was_ handy also added a basic example http://cvs.php.net/diff.php/phpdoc/en/reference/imap/functions/imap-ping.xml?r1=1.4r2=1.5ty=u Index: phpdoc/en/reference/imap/functions/imap-ping.xml diff -u phpdoc/en/reference/imap/functions/imap-ping.xml:1.4 phpdoc/en/reference/imap/functions/imap-ping.xml:1.5 --- phpdoc/en/reference/imap/functions/imap-ping.xml:1.4Thu Oct 2 12:05:15 2003 +++ phpdoc/en/reference/imap/functions/imap-ping.xmlFri Sep 3 14:43:59 2004 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.4 $ -- +!-- $Revision: 1.5 $ -- !-- splitted from ./en/functions/imap.xml, last change in rev 1.2 -- refentry id=function.imap-ping refnamediv @@ -16,12 +16,29 @@ Returns true; if the stream is still alive, false; otherwise. /para para - functionimap_ping/function function pings the stream to see - it is still active. It may discover new mail; this is the - preferred method for a periodic new mail check as well as a - keep alive for servers which have inactivity timeout. - (As PHP scripts do not tend to run that long, I can hardly - imagine that this function will be useful to anyone.) + functionimap_ping/function pings the stream to see if it's still + active. It may discover new mail; this is the preferred method for a + periodic new mail check as well as a keep alive for servers which + have inactivity timeout. +/para +para + example + titlefunctionimap_ping/function Example/title + programlisting role=php +![CDATA[ +?php + +$imap = imap_open({your.imap.host}, mailadmin, password); + +// after some sleeping +if (!imap_ping($imap)) { +// do some stuff to reconnect +} + +? +]] + /programlisting + /example /para /refsect1 /refentry
[PHP-DOC] #29960 [Opn-Asn]: DirectoryIterator::fileType
ID: 29960 Updated by: [EMAIL PROTECTED] Reported By: asgarbutt at ucdavis dot edu -Status: Open +Status: Assigned Bug Type: Documentation problem Operating System: * PHP Version: 5.0.1 -Assigned To: +Assigned To: nlopess Previous Comments: [2004-09-03 08:27:14] [EMAIL PROTECTED] DirectoryIterator has no file*() functions [2004-09-03 00:37:46] asgarbutt at ucdavis dot edu Found a better link to the SPL. It is still not complete, but it is much more thorough that the documentation provided on http://www.php.net/manual/en/function.directoryiterator-filetype.php It can be found here at : http://www.php.net/~helly/php/ext/spl/index.html Sorry about the bug post. [2004-09-03 00:27:08] asgarbutt at ucdavis dot edu In my description, i wrote the wrong quote. It should be ... Fatal error: Call to undefined method DirectoryIterator::fileType() in C:\Apache2\htdocs\imagearchive\test.php on line 40 as stated in the Actual result section. [2004-09-03 00:15:34] asgarbutt at ucdavis dot edu Description: When utilizing the new DirectoryIterator of PHP5 (5.0.1) I get the following message. Fatal error: Call to undefined method DirectoryIterator::fileExt() in C:\Apache2\htdocs\imagearchive\test.php on line 40 The function is listed in the documentation but only minimumly. Reproduce code: --- $sPath = 'C:\Apache2\htdocs' foreach (new DirectoryIterator($sPath) as $oFile) { if ($oFile-isFile()) { echo 'isFile = '.$oFile-isFile().'br /'; echo 'getFilename = '.$oFile-getFilename().'br /'; echo 'fileType = '.$oFile-fileType().'br /'; } } Expected result: isFile = 1 getFilename = apache_pb.gif fileType = .gif (or something similar) Actual result: -- isFile = 1 getFilename = apache_pb.gif Fatal error: Call to undefined method DirectoryIterator::fileType() in C:\Apache2\htdocs\imagearchive\test.php on line 40 -- Edit this bug report at http://bugs.php.net/?id=29960edit=1
[PHP-DOC] cvs: phpdoc /en/reference/spl/functions DirectoryIterator-fileATime.xml DirectoryIterator-fileCTime.xml DirectoryIterator-fileGroup.xml DirectoryIterator-fileInode.xml DirectoryIterator-fileMTime.xml DirectoryIterator-fileOwner.xml DirectoryIterator-filePerms.xml DirectoryIterator-fileSize.xml DirectoryIterator-fileType.xml DirectoryIterator-getATime.xml DirectoryIterator-getCTime.xml DirectoryIterator-getGroup.xml DirectoryIterator-getInode.xml DirectoryIterator-getMTime.xml DirectoryIterator-getOwner.xml DirectoryIterator-getPerms.xml DirectoryIterator-getSize.xml DirectoryIterator-getType.xml
nlopess Fri Sep 3 15:01:43 2004 EDT Added files: /phpdoc/en/reference/spl/functions DirectoryIterator-getATime.xml DirectoryIterator-getCTime.xml DirectoryIterator-getGroup.xml DirectoryIterator-getInode.xml DirectoryIterator-getMTime.xml DirectoryIterator-getOwner.xml DirectoryIterator-getPerms.xml DirectoryIterator-getSize.xml DirectoryIterator-getType.xml Removed files: /phpdoc/en/reference/spl/functions DirectoryIterator-fileATime.xml DirectoryIterator-fileCTime.xml DirectoryIterator-fileGroup.xml DirectoryIterator-fileInode.xml DirectoryIterator-fileMTime.xml DirectoryIterator-fileOwner.xml DirectoryIterator-filePerms.xml DirectoryIterator-fileSize.xml DirectoryIterator-fileType.xml Log: fix #29960: wrong file*() protos http://cvs.php.net/co.php/phpdoc/en/reference/spl/functions/DirectoryIterator-getATime.xml?r=1.1p=1 Index: phpdoc/en/reference/spl/functions/DirectoryIterator-getATime.xml +++ phpdoc/en/reference/spl/functions/DirectoryIterator-getATime.xml ?xml version='1.0' encoding='iso-8859-1'? !-- $Revision: 1.1 $ -- refentry id=function.DirectoryIterator-getATime refnamediv refnameDirectoryIterator::getATime/refname refpurpose Get last access time of file /refpurpose /refnamediv refsect1 titleDescription/title methodsynopsis typeint/typemethodnameDirectoryIterator::getATime/methodname void/ /methodsynopsis warn.undocumented.func; /refsect1 /refentry !-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:../../../../manual.ced sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -- http://cvs.php.net/co.php/phpdoc/en/reference/spl/functions/DirectoryIterator-getCTime.xml?r=1.1p=1 Index: phpdoc/en/reference/spl/functions/DirectoryIterator-getCTime.xml +++ phpdoc/en/reference/spl/functions/DirectoryIterator-getCTime.xml ?xml version='1.0' encoding='iso-8859-1'? !-- $Revision: 1.1 $ -- refentry id=function.DirectoryIterator-getCTime refnamediv refnameDirectoryIterator::getCTime/refname refpurpose Get inode modification time of file /refpurpose /refnamediv refsect1 titleDescription/title methodsynopsis typeint/typemethodnameDirectoryIterator::getCTime/methodname void/ /methodsynopsis warn.undocumented.func; /refsect1 /refentry !-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:../../../../manual.ced sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 -- http://cvs.php.net/co.php/phpdoc/en/reference/spl/functions/DirectoryIterator-getGroup.xml?r=1.1p=1 Index: phpdoc/en/reference/spl/functions/DirectoryIterator-getGroup.xml +++ phpdoc/en/reference/spl/functions/DirectoryIterator-getGroup.xml ?xml version='1.0' encoding='iso-8859-1'? !-- $Revision: 1.1 $ -- refentry id=function.DirectoryIterator-getGroup refnamediv refnameDirectoryIterator::getGroup/refname refpurpose Get file group /refpurpose /refnamediv refsect1 titleDescription/title methodsynopsis typeint/typemethodnameDirectoryIterator::getGroup/methodname void/ /methodsynopsis warn.undocumented.func; /refsect1 /refentry !-- Keep this comment at the end of the file Local variables: mode: sgml sgml-omittag:t sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t sgml-indent-step:1 sgml-indent-data:t indent-tabs-mode:nil sgml-parent-document:nil sgml-default-dtd-file:../../../../manual.ced sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 --
[PHP-DOC] #29960 [Asn-Csd]: DirectoryIterator::fileType
ID: 29960 Updated by: [EMAIL PROTECTED] Reported By: asgarbutt at ucdavis dot edu -Status: Assigned +Status: Closed Bug Type: Documentation problem Operating System: * PHP Version: 5.0.1 Assigned To: nlopess 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: [2004-09-03 08:27:14] [EMAIL PROTECTED] DirectoryIterator has no file*() functions [2004-09-03 00:37:46] asgarbutt at ucdavis dot edu Found a better link to the SPL. It is still not complete, but it is much more thorough that the documentation provided on http://www.php.net/manual/en/function.directoryiterator-filetype.php It can be found here at : http://www.php.net/~helly/php/ext/spl/index.html Sorry about the bug post. [2004-09-03 00:27:08] asgarbutt at ucdavis dot edu In my description, i wrote the wrong quote. It should be ... Fatal error: Call to undefined method DirectoryIterator::fileType() in C:\Apache2\htdocs\imagearchive\test.php on line 40 as stated in the Actual result section. [2004-09-03 00:15:34] asgarbutt at ucdavis dot edu Description: When utilizing the new DirectoryIterator of PHP5 (5.0.1) I get the following message. Fatal error: Call to undefined method DirectoryIterator::fileExt() in C:\Apache2\htdocs\imagearchive\test.php on line 40 The function is listed in the documentation but only minimumly. Reproduce code: --- $sPath = 'C:\Apache2\htdocs' foreach (new DirectoryIterator($sPath) as $oFile) { if ($oFile-isFile()) { echo 'isFile = '.$oFile-isFile().'br /'; echo 'getFilename = '.$oFile-getFilename().'br /'; echo 'fileType = '.$oFile-fileType().'br /'; } } Expected result: isFile = 1 getFilename = apache_pb.gif fileType = .gif (or something similar) Actual result: -- isFile = 1 getFilename = apache_pb.gif Fatal error: Call to undefined method DirectoryIterator::fileType() in C:\Apache2\htdocs\imagearchive\test.php on line 40 -- Edit this bug report at http://bugs.php.net/?id=29960edit=1
[PHP-DOC] #29578 [Asn-Csd]: Need instruction for static installation
ID: 29578 Updated by: [EMAIL PROTECTED] Reported By: jean-christian dot imbeault at mizuho-sc dot com -Status: Assigned +Status: Closed Bug Type: Documentation problem Operating System: Linux PHP Version: 5.0.0 -Assigned To: betz +Assigned To: aidan 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: [2004-08-09 14:33:24] [EMAIL PROTECTED] The new install section doesn't have the instructions to build apache/php statically. IMHO This should be added as it has better performance than when compiled as a shared module. [2004-08-09 03:15:03] jean-christian dot imbeault at mizuho-sc dot com Description: on page http://www.php.net/manual/en/install.apache.php Could you add instruction for compiling PHP5 into apache as a static module? The INSTALL file that comes with PHP5 recommends going to that page for installation instructions but there are none for static module compilation. -- Edit this bug report at http://bugs.php.net/?id=29578edit=1