#22038 [Fbk]: array() doesn't work right

From: Date: Tue, 04 Feb 2003 07:42:28 +0000
Subject: #22038 [Fbk]: array() doesn't work right
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-32043@lists.php.net to get a copy of this message
ID: 22038 Updated by: k.schroeder@php.net Reported By: k.schroeder@php.net Status: Feedback Bug Type: Zend Engine 2 problem Operating System: Windows 2000 Server PHP Version: 5CVS-2003-02-03 (dev) New Comment: I've tested with latestet php4-win32 snap and latestest source snaps of PHP4 and PHP5 on Linux. All these tests works, it's only a problem with PHP5 + Win. Critical in my eyes because /run-tests.php doesn't work and array's are important. Previous Comments: ------------------------------------------------------------------------ [2003-02-04 00:33:23] moriyoshi@php.net s/intentionally/intensively/ ------------------------------------------------------------------------ [2003-02-04 00:31:24] moriyoshi@php.net Did you try one of the branch version (ZE1)? And I suppose we have to look into the problem more intentionally before marking this as critical. ------------------------------------------------------------------------ [2003-02-03 18:04:07] k.schroeder@php.net Looks like an windows only problem. It works on Linux with latest source snap. Please verify on other operating systems. ------------------------------------------------------------------------ [2003-02-03 17:53:18] k.schroeder@php.net /run-tests.php doesn't work with latest php5-win32 snap on W2kserver. Every second array value get an array key. declaration (line 141): $ini_overwrites = array( 'output_handler=', 'zlib.output_compression=Off', 'open_basedir=', 'safe_mode=0', 'disable_functions=', 'output_buffering=Off', 'error_reporting=2047', 'display_errors=1', 'log_errors=0', 'html_errors=0', 'track_errors=1', 'report_memleaks=1', 'report_zend_debug=0', 'docref_root=/phpmanual/', 'docref_ext=.html', 'error_prepend_string=', 'error_append_string=', 'auto_prepend_file=', 'auto_append_file=', 'magic_quotes_runtime=0', ); var_dump($settings); (added on line 794): array(11) { [""]=> string(15) "output_handler=" ["zlib.output_compression=Off"]=> string(13) "open_basedir=" ["safe_mode=0"]=> string(18) "disable_functions=" ["output_buffering=Off"]=> string(20) "error_reporting=2047" ["display_errors=1"]=> string(12) "log_errors=0" ["html_errors=0"]=> string(14) "track_errors=1" ["report_memleaks=1"]=> string(19) "report_zend_debug=0" ["docref_root=/phpmanual/"]=> string(16) "docref_ext=.html" ["error_prepend_string="]=> string(20) "error_append_string=" ["auto_prepend_file="]=> string(17) "auto_append_file=" ["magic_quotes_runtime=0"]=> &array(1) { ["magic_quotes_runtime=0"]=> &array(1) { ["magic_quotes_runtime=0"]=> *RECURSION* } } } ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22038&edit=1

« previous php.bugs (#32043) next »