[PHP-DOC] #36401 [Opn]: Bug in mktime()
ID: 36401 Updated by: [EMAIL PROTECTED] Reported By: marcel dot alburg at alkronet dot info Status: Open -Bug Type: Date/time related +Bug Type: Documentation problem Operating System: Linux PHP Version: 5.1.2 New Comment: 6 0's here is not invalid, so marking as a doc problem. Previous Comments: [2006-02-15 15:16:09] [EMAIL PROTECTED] Ah, but, the documentation says: If the arguments are invalid (eg. if the year, month and day are all 0), the function returns FALSE (before PHP 5.1 it returned -1). Furthermore, I've just tested on an ancient PHP 4.0 I had lying around, and mktime(0,0,0,0,0,0) does indeed return -1. So it seems there's something to be resolved here, whether it be fixing mktime or changing the documentation. [2006-02-15 13:42:42] marcel dot alburg at alkronet dot info but in previosly versions it get 0 back. because that i mean it's an error thanks marcel alburg [2006-02-15 13:35:19] [EMAIL PROTECTED] Why? The result is correct. You're getting the timestamp for 0 january-1 (december of the previous year), year 0 (which is 2000) at 00:00:00. This is exactly 30 november 1999, 00:00:00 [2006-02-15 13:31:15] marcel dot alburg at alkronet dot info Description: If i enter print mktime(0,0,0,0,0,0) i get 943916400 but it must be 0 print date('r', mktime(0,0,0,0,0,0)); returns Tue, 30 Nov 1999 00:00:00 +0100 Marcel Alburg Reproduce code: --- print mktime(0,0,0,0,0,0); returns 943916400 Expected result: mktime(0,0,0,0,0,0) must be 0 -- Edit this bug report at http://bugs.php.net/?id=36401edit=1
[PHP-DOC] #36406 [NEW]: different documentation of exit()+ die()
From: p dot bodnar at centrum dot cz Operating system: PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: different documentation of exit()+ die() Description: Functions exit() and die() are documented differently - with a different meaning - in english VS in other languages (for cs and de, maybe other languages as well). -- Edit bug report at http://bugs.php.net/?id=36406edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36406r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36406r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36406r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=36406r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=36406r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=36406r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=36406r=needscript Try newer version:http://bugs.php.net/fix.php?id=36406r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=36406r=support Expected behavior:http://bugs.php.net/fix.php?id=36406r=notwrong Not enough info: http://bugs.php.net/fix.php?id=36406r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=36406r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=36406r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36406r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=36406r=dst IIS Stability:http://bugs.php.net/fix.php?id=36406r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=36406r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=36406r=float No Zend Extensions: http://bugs.php.net/fix.php?id=36406r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=36406r=mysqlcfg
[PHP-DOC] #36406 [Opn]: different documentation of exit()+ die()
ID: 36406 User updated by: p dot bodnar at centrum dot cz Reported By: p dot bodnar at centrum dot cz Status: Open Bug Type:Documentation problem PHP Version: Irrelevant New Comment: Description: Functions exit() and die() are documented differently - with a different meaning - in English VS in other languages (found f.e. for Czech and German). Previous Comments: [2006-02-16 01:05:35] p dot bodnar at centrum dot cz Description: Functions exit() and die() are documented differently - with a different meaning - in english VS in other languages (for cs and de, maybe other languages as well). -- Edit this bug report at http://bugs.php.net/?id=36406edit=1
[PHP-DOC] #36406 [Opn-Bgs]: different documentation of exit()+ die()
ID: 36406 Updated by: [EMAIL PROTECTED] Reported By: p dot bodnar at centrum dot cz -Status: Open +Status: Bogus Bug Type:Documentation problem PHP Version: Irrelevant New Comment: Other languages might catch up translation, when their volunteers find some spare time. Previous Comments: [2006-02-16 01:08:57] p dot bodnar at centrum dot cz Description: Functions exit() and die() are documented differently - with a different meaning - in English VS in other languages (found f.e. for Czech and German). [2006-02-16 01:05:35] p dot bodnar at centrum dot cz Description: Functions exit() and die() are documented differently - with a different meaning - in english VS in other languages (for cs and de, maybe other languages as well). -- Edit this bug report at http://bugs.php.net/?id=36406edit=1
[PHP-DOC] #36408 [NEW]: cvs checkout phpdoc-all doesn't check out Japanese (and Korean) documentation
From: [EMAIL PROTECTED] Operating system: Irrelevant PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: cvs checkout phpdoc-all doesn't check out Japanese (and Korean) documentation Description: Documentation Howto says You also have the ability of checking out infrastructure the complete build and all the languages. You can do this with: $ cvs checkout phpdoc-all (http://doc.php.net/php/dochowto/cvs-checkout.php) but we can't check out Japaneese (and Korean) documentation by this command. Reproduce code: --- $ cvs -d:pserver:[EMAIL PROTECTED]:/repository login $ cvs -d:pserver:[EMAIL PROTECTED]:/repository checkout phpdoc-all $ ls phpdoc-all/ja/ Expected result: Same as the following. $ cvs -d:pserver:[EMAIL PROTECTED]:/repository login $ cvs -d:pserver:[EMAIL PROTECTED]:/repository checkout phpdoc-ja-dir $ ls ja/ Actual result: -- The directory is empty (only 'CVS' directory exists). -- Edit bug report at http://bugs.php.net/?id=36408edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36408r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36408r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36408r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=36408r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=36408r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=36408r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=36408r=needscript Try newer version:http://bugs.php.net/fix.php?id=36408r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=36408r=support Expected behavior:http://bugs.php.net/fix.php?id=36408r=notwrong Not enough info: http://bugs.php.net/fix.php?id=36408r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=36408r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=36408r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36408r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=36408r=dst IIS Stability:http://bugs.php.net/fix.php?id=36408r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=36408r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=36408r=float No Zend Extensions: http://bugs.php.net/fix.php?id=36408r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=36408r=mysqlcfg
[PHP-DOC] #36408 [Opn]: cvs checkout phpdoc-all doesn't check out Japanese (and Korean) documentation
ID: 36408 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Documentation problem Operating System: Irrelevant PHP Version: Irrelevant New Comment: When I do $ cvs -d:pserver:[EMAIL PROTECTED]:/repository checkout phpdoc-all ,the following messages are displayed. cvs checkout: existing repository /repository/phpdoc/ja does not match /repository/phpdoc-ja cvs checkout: ignoring module phpdoc-ja-dir cvs checkout: existing repository /repository/phpdoc/kr does not match /repository/phpdoc-kr cvs checkout: ignoring module phpdoc-kr-dir Previous Comments: [2006-02-16 04:15:42] [EMAIL PROTECTED] Description: Documentation Howto says You also have the ability of checking out infrastructure the complete build and all the languages. You can do this with: $ cvs checkout phpdoc-all (http://doc.php.net/php/dochowto/cvs-checkout.php) but we can't check out Japaneese (and Korean) documentation by this command. Reproduce code: --- $ cvs -d:pserver:[EMAIL PROTECTED]:/repository login $ cvs -d:pserver:[EMAIL PROTECTED]:/repository checkout phpdoc-all $ ls phpdoc-all/ja/ Expected result: Same as the following. $ cvs -d:pserver:[EMAIL PROTECTED]:/repository login $ cvs -d:pserver:[EMAIL PROTECTED]:/repository checkout phpdoc-ja-dir $ ls ja/ Actual result: -- The directory is empty (only 'CVS' directory exists). -- Edit this bug report at http://bugs.php.net/?id=36408edit=1
[PHP-DOC] #36409 [NEW]: Incorrect function description on php.net
From: robeddielee at hotmail dot com Operating system: Any PHP version: Irrelevant PHP Bug Type: Documentation problem Bug description: Incorrect function description on php.net Description: http://us2.php.net/manual/en/function.ctype-cntrl.php The description for this function has an 'e.g.' list of control characters. This list should be terminated with the latin abbreviation 'etc' but instead reads 'esc'. Especially in this context this is very confusing. In fact maybe 'escape' is what was meant here. This statement should probably be written more clearly. Reproduce code: --- N/A Expected result: N/A Actual result: -- N/A -- Edit bug report at http://bugs.php.net/?id=36409edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36409r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36409r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36409r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=36409r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=36409r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=36409r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=36409r=needscript Try newer version:http://bugs.php.net/fix.php?id=36409r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=36409r=support Expected behavior:http://bugs.php.net/fix.php?id=36409r=notwrong Not enough info: http://bugs.php.net/fix.php?id=36409r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=36409r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=36409r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36409r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=36409r=dst IIS Stability:http://bugs.php.net/fix.php?id=36409r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=36409r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=36409r=float No Zend Extensions: http://bugs.php.net/fix.php?id=36409r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=36409r=mysqlcfg