[PHP-DOC] #31100 [Opn-Csd]: spelling mistake at mysqli_real_escape_string
ID: 31100 Updated by: [EMAIL PROTECTED] Reported By: thalersoftware at yahoo dot de -Status: Open +Status: Closed Bug Type:Documentation problem 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: [2004-12-15 18:52:02] thalersoftware at yahoo dot de Description: Function name is wrong in Object oriented style wrong: real_escape_sring right: real_escape_string not nice if you use copy paste -- Edit this bug report at http://bugs.php.net/?id=31100edit=1
[PHP-DOC] cvs: phpdoc /en/reference/info/functions ini-get.xml
nlopess Wed Dec 15 15:20:28 2004 EDT Modified files: /phpdoc/en/reference/info/functions ini-get.xml Log: add the G ini modifier http://cvs.php.net/diff.php/phpdoc/en/reference/info/functions/ini-get.xml?r1=1.11r2=1.12ty=u Index: phpdoc/en/reference/info/functions/ini-get.xml diff -u phpdoc/en/reference/info/functions/ini-get.xml:1.11 phpdoc/en/reference/info/functions/ini-get.xml:1.12 --- phpdoc/en/reference/info/functions/ini-get.xml:1.11 Thu Aug 12 21:00:46 2004 +++ phpdoc/en/reference/info/functions/ini-get.xml Wed Dec 15 15:20:28 2004 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.11 $ -- +!-- $Revision: 1.12 $ -- !-- splitted from ./en/functions/info.xml, last change in rev 1.64 -- refentry id=function.ini-get refnamediv @@ -60,16 +60,18 @@ function return_bytes($val) { $val = trim($val); -$last = $val{strlen($val)-1}; +$last = strtolower($val{strlen($val)-1}); switch($last) { case 'k': -case 'K': return (int) $val * 1024; break; case 'm': -case 'M': return (int) $val * 1048576; break; +// The 'G' modifier is available since PHP 5.1.0 +case 'g': +return (int) $val * 1073741824; +break; default: return $val; }
Re: [PHP-DOC] documenting dom
Hi Medhi, Nice to ear from you again! Hi group, Back from the hospital I have to stay 2 weeks at bed with nothing to do. I'd like to rework dom/reference.xml to make it look kinda like mysqli reference page and add constructors and prperties. I have some questions : - for DomNode::__construct(), how should the file be named ? (Caps, hippens) that should be name DomNode-construct.xml - Should I drop the reference to function.xml (as most oh the API is OO). I would simply add the 2 or 3 procedural functions by hand after listing each class/method. mysqli has the reference to the function list.. But as most is OO.. Just do as you wish :) Nuno
Re: [PHP-DOC] cvs: phpdoc /en/reference/info/functions ini-get.xml
On Wed, 15 Dec 2004, Nuno Lopes wrote: nlopess Wed Dec 15 15:20:28 2004 EDT Modified files: /phpdoc/en/reference/info/functions ini-get.xml Log: add the G ini modifier http://cvs.php.net/diff.php/phpdoc/en/reference/info/functions/ini-get.xml?r1=1.11r2=1.12ty=u Index: phpdoc/en/reference/info/functions/ini-get.xml diff -u phpdoc/en/reference/info/functions/ini-get.xml:1.11 phpdoc/en/reference/info/functions/ini-get.xml:1.12 --- phpdoc/en/reference/info/functions/ini-get.xml:1.11 Thu Aug 12 21:00:46 2004 +++ phpdoc/en/reference/info/functions/ini-get.xmlWed Dec 15 15:20:28 2004 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.11 $ -- +!-- $Revision: 1.12 $ -- !-- splitted from ./en/functions/info.xml, last change in rev 1.64 -- refentry id=function.ini-get refnamediv @@ -60,16 +60,18 @@ function return_bytes($val) { $val = trim($val); -$last = $val{strlen($val)-1}; +$last = strtolower($val{strlen($val)-1}); switch($last) { case 'k': -case 'K': return (int) $val * 1024; break; case 'm': -case 'M': return (int) $val * 1048576; break; +// The 'G' modifier is available since PHP 5.1.0 +case 'g': +return (int) $val * 1073741824; +break; default: Why not do it like: switch($last) { case 'g': $val *= 1024; case 'm': $val *= 1024; case 'k': $val *= 1024; } is much shorter and cleaner looking. Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org
[PHP-DOC] cvs: phpdoc /howto cvs.xml
hsc Wed Dec 15 21:18:28 2004 EDT Modified files: /phpdoc/howto cvs.xml Log: spelling corrections http://cvs.php.net/diff.php/phpdoc/howto/cvs.xml?r1=1.14r2=1.15ty=u Index: phpdoc/howto/cvs.xml diff -u phpdoc/howto/cvs.xml:1.14 phpdoc/howto/cvs.xml:1.15 --- phpdoc/howto/cvs.xml:1.14 Tue Feb 10 06:34:58 2004 +++ phpdoc/howto/cvs.xmlWed Dec 15 21:18:26 2004 @@ -514,7 +514,7 @@ /para para -This only shedules the file for addition. To +This only schedules the file for addition. To complete the addition of the file(s), you need to do a commit, as described above. /para @@ -553,7 +553,7 @@ /para para -This only shedules the file for removing. To +This only schedules the file for removing. To complete the removing of the file(s), you need to do a commit, as described above. /para
[PHP-DOC] cvs: phpdoc /entities global.ent
hsc Wed Dec 15 21:45:37 2004 EDT Modified files: /phpdoc/entitiesglobal.ent Log: gentoo portage link corrected (make test_xml failed on ampersand) http://cvs.php.net/diff.php/phpdoc/entities/global.ent?r1=1.205r2=1.206ty=u Index: phpdoc/entities/global.ent diff -u phpdoc/entities/global.ent:1.205 phpdoc/entities/global.ent:1.206 --- phpdoc/entities/global.ent:1.205Sun Dec 12 07:20:34 2004 +++ phpdoc/entities/global.ent Wed Dec 15 21:45:37 2004 @@ -1,6 +1,6 @@ !-- -*- SGML -*- - $Id: global.ent,v 1.205 2004/12/12 12:20:34 nlopess Exp $ + $Id: global.ent,v 1.206 2004/12/16 02:45:37 hsc Exp $ Contains global macros for all the XML documents. @@ -96,7 +96,7 @@ !ENTITY url.gdbm ftp://ftp.gnu.org/pub/gnu/gdbm/; !ENTITY url.gentoo http://www.gentoo.org/; !ENTITY url.gentoo.forums http://forums.gentoo.org/; -!ENTITY url.gentoo.portage http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2chap=1; +!ENTITY url.gentoo.portage http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2amp;chap=1; !ENTITY url.gettext http://www.gnu.org/software/gettext/gettext.html; !ENTITY url.gettext.docs http://www.gnu.org/software/gettext/manual/gettext.html; !ENTITY url.gmp http://www.swox.com/gmp/;
[PHP-DOC] documenting dom
Hi group, Back from the hospital I have to stay 2 weeks at bed with nothing to do. I'd like to rework dom/reference.xml to make it look kinda like mysqli reference page and add constructors and prperties. I have some questions : - for DomNode::__construct(), how should the file be named ? (Caps, hippens) - Should I drop the reference to function.xml (as most oh the API is OO). I would simply add the 2 or 3 procedural functions by hand after listing each class/method. Thank you in advance ! didou
[PHP-DOC] cvs: phpdoc /en/reference/mysqli/functions mysqli-real-escape-string.xml
seanWed Dec 15 13:28:21 2004 EDT Modified files: /phpdoc/en/reference/mysqli/functions mysqli-real-escape-string.xml Log: fixed typo - bug #31100 http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-real-escape-string.xml?r1=1.9r2=1.10ty=u Index: phpdoc/en/reference/mysqli/functions/mysqli-real-escape-string.xml diff -u phpdoc/en/reference/mysqli/functions/mysqli-real-escape-string.xml:1.9 phpdoc/en/reference/mysqli/functions/mysqli-real-escape-string.xml:1.10 --- phpdoc/en/reference/mysqli/functions/mysqli-real-escape-string.xml:1.9 Fri Nov 12 09:01:04 2004 +++ phpdoc/en/reference/mysqli/functions/mysqli-real-escape-string.xml Wed Dec 15 13:28:19 2004 @@ -1,5 +1,5 @@ ?xml version=1.0 encoding=iso-8859-1? -!-- $Revision: 1.9 $ -- +!-- $Revision: 1.10 $ -- refentry id=function.mysqli-real-escape-string refnamediv refnamemysqli_real_escape_string/refname @@ -21,7 +21,7 @@ classsynopsis ooclassclassnamemysqli/classname/ooclass methodsynopsis - typestring/typemethodnamereal_escape_sring/methodname + typestring/typemethodnamereal_escape_string/methodname methodparamtypestring/typeparameterescapestr/parameter/methodparam /methodsynopsis /classsynopsis
[PHP-DOC] #31100 [NEW]: spelling mistake at mysqli_real_escape_string
From: thalersoftware at yahoo dot de Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: spelling mistake at mysqli_real_escape_string Description: Function name is wrong in Object oriented style wrong: real_escape_sring right: real_escape_string not nice if you use copy paste -- Edit bug report at http://bugs.php.net/?id=31100edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31100r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31100r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31100r=trysnapshot51 Fixed in CVS:http://bugs.php.net/fix.php?id=31100r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=31100r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=31100r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=31100r=needscript Try newer version: http://bugs.php.net/fix.php?id=31100r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=31100r=support Expected behavior: http://bugs.php.net/fix.php?id=31100r=notwrong Not enough info: http://bugs.php.net/fix.php?id=31100r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=31100r=submittedtwice register_globals:http://bugs.php.net/fix.php?id=31100r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31100r=php3 Daylight Savings:http://bugs.php.net/fix.php?id=31100r=dst IIS Stability: http://bugs.php.net/fix.php?id=31100r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=31100r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=31100r=float MySQL Configuration Error: http://bugs.php.net/fix.php?id=31100r=mysqlcfg
Re: [PHP-DOC] documenting dom
Hi, Back from the hospital I have to stay 2 weeks at bed with nothing to do. Though I have not received the original letter you sent, I would also like to welcome you back, and express my hopes that you are fine. Good to hear from you again. Goba
[PHP-DOC] #31103 [NEW]: Please check your IMAP installation error is misleading
From: tss at iki dot fi Operating system: any PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Please check your IMAP installation error is misleading Description: Cannot find rfc822.h. Please check your IMAP installation. Please change this to say check your c-client library installation. I see way too often people asking in IMAP server lists about this, thinking they can't use PHP with the server because it doesn't have this file. -- Edit bug report at http://bugs.php.net/?id=31103edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31103r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31103r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31103r=trysnapshot51 Fixed in CVS:http://bugs.php.net/fix.php?id=31103r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=31103r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=31103r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=31103r=needscript Try newer version: http://bugs.php.net/fix.php?id=31103r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=31103r=support Expected behavior: http://bugs.php.net/fix.php?id=31103r=notwrong Not enough info: http://bugs.php.net/fix.php?id=31103r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=31103r=submittedtwice register_globals:http://bugs.php.net/fix.php?id=31103r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31103r=php3 Daylight Savings:http://bugs.php.net/fix.php?id=31103r=dst IIS Stability: http://bugs.php.net/fix.php?id=31103r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=31103r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=31103r=float MySQL Configuration Error: http://bugs.php.net/fix.php?id=31103r=mysqlcfg