#47609 [NEW]: foreach() fails to compare key properly
From: se...@php.net Operating system: RHEL 5.3 PHP version: 5.2CVS-2009-03-09 (snap) PHP Bug Type: Arrays related Bug description: foreach() fails to compare key properly Description: Following script will print '4-FAIL' using php 5.2.9 build and today's snapshot php5.2-200903092130. Following returns true where $k = int(0), which is wrong: if ($k == 'abc') echo "3-FAIL\n"; Also confirmed this is failing on 5.1.6. Reproduce code: --- $v) { // $k is ONLY and ALWAYS ZERO (0) var_dump($k); var_dump($v); if ($k == 'abc') echo "4-FAIL\n"; if ($k === 'abc') echo "5-FAIL\n"; if ($v == 'abc') echo "6-FAIL\n"; } Expected result: Code should not print anything. Only key is int(0) and only value is int(4) -- Edit bug report at http://bugs.php.net/?id=47609&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47609&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47609&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47609&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=47609&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47609&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=47609&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=47609&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=47609&r=needscript Try newer version: http://bugs.php.net/fix.php?id=47609&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=47609&r=support Expected behavior: http://bugs.php.net/fix.php?id=47609&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=47609&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=47609&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=47609&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47609&r=php4 Daylight Savings:http://bugs.php.net/fix.php?id=47609&r=dst IIS Stability: http://bugs.php.net/fix.php?id=47609&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=47609&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=47609&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=47609&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=47609&r=mysqlcfg
#50616 [NEW]: Invalid version number with phpinfo()
From: se...@php.net Operating system: Windows 2003 R2 PHP version: 5.2.12 PHP Bug Type: PHP options/info functions Bug description: Invalid version number with phpinfo() Description: I got Windows zip package (not MSI) from website. This is version 5.2.12 I have Apache 2.2.13 configured with PHP. When I do phpinfo(), I see: PHP Version 5.2.9-1 System Windows NT XXX 5.2 build 3790 Build Date Mar 5 2009 20:01:54 So both version and build date does not match 5.2.12 release date. I do not have multiple php5ts.dll file and I did not do system level install. -- Edit bug report at http://bugs.php.net/?id=50616&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50616&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50616&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50616&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=50616&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50616&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=50616&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=50616&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=50616&r=needscript Try newer version: http://bugs.php.net/fix.php?id=50616&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=50616&r=support Expected behavior: http://bugs.php.net/fix.php?id=50616&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=50616&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=50616&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=50616&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50616&r=php4 Daylight Savings:http://bugs.php.net/fix.php?id=50616&r=dst IIS Stability: http://bugs.php.net/fix.php?id=50616&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=50616&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=50616&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=50616&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=50616&r=mysqlcfg
#50616 [Bgs]: Invalid version number with phpinfo()
ID: 50616 User updated by: se...@php.net Reported By: se...@php.net Status: Bogus Bug Type: PHP options/info functions Operating System: Windows 2003 R2 PHP Version: 5.2.12 New Comment: This server does have multiple installations which I cannot control. I just want to use PHP with zip package and already configured for Apache using a local folder with local php.ini There is no rule that only one PHP installation work on a system on Linux, unless its invented for Windows version. Previous Comments: [2009-12-31 17:49:47] j...@php.net Remove _EVERYTHING_ even remotely related to PHP in your system and reinstall. There's no bug here other than your bad installation and unclean system. [2009-12-31 04:14:13] se...@php.net Description: I got Windows zip package (not MSI) from website. This is version 5.2.12 I have Apache 2.2.13 configured with PHP. When I do phpinfo(), I see: PHP Version 5.2.9-1 System Windows NT XXX 5.2 build 3790 Build Date Mar 5 2009 20:01:54 So both version and build date does not match 5.2.12 release date. I do not have multiple php5ts.dll file and I did not do system level install. -- Edit this bug report at http://bugs.php.net/?id=50616&edit=1
[PHP-BUG] Bug #60324 [NEW]: Cannot validate any file in far directory
From: Operating system: PHP version: Irrelevant Package: Online Doc Editor problem Bug Type: Bug Bug description:Cannot validate any file in far directory Description: svn ci trial #0 svn: '/local/web/sites/edit.php.net/data/phpdoc-all/es/reference/yaf' is not a working copy svn ci trial #1 svn: '/local/web/sites/edit.php.net/data/phpdoc-all/es/reference/yaf' is not a working copy svn ci trial #2 svn: '/local/web/sites/edit.php.net/data/phpdoc-all/es/reference/yaf' is not a working copy -- Edit bug report at https://bugs.php.net/bug.php?id=60324&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=60324&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=60324&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=60324&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=60324&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=60324&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=60324&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=60324&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=60324&r=needscript Try newer version: https://bugs.php.net/fix.php?id=60324&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=60324&r=support Expected behavior: https://bugs.php.net/fix.php?id=60324&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=60324&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=60324&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=60324&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=60324&r=php4 Daylight Savings:https://bugs.php.net/fix.php?id=60324&r=dst IIS Stability: https://bugs.php.net/fix.php?id=60324&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=60324&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=60324&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=60324&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=60324&r=mysqlcfg
Bug #60324 [Opn]: Cannot validate any file in yaf directory
Edit report at https://bugs.php.net/bug.php?id=60324&edit=1 ID: 60324 User updated by: se...@php.net Reported by: se...@php.net -Summary:Cannot validate any file in far directory +Summary:Cannot validate any file in yaf directory Status: Open Type: Bug Package:Online Doc Editor problem PHP Version:Irrelevant Block user comment: N Private report: N New Comment: Sprry, 'yaf' directory, not 'far' directory Previous Comments: ---- [2011-11-17 22:49:19] se...@php.net Description: svn ci trial #0 svn: '/local/web/sites/edit.php.net/data/phpdoc-all/es/reference/yaf' is not a working copy svn ci trial #1 svn: '/local/web/sites/edit.php.net/data/phpdoc-all/es/reference/yaf' is not a working copy svn ci trial #2 svn: '/local/web/sites/edit.php.net/data/phpdoc-all/es/reference/yaf' is not a working copy -- Edit this bug report at https://bugs.php.net/bug.php?id=60324&edit=1
Bug #60324 [Asn]: Cannot validate any file in yaf directory
Edit report at https://bugs.php.net/bug.php?id=60324&edit=1 ID: 60324 User updated by: se...@php.net Reported by: se...@php.net Summary:Cannot validate any file in yaf directory Status: Assigned Type: Bug Package:Online Doc Editor problem PHP Version:Irrelevant Assigned To:yannick Block user comment: N Private report: N New Comment: Fixed. Now works, thanks... Previous Comments: [2011-11-18 06:58:06] yann...@php.net Could you try again please ? [2011-11-18 06:57:07] yann...@php.net Automatic comment from SVN on behalf of yannick Revision: http://svn.php.net/viewvc/?view=revision&revision=319440 Log: Add new directory. Close bug #60324 [2011-11-17 23:26:04] se...@php.net Sprry, 'yaf' directory, not 'far' directory -------- [2011-11-17 22:49:19] se...@php.net Description: svn ci trial #0 svn: '/local/web/sites/edit.php.net/data/phpdoc-all/es/reference/yaf' is not a working copy svn ci trial #1 svn: '/local/web/sites/edit.php.net/data/phpdoc-all/es/reference/yaf' is not a working copy svn ci trial #2 svn: '/local/web/sites/edit.php.net/data/phpdoc-all/es/reference/yaf' is not a working copy -- Edit this bug report at https://bugs.php.net/bug.php?id=60324&edit=1