Test results for 5.0.2 [failed]

From: Date: Mon, 22 Nov 2004 09:27:57 +0000
Subject: Test results for 5.0.2 [failed]
Groups: php.qa 
Request: Send a blank email to php-qa+get-21458@lists.php.net to get a copy of this message
===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Bug #29944 (function defined in switch crashes PHP) [tests/lang/bug29944.phpt] Bug #22836 (returning references to NULL) [Zend/tests/bug22836.phpt] Bug #14293 (serialize() and __sleep()) [ext/standard/tests/serialize/bug14293.phpt] Bug #20382 (strtotime ("Monday", $date) produces wrong result on DST changeover) [ext/standard/tests/time/bug20382.phpt] ===================================================================== ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 78 Exts tested : 2 --------------------------------------------------------------------- Number of tests : 1262 527 Tests skipped : 735 (58.2%) -------- Tests warned : 0 (0.0%) (0.0%) Tests failed : 4 (0.3%) (0.8%) Tests passed : 523 (41.4%) (99.2%) --------------------------------------------------------------------- Time taken : 50 seconds ===================================================================== ===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Bug #29944 (function defined in switch crashes PHP) [tests/lang/bug29944.phpt] Bug #22836 (returning references to NULL) [Zend/tests/bug22836.phpt] Bug #14293 (serialize() and __sleep()) [ext/standard/tests/serialize/bug14293.phpt] Bug #20382 (strtotime ("Monday", $date) produces wrong result on DST changeover) [ext/standard/tests/time/bug20382.phpt] ===================================================================== ================================================================================ /usr/local/src/websrv/build/php-5.0.2/tests/lang/bug29944.phpt ================================================================================ ---- EXPECTED OUTPUT 1 ===DONE=== ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001+ 001- 1 002- ===DONE=== ================================================================================ ================================================================================ /usr/local/src/websrv/build/php-5.0.2/Zend/tests/bug22836.phpt ================================================================================ ---- EXPECTED OUTPUT string(3) "foo" 'foo' Notice: Undefined variable: a in %s on line %d Strict Standards: Only variable references should be returned by reference in %s on line %d string(3) "foo" 'foo' Notice: Undefined variable: a in %s on line %d Strict Standards: Only variable references should be returned by reference in %s on line %d string(3) "foo" 'foo' Notice: Undefined variable: a in %s on line %d Strict Standards: Only variable references should be returned by reference in %s on line %d string(3) "foo" 'foo' Notice: Undefined variable: a in %s on line %d Strict Standards: Only variable references should be returned by reference in %s on line %d string(3) "foo" 'foo' Notice: Undefined variable: a in %s on line %d Strict Standards: Only variable references should be returned by reference in %s on line %d string(3) "foo" 'foo' Notice: Undefined variable: a in %s on line %d Strict Standards: Only variable references should be returned by reference in %s on line %d string(3) "foo" 'foo' Notice: Undefined variable: a in %s on line %d Strict Standards: Only variable references should be returned by reference in %s on line %d string(3) "foo" 'foo' Notice: Undefined variable: a in %s on line %d Strict Standards: Only variable references should be returned by reference in %s on line %d string(3) "foo" 'foo' Notice: Undefined variable: a in %s on line %d Strict Standards: Only variable references should be returned by reference in %s on line %d ---- ACTUAL OUTPUT string(3) "foo" 'foo' Notice: Undefined variable: a in /usr/local/src/websrv/build/php-5.0.2/Zend/tests/bug22836.php on line 7 Strict Standards: Only variable references should be returned by reference in /usr/local/src/websrv/build/php-5.0.2/Zend/tests/bug22836.php on line 7 string(3) "foo" 'foo' Notice: Undefined variable: a in /usr/local/src/websrv/build/php-5.0.2/Zend/tests/bug22836.php on line 7 Strict Standards: Only variable references should be returned by reference in /usr/local/src/websrv/build/php-5.0.2/Zend/tests/bug22836.php on line 7 NULL 'foo' Notice: Undefined variable: a in /usr/local/src/websrv/build/php-5.0.2/Zend/tests/bug22836.php on line 7 NULL 'foo' Notice: Undefined variable: a in /usr/local/src/websrv/build/php-5.0.2/Zend/tests/bug22836.php on line 7 NULL 'foo' Notice: Undefined variable: a in /usr/local/src/websrv/build/php-5.0.2/Zend/tests/bug22836.php on line 7 NULL 'foo' Notice: Undefined variable: a in /usr/local/src/websrv/build/php-5.0.2/Zend/tests/bug22836.php on line 7 NULL 'foo' Notice: Undefined variable: a in /usr/local/src/websrv/build/php-5.0.2/Zend/tests/bug22836.php on line 7 NULL 'foo' Notice: Undefined variable: a in /usr/local/src/websrv/build/php-5.0.2/Zend/tests/bug22836.php on line 7 ---- FAILED ================================================================================ 013+ NULL 013- string(3) "foo" 017+ NULL 018+ 'foo' 018- Strict Standards: Only variable references should be returned by reference in %s on line %d 019- string(3) "foo" 020+ Notice: Undefined variable: a in /usr/local/src/websrv/build/php-5.0.2/Zend/tests/bug22836.php on line 7 021+ NULL 022+ 'foo' 023+ 024+ Notice: Undefined variable: a in /usr/local/src/websrv/build/php-5.0.2/Zend/tests/bug22836.php on line 7 025+ NULL 026+ 'foo' 027+ 028+ Notice: Undefined variable: a in /usr/local/src/websrv/build/php-5.0.2/Zend/tests/bug22836.php on line 7 029+ NULL 030+ 'foo' 031+ 032+ Notice: Undefined variable: a in /usr/local/src/websrv/build/php-5.0.2/Zend/tests/bug22836.php on line 7 033+ NULL 023- 024- Strict Standards: Only variable references should be returned by reference in %s on line %d 025- string(3) "foo" 026- 'foo' 027- 028- Notice: Undefined variable: a in %s on line %d 029- 030- Strict Standards: Only variable references should be returned by reference in %s on line %d 031- string(3) "foo" 032- 'foo' 033- 034- Notice: Undefined variable: a in %s on line %d 035- 036- Strict Standards: Only variable references should be returned by reference in %s on line %d 037- string(3) "foo" 038- 'foo' 039- 040- Notice: Undefined variable: a in %s on line %d 041- 042- Strict Standards: Only variable references should be returned by reference in %s on line %d 043- string(3) "foo" 044- 'foo' 045- 046- Notice: Undefined variable: a in %s on line %d 047- 048- Strict Standards: Only variable references should be returned by reference in %s on line %d 049- string(3) "foo" 050- 'foo' 051- 052- Notice: Undefined variable: a in %s on line %d 053- 054- Strict Standards: Only variable references should be returned by reference in %s on line %d ================================================================================ ================================================================================ /usr/local/src/websrv/build/php-5.0.2/ext/standard/tests/serialize/bug14293.phpt ================================================================================ ---- EXPECTED OUTPUT __sleep called O:1:"t":2:{s:1:"a";s:5:"hello";s:1:"b";N;} object(t)#%d (2) { ["a"]=> string(5) "hello" ["b"]=> NULL } ---- ACTUAL OUTPUT __sleep called Notice: serialize(): "b" returned as member variable from __sleep() but does not exist in /usr/local/src/websrv/build/php-5.0.2/ext/standard/tests/serialize/bug14293.php on line 17 O:1:"t":2:{s:1:"a";s:5:"hello";s:1:"b";N;} object(t)#2 (2) { ["a"]=> string(5) "hello" ["b"]=> NULL } ---- FAILED ================================================================================ 002+ 003+ Notice: serialize(): "b" returned as member variable from __sleep() but does not exist in /usr/local/src/websrv/build/php-5.0.2/ext/standard/tests/serialize/bug14293.php on line 17 ================================================================================ ================================================================================ /usr/local/src/websrv/build/php-5.0.2/ext/standard/tests/time/bug20382.phpt ================================================================================ ---- EXPECTED OUTPUT tStamp=Wednesday 2004-10-27 17:17:17 CEST result=Monday 2004-11-01 00:00:00 CET wanted=Monday 2004-11-01 00:00:00 CET ---- ACTUAL OUTPUT tStamp=Wednesday 2004-10-27 17:17:17 CEST result=Sunday 2004-10-31 23:00:00 CET wanted=Monday 2004-11-01 00:00:00 CET ---- FAILED ================================================================================ 002+ result=Sunday 2004-10-31 23:00:00 CET 002- result=Monday 2004-11-01 00:00:00 CET ================================================================================ ================================================================================ BUILD ENVIRONMENT ================================================================================ OS: Linux - Linux weblx2.luthresearch.net 2.4.20-20.7 #1 Mon Aug 18 14:56:30 EDT 2003 i686 Automake: automake (GNU automake) 1.4-p5 Copyright (C) 1999, 2001 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. Written by Tom Tromey <tromey@cygnus.com> Autoconf: Autoconf version 2.13 Bundled Libtool: ltmain.sh (GNU libtool) 1.4.3 (1.922.2.110 2002/10/23 01:39:54) System Libtool: ltmain.sh (GNU libtool) 1.4.2 (1.922.2.54 2001/09/11 03:33:37) Compiler: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113) 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 (0x4001b000) libresolv.so.2 => /lib/libresolv.so.2 (0x40049000) libm.so.6 => /lib/i686/libm.so.6 (0x4005a000) libdl.so.2 => /lib/libdl.so.2 (0x4007c000) libnsl.so.1 => /lib/libnsl.so.1 (0x4007f000) libc.so.6 => /lib/i686/libc.so.6 (0x42000000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) User's E-mail: cbabcock at luthresearch dot com ================================================================================ PHPINFO ================================================================================ phpinfo() PHP Version => 5.0.2 System => Linux weblx2.luthresearch.net 2.4.20-20.7 #1 Mon Aug 18 14:56:30 EDT 2003 i686 Build Date => Nov 22 2004 01:27:44 Configure Command => './configure' '--prefix=/usr/local/php5' '--enable-fastcgi' '--disable-all' '--enable-force-cgi-redirect' '--enable-inline-optimization' '--with-pic' '--disable-rpath' '--enable-memory-limit' '--disable-debug' '--disable-short-tags' '--enable-versioning' '--with-pcre-regex' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /usr/local/php5/lib PHP API => 20031224 PHP Extension => 20040412 Zend Extension => 220040412 Debug Build => no Thread Safety => disabled IPv6 Support => enabled Registered PHP Streams => php, file, http, ftp Registered Stream Socket Transports => tcp, udp, unix, udg This program makes use of the Zend Scripting Language Engine: Zend Engine v2.0.2, Copyright (c) 1998-2004 Zend Technologies _______________________________________________________________________ Configuration PHP Core Directive => Local Value => Master Value allow_call_time_pass_reference => On => On 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_globals_jit => On => On 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 => On => On 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 => no value => no value expose_php => On => On extension_dir => /usr/local/php5/lib/php/extensions/no-debug-non-zts-20040412 => /usr/local/php5/lib/php/extensions/no-debug-non-zts-20040412 file_uploads => On => On 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 => Off => Off log_errors_max_len => 1024 => 1024 magic_quotes_gpc => On => On magic_quotes_runtime => Off => Off magic_quotes_sybase => Off => Off mail.force_extra_parameters => no value => no value max_execution_time => 0 => 30 max_input_time => -1 => -1 memory_limit => 8M => 8M open_basedir => no value => no value output_buffering => 0 => 0 output_handler => no value => no value post_max_size => 8M => 8M precision => 14 => 14 register_argc_argv => On => On register_globals => Off => Off register_long_arrays => On => On report_memleaks => On => On report_zend_debug => Off => Off safe_mode => Off => Off safe_mode_exec_dir => /usr/local/php/bin => /usr/local/php/bin 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 => Off => Off 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 => EGPCS => EGPCS xmlrpc_error_number => 0 => 0 xmlrpc_errors => Off => Off y2k_compliance => On => On zend.ze1_compatibility_mode => Off => Off pcre PCRE (Perl Compatible Regular Expressions) Support => enabled PCRE Library Version => 4.5 01-December-2003 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 date.default_latitude => 31.7667 => 31.7667 date.default_longitude => 35.2333 => 35.2333 date.sunrise_zenith => 90.83 => 90.83 date.sunset_zenith => 90.83 => 90.83 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,form=,fieldset= => a=href,area=href,frame=src,form=,fieldset= user_agent => no value => no value Additional Modules Module Name Environment Variable => Value PWD => /usr/local/src/websrv/build/php-5.0.2 MAKEFLAGS => MFLAGS => HOSTNAME => weblx2.luthresearch.net REDIRECT_STATUS => TEST_PHP_EXECUTABLE => /usr/local/src/websrv/build/php-5.0.2/sapi/cli/php LESSOPEN => |/usr/bin/lesspipe.sh %s CC => gcc LS_COLORS => no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35: USER => root SCRIPT_FILENAME => MAIL => /var/spool/mail/root INPUTRC => /etc/inputrc BASH_ENV => /root/.bashrc PATH_TRANSLATED => LANG => en_US.iso885915 QUERY_STRING => CONTENT_LENGTH => MAKELEVEL => 1 SSH_CLIENT => deleted SHLVL => 3 LOGNAME => root _ => /usr/local/src/websrv/build/php-5.0.2/sapi/cli/php REQUEST_METHOD => SHELL => /bin/sh USERNAME => root TEST_PHP_SRCDIR => /usr/local/src/websrv/build/php-5.0.2 HISTSIZE => 1000 TERM => xterm HOME => /root SSH_AUTH_SOCK => deleted PATH => /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/root/bin SSH_TTY => deleted CONTENT_TYPE => PHP Variables Variable => Value _SERVER["PWD"] => /usr/local/src/websrv/build/php-5.0.2 _SERVER["MAKEFLAGS"] => _SERVER["MFLAGS"] => _SERVER["HOSTNAME"] => weblx2.luthresearch.net _SERVER["REDIRECT_STATUS"] => _SERVER["TEST_PHP_EXECUTABLE"] => /usr/local/src/websrv/build/php-5.0.2/sapi/cli/php _SERVER["LESSOPEN"] => |/usr/bin/lesspipe.sh %s _SERVER["CC"] => gcc _SERVER["LS_COLORS"] => no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35: _SERVER["USER"] => root _SERVER["SCRIPT_FILENAME"] => _SERVER["MAIL"] => /var/spool/mail/root _SERVER["INPUTRC"] => /etc/inputrc _SERVER["BASH_ENV"] => /root/.bashrc _SERVER["PATH_TRANSLATED"] => _SERVER["LANG"] => en_US.iso885915 _SERVER["QUERY_STRING"] => _SERVER["CONTENT_LENGTH"] => _SERVER["MAKELEVEL"] => 1 _SERVER["SSH_CLIENT"] => deleted _SERVER["SHLVL"] => 3 _SERVER["LOGNAME"] => root _SERVER["_"] => /usr/local/src/websrv/build/php-5.0.2/sapi/cli/php _SERVER["REQUEST_METHOD"] => _SERVER["SHELL"] => /bin/sh _SERVER["USERNAME"] => root _SERVER["TEST_PHP_SRCDIR"] => /usr/local/src/websrv/build/php-5.0.2 _SERVER["HISTSIZE"] => 1000 _SERVER["TERM"] => xterm _SERVER["HOME"] => /root _SERVER["SSH_AUTH_SOCK"] => deleted _SERVER["PATH"] => /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/root/bin _SERVER["SSH_TTY"] => deleted _SERVER["CONTENT_TYPE"] => _SERVER["PHP_SELF"] => _SERVER["SCRIPT_NAME"] => _SERVER["DOCUMENT_ROOT"] => _SERVER["argv"] => Array ( ) _SERVER["argc"] => 0 _ENV["PWD"] => /usr/local/src/websrv/build/php-5.0.2 _ENV["MAKEFLAGS"] => _ENV["MFLAGS"] => _ENV["HOSTNAME"] => weblx2.luthresearch.net _ENV["REDIRECT_STATUS"] => _ENV["TEST_PHP_EXECUTABLE"] => /usr/local/src/websrv/build/php-5.0.2/sapi/cli/php _ENV["LESSOPEN"] => |/usr/bin/lesspipe.sh %s _ENV["CC"] => gcc _ENV["LS_COLORS"] => no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35: _ENV["USER"] => root _ENV["SCRIPT_FILENAME"] => _ENV["MAIL"] => /var/spool/mail/root _ENV["INPUTRC"] => /etc/inputrc _ENV["BASH_ENV"] => /root/.bashrc _ENV["PATH_TRANSLATED"] => _ENV["LANG"] => en_US.iso885915 _ENV["QUERY_STRING"] => _ENV["CONTENT_LENGTH"] => _ENV["MAKELEVEL"] => 1 _ENV["SSH_CLIENT"] => deleted _ENV["SHLVL"] => 3 _ENV["LOGNAME"] => root _ENV["_"] => /usr/local/src/websrv/build/php-5.0.2/sapi/cli/php _ENV["REQUEST_METHOD"] => _ENV["SHELL"] => /bin/sh _ENV["USERNAME"] => root _ENV["TEST_PHP_SRCDIR"] => /usr/local/src/websrv/build/php-5.0.2 _ENV["HISTSIZE"] => 1000 _ENV["TERM"] => xterm _ENV["HOME"] => /root _ENV["SSH_AUTH_SOCK"] => deleted _ENV["PATH"] => /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/root/bin _ENV["SSH_TTY"] => deleted _ENV["CONTENT_TYPE"] => 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 (#21458) next »