PHP 4.3.5RC3 make test failure

From: Date: Tue, 24 Feb 2004 12:12:44 +0000
Subject: PHP 4.3.5RC3 make test failure
Groups: php.qa 
Request: Send a blank email to php-qa+get-15986@lists.php.net to get a copy of this message


===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Testing $argc and $argv handling (GET) [tests/basic/011.phpt] Bug #25547 (error_handler and array index with function call) [tests/lang/bug25547.phpt] ===================================================================== ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 78 Exts tested : 10 --------------------------------------------------------------------- Number of tests : 578 Tests skipped : 266 (46.0%) Tests warned : 0 ( 0.0%) Tests failed : 2 ( 0.3%) Tests passed : 310 (53.6%) --------------------------------------------------------------------- Time taken : 38 seconds ===================================================================== ================================================================================ /home/justin/install/php-4.3.5RC3/tests/basic/011.phpt ================================================================================ ---- EXPECTED OUTPUT 0: ab 1: cd 2: ef 3: 123 4: test ---- ACTUAL OUTPUT PHP Notice: Undefined index: argc in /home/justin/install/php-4.3.5RC3/tests/basic/011.php on line 4 PHP Notice: Undefined index: argv in /home/justin/install/php-4.3.5RC3/tests/basic/011.php on line 5 Content-type: text/html X-Powered-By: PHP/4.3.5RC3 ---- FAILED ================================================================================ 001- 0: ab 001+ PHP Notice: Undefined index: argc in /home/justin/install/php-4.3.5RC3/tests/basic/011.php on line 4 002- 1: cd 002+ PHP Notice: Undefined index: argv in /home/justin/install/php-4.3.5RC3/tests/basic/011.php on line 5 003- 2: ef 003+ Content-type: text/html 004- 3: 123 004+ X-Powered-By: PHP/4.3.5RC3 005- 4: test ================================================================================ ================================================================================ /home/justin/install/php-4.3.5RC3/tests/lang/bug25547.phpt ================================================================================ ---- EXPECTED OUTPUT handler(Undefined index: foo) Array ( [foo] => 1 ) Done ---- ACTUAL OUTPUT handler(Undefined index: foo) Array ( [(o] => 1 ) Done ---- FAILED ================================================================================ 004- [foo] => 1 004+ [(o] => 1 ================================================================================ ================================================================================ BUILD ENVIRONMENT ================================================================================ OS: Linux - Linux linux 2.4.19-4GB #1 Wed Dec 17 17:51:59 UTC 2003 i686 Automake: automake (GNU automake) 1.6.3 Written by Tom Tromey <tromey@redhat.com>. Copyright 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Autoconf: autoconf (GNU Autoconf) 2.53 Written by David J. MacKenzie and Akim Demaille. Copyright 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Libtool: ltmain.sh (GNU libtool) 1.4.3 (1.922.2.110 2002/10/23 01:39:54) Compiler: Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.2.2/specs Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib --enable-languages=c,c++,f77,objc,java,ada --enable-libgcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zlib --enable-shared --enable-__cxa_atexit i486-suse-linux Thread model: posix gcc version 3.2.2 Bison: bison (GNU Bison) 1.35 Copyright 1984, 1986, 1989, 1992, 2000, 2001, 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Libraries: libcrypt.so.1 => /lib/libcrypt.so.1 (0x40022000) libresolv.so.2 => /lib/libresolv.so.2 (0x40053000) libm.so.6 => /lib/i686/libm.so.6 (0x40065000) libdl.so.2 => /lib/libdl.so.2 (0x40088000) libnsl.so.1 => /lib/libnsl.so.1 (0x4008b000) libclntsh.so.9.0 => /u01/ora9/OraHome1/lib/libclntsh.so.9.0 (0x400a0000) libc.so.6 => /lib/i686/libc.so.6 (0x40a72000) libwtc9.so => /u01/ora9/OraHome1/lib/libwtc9.so (0x40b90000) libpthread.so.0 => /lib/i686/libpthread.so.0 (0x40b93000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) User's E-mail: jclift at ims dot telstra dot com dot au ================================================================================ PHPINFO ================================================================================ phpinfo() PHP Version => 4.3.5RC3 System => Linux linux 2.4.19-4GB #1 Wed Dec 17 17:51:59 UTC 2003 i686 Build Date => Feb 24 2004 19:48:33 Configure Command => './configure' '--prefix=/home/justin/local' '--without-mysql' '--disable-mysql' '--with-oci8' '--enable-cli' '--disable-pear' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /home/justin/local/lib/php.ini PHP API => 20020918 PHP Extension => 20020429 Zend Extension => 20021010 Debug Build => no Thread Safety => disabled Registered PHP Streams => php, http, ftp This program makes use of the Zend Scripting Language Engine: Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with DBG v2.11.23, (C) 2000,2001,2002,2003, by Dmitri Dmitrienko _______________________________________________________________________ Configuration PHP Core Directive => Local Value => Master Value allow_call_time_pass_reference => Off => Off allow_url_fopen => On => On always_populate_raw_post_data => Off => Off arg_separator.input => & => & arg_separator.output => & => & asp_tags => Off => Off auto_append_file => no value => no value auto_prepend_file => no value => no value browscap => no value => no value default_charset => no value => no value default_mimetype => text/html => text/html define_syslog_variables => Off => Off disable_classes => no value => no value disable_functions => no value => no value display_errors => Off => Off display_startup_errors => Off => Off doc_root => no value => no value docref_ext => no value => no value docref_root => no value => no value enable_dl => On => On error_append_string => no value => no value error_log => no value => no value error_prepend_string => no value => no value error_reporting => 2047 => 2047 expose_php => On => On extension_dir => /home/justin/local/lib/php/extensions/no-debug-non-zts-20020429 => /home/justin/local/lib/php/extensions/no-debug-non-zts-20020429 file_uploads => On => On gpc_order => GPC => GPC highlight.bg => #FFFFFF => #FFFFFF highlight.comment => #FF8000 => #FF8000 highlight.default => #0000BB => #0000BB highlight.html => #000000 => #000000 highlight.keyword => #007700 => #007700 highlight.string => #DD0000 => #DD0000 html_errors => Off => On ignore_repeated_errors => Off => Off ignore_repeated_source => Off => Off ignore_user_abort => Off => Off implicit_flush => On => Off include_path => .: => .: log_errors => On => On log_errors_max_len => 1024 => 1024 magic_quotes_gpc => Off => Off magic_quotes_runtime => Off => Off magic_quotes_sybase => Off => Off max_execution_time => 0 => 30 max_input_time => 60 => 60 open_basedir => no value => no value output_buffering => 0 => 4096 output_handler => no value => no value post_max_size => 8M => 8M precision => 14 => 14 register_argc_argv => On => Off register_globals => Off => Off report_memleaks => On => On safe_mode => Off => Off safe_mode_exec_dir => no value => no value safe_mode_gid => Off => Off safe_mode_include_dir => no value => no value sendmail_from => no value => no value sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i serialize_precision => 100 => 100 short_open_tag => On => On SMTP => localhost => localhost smtp_port => 25 => 25 sql.safe_mode => Off => Off track_errors => Off => Off unserialize_callback_func => no value => no value upload_max_filesize => 2M => 2M upload_tmp_dir => no value => no value user_dir => no value => no value variables_order => GPCS => GPCS xmlrpc_error_number => 0 => 0 xmlrpc_errors => Off => Off y2k_compliance => On => On ctype ctype functions => enabled dbg <TABLE BORDER=1 CELLPADDING=3 CELLSPACING=0 WIDTH=600 BGCOLOR=#33CCFF ALIGN="CENTER"><TR VALIGN='MIDDLE' ALIGN='CENTER'><TD><B><A HREF='http://www.nusphere.com/dbg' STYLE='color: #660880;'>DBG php debugger, version 2.11.23, Copyright 2001, 2002, Dmitri Dmitrienko, www.nusphere.com/dbg</A></B></TD></TR></TABLE><BR> Version => 2.11.23 Linked => as a shared library. Profiler => compiled, enabled Directive => Local Value => Master Value debugger.enable_session_cookie => On => On debugger.enabled => On => On debugger.fail_silently => On => On debugger.ignore_nops => Off => Off debugger.JIT_enabled => Off => Off debugger.JIT_host => clienthost => clienthost debugger.JIT_level => 3 => 3 debugger.JIT_port => 7869 => 7869 debugger.profiler_enabled => On => On debugger.session_nocache => On => On debugger.timeout_seconds => 300 => 300 oci8 OCI8 Support => enabled Revision => $Revision: 1.183.2.12 $ Oracle Version => 9.2 Compile-time ORACLE_HOME => /u01/ora9/OraHome1 Libraries Used => overload User-Space Object Overloading Support => enabled pcre PCRE (Perl Compatible Regular Expressions) Support => enabled PCRE Library Version => 4.5 01-December-2003 posix Revision => $Revision: 1.51.2.2 $ session Session Support => enabled Registered save handlers => files user Directive => Local Value => Master Value session.auto_start => Off => Off session.bug_compat_42 => Off => Off session.bug_compat_warn => On => On session.cache_expire => 180 => 180 session.cache_limiter => nocache => nocache session.cookie_domain => no value => no value session.cookie_lifetime => 0 => 0 session.cookie_path => / => / session.cookie_secure => Off => Off session.entropy_file => no value => no value session.entropy_length => 0 => 0 session.gc_divisor => 1000 => 1000 session.gc_maxlifetime => 1440 => 1440 session.gc_probability => 1 => 1 session.name => PHPSESSID => PHPSESSID session.referer_check => no value => no value session.save_handler => files => files session.save_path => /tmp => /tmp session.serialize_handler => php => php session.use_cookies => On => On session.use_only_cookies => Off => Off session.use_trans_sid => Off => Off standard Regex Library => Bundled library enabled Dynamic Library Support => enabled Path to sendmail => /usr/sbin/sendmail -t -i Directive => Local Value => Master Value assert.active => 1 => 1 assert.bail => 0 => 0 assert.callback => no value => no value assert.quiet_eval => 0 => 0 assert.warning => 1 => 1 auto_detect_line_endings => 0 => 0 default_socket_timeout => 60 => 60 safe_mode_allowed_env_vars => PHP_ => PHP_ safe_mode_protected_env_vars => LD_LIBRARY_PATH => LD_LIBRARY_PATH url_rewriter.tags => a=href,area=href,frame=src,input=src,form=fakeentry => a=href,area=href,frame=src,input=src,form=fakeentry user_agent => no value => no value tokenizer Tokenizer Support => enabled xml XML Support => active XML Namespace Support => active EXPAT Version => 1.95.6 Additional Modules Module Name Environment Variable => Value LESSKEY => /etc/lesskey.bin MANPATH => /usr/local/man:/usr/share/man:/usr/X11R6/man INFODIR => /usr/local/info:/usr/share/info:/usr/info NNTPSERVER => news SSH_AGENT_PID => 16158 HOSTNAME => linux TEST_PHP_SRCDIR => /home/justin/install/php-4.3.5RC3 XKEYSYMDB => /usr/X11R6/lib/X11/XKeysymDB DESKTOP_STARTUP_ID => TERM => xterm SHELL => /bin/sh HOST => linux PROFILEREAD => true MAKEFLAGS => GTK_RC_FILES => /etc/gtk/gtkrc:/home/justin/.gtkrc WINDOWID => 29361574 QTDIR => /home/justin/local/qt http_proxy => 203.18.113.242:3128 USER => justin LS_COLORS => no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31:ex=00;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.avi=01;35:*.bmp=01;35:*.fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.tga=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.dl=01;35:*.gl=01;35:*.aiff=00;32:*.au=00;32:*.mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32: SCRIPT_FILENAME => XNLSPATH => /usr/X11R6/lib/X11/nls SSH_AUTH_SOCK => /tmp/ssh-XXsf4NKO/agent.16126 HOSTTYPE => i386 SESSION_MANAGER => local/linux:/tmp/.ICE-unix/16126 USERNAME => justin MAKELEVEL => 1 PAGER => less MFLAGS => MINICOM => -c on PATH => /home/justin/local/bin:/home/justin/local/qt/bin:/u01/ora9/OraHome1/bin:/home/justin/local/bin:/home/justin/local/qt/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome2/bin:/opt/gnome/bin:/opt/kde3/bin DESKTOP_SESSION => gnome.desktop CPU => i686 _ => /home/justin/install/php-4.3.5RC3/sapi/cli/php PWD => /home/justin/install/php-4.3.5RC3 INPUTRC => /etc/inputrc EDITOR => /usr/bin/vim LANG => en_US TEST_PHP_EXECUTABLE => /home/justin/install/php-4.3.5RC3/sapi/cli/php REDIRECT_STATUS => PATH_TRANSLATED => GDMSESSION => gnome.desktop TEXINPUTS => :/home/justin/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX HOME => /home/justin SHLVL => 3 CONTENT_LENGTH => LESS_ADVANCED_PREPROCESSOR => no OSTYPE => linux LS_OPTIONS => -N --color=tty -T 0 no_proxy => localhost GNOME_DESKTOP_SESSION_ID => Default WINDOWMANAGER => /usr/X11R6/bin/kde LESS => -M -I LOGNAME => justin MACHTYPE => i686-suse-linux QUERY_STRING => PRINTER => lp LESSOPEN => lessopen.sh %s INFOPATH => /usr/local/info:/usr/share/info:/usr/info CONTENT_TYPE => DISPLAY => :0.0 CC => gcc ORACLE_HOME => /u01/ora9/OraHome1 REQUEST_METHOD => LESSCLOSE => lessclose.sh %s %s XAUTHORITY => /home/justin/.Xauthority COLORTERM => gnome-terminal PHP Variables Variable => Value _SERVER["LESSKEY"] => /etc/lesskey.bin _SERVER["MANPATH"] => /usr/local/man:/usr/share/man:/usr/X11R6/man _SERVER["INFODIR"] => /usr/local/info:/usr/share/info:/usr/info _SERVER["NNTPSERVER"] => news _SERVER["SSH_AGENT_PID"] => 16158 _SERVER["HOSTNAME"] => linux _SERVER["TEST_PHP_SRCDIR"] => /home/justin/install/php-4.3.5RC3 _SERVER["XKEYSYMDB"] => /usr/X11R6/lib/X11/XKeysymDB _SERVER["DESKTOP_STARTUP_ID"] => _SERVER["TERM"] => xterm _SERVER["SHELL"] => /bin/sh _SERVER["HOST"] => linux _SERVER["PROFILEREAD"] => true _SERVER["MAKEFLAGS"] => _SERVER["GTK_RC_FILES"] => /etc/gtk/gtkrc:/home/justin/.gtkrc _SERVER["WINDOWID"] => 29361574 _SERVER["QTDIR"] => /home/justin/local/qt _SERVER["http_proxy"] => 203.18.113.242:3128 _SERVER["USER"] => justin _SERVER["LS_COLORS"] => no=00:fi=00:di=01;34:ln=00;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31:ex=00;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:*.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.deb=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.zoo=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.tb2=00;31:*.tz2=00;31:*.tbz2=00;31:*.avi=01;35:*.bmp=01;35:*.fli=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.mng=01;35:*.mov=01;35:*.mpg=01;35:*.pcx=01;35:*.pbm=01;35:*.pgm=01;35:*.png=01;35:*.ppm=01;35:*.tga=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.dl=01;35:*.gl=01;35:*.aiff=00;32:*.au=00;32:*.mid=00;32:*.mp3=00;32:*.ogg=00;32:*.voc=00;32:*.wav=00;32: _SERVER["SCRIPT_FILENAME"] => _SERVER["XNLSPATH"] => /usr/X11R6/lib/X11/nls _SERVER["SSH_AUTH_SOCK"] => /tmp/ssh-XXsf4NKO/agent.16126 _SERVER["HOSTTYPE"] => i386 _SERVER["SESSION_MANAGER"] => local/linux:/tmp/.ICE-unix/16126 _SERVER["USERNAME"] => justin _SERVER["MAKELEVEL"] => 1 _SERVER["PAGER"] => less _SERVER["MFLAGS"] => _SERVER["MINICOM"] => -c on _SERVER["PATH"] => /home/justin/local/bin:/home/justin/local/qt/bin:/u01/ora9/OraHome1/bin:/home/justin/local/bin:/home/justin/local/qt/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/games:/opt/gnome2/bin:/opt/gnome/bin:/opt/kde3/bin _SERVER["DESKTOP_SESSION"] => gnome.desktop _SERVER["CPU"] => i686 _SERVER["_"] => /home/justin/install/php-4.3.5RC3/sapi/cli/php _SERVER["PWD"] => /home/justin/install/php-4.3.5RC3 _SERVER["INPUTRC"] => /etc/inputrc _SERVER["EDITOR"] => /usr/bin/vim _SERVER["LANG"] => en_US _SERVER["TEST_PHP_EXECUTABLE"] => /home/justin/install/php-4.3.5RC3/sapi/cli/php _SERVER["REDIRECT_STATUS"] => _SERVER["PATH_TRANSLATED"] => _SERVER["GDMSESSION"] => gnome.desktop _SERVER["TEXINPUTS"] => :/home/justin/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX _SERVER["HOME"] => /home/justin _SERVER["SHLVL"] => 3 _SERVER["CONTENT_LENGTH"] => _SERVER["LESS_ADVANCED_PREPROCESSOR"] => no _SERVER["OSTYPE"] => linux _SERVER["LS_OPTIONS"] => -N --color=tty -T 0 _SERVER["no_proxy"] => localhost _SERVER["GNOME_DESKTOP_SESSION_ID"] => Default _SERVER["WINDOWMANAGER"] => /usr/X11R6/bin/kde _SERVER["LESS"] => -M -I _SERVER["LOGNAME"] => justin _SERVER["MACHTYPE"] => i686-suse-linux _SERVER["QUERY_STRING"] => _SERVER["PRINTER"] => lp _SERVER["LESSOPEN"] => lessopen.sh %s _SERVER["INFOPATH"] => /usr/local/info:/usr/share/info:/usr/info _SERVER["CONTENT_TYPE"] => _SERVER["DISPLAY"] => :0.0 _SERVER["CC"] => gcc _SERVER["ORACLE_HOME"] => /u01/ora9/OraHome1 _SERVER["REQUEST_METHOD"] => _SERVER["LESSCLOSE"] => lessclose.sh %s %s _SERVER["XAUTHORITY"] => /home/justin/.Xauthority _SERVER["COLORTERM"] => gnome-terminal _SERVER["PHP_SELF"] => _SERVER["SCRIPT_NAME"] => _SERVER["DOCUMENT_ROOT"] => _SERVER["argv"] => Array ( ) _SERVER["argc"] => 0 PHP License This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact license@php.net.
« previous php.qa (#15986) next »