Test results [failed]

From: Date: Sat, 11 Jan 2003 13:55:23 +0000
Subject: Test results [failed]
Groups: php.qa 
Request: Send a blank email to php-qa+get-7962@lists.php.net to get a copy of this message
===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Bug #20175 (Static vars can't store ref to new instance) [tests/lang/bug20175.phpt] session object deserialization [ext/session/tests/003.phpt] session_set_save_handler test [ext/session/tests/004.phpt] custom save handler, multiple session_start()s, complex data structure test. [ext/session/tests/005.phpt] ===================================================================== ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 71 Exts tested : 16 --------------------------------------------------------------------- Number of tests : 466 Tests skipped : 175 (37.6%) Tests failed : 4 ( 0.9%) Tests passed : 287 (61.6%) --------------------------------------------------------------------- Time taken : 61 seconds ===================================================================== ================================================================================ /root/downloads/web/php5-200301111030/tests/lang/bug20175.phpt ================================================================================ ---- EXPECTED OUTPUT %s foo_static() foo_global() foo:1 foo_static() foo:1 bar_static() bar_global() bar:1 bar_static() bar_global() bar:2 wow_static() wow_global() wow:1 wow_static() wow:1 oop_test() oop_static() oop_class() oop:1 oop_static() oop:1 oop_test() oop_static() oop:1 ---- ACTUAL OUTPUT Parse error: parse error, expecting `'('' in /root/downloads/web/php5-200301111030/tests/lang/bug20175.php on line 109 ---- FAILED ================================================================================ 001- %s 001+ Parse error: parse error, expecting `'('' in /root/downloads/web/php5-200301111030/tests/lang/bug20175.php on line 109 002- foo_static() 003- foo_global() 004- foo:1 005- foo_static() 006- foo:1 007- bar_static() 008- bar_global() 009- bar:1 010- bar_static() 011- bar_global() 012- bar:2 013- wow_static() 014- wow_global() 015- wow:1 016- wow_static() 017- wow:1 018- oop_test() 019- oop_static() 020- oop_class() 021- oop:1 022- oop_static() 023- oop:1 024- oop_test() 025- oop_static() 026- oop:1 ================================================================================ ================================================================================ /root/downloads/web/php5-200301111030/ext/session/tests/003.phpt ================================================================================ ---- EXPECTED OUTPUT object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } array(1) { [3]=> &object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } } ---- ACTUAL OUTPUT object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } array(1) { [3]=> object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } } ---- FAILED ================================================================================ 009- &object(foo)(2) { 009+ object(foo)(2) { ================================================================================ ================================================================================ /root/downloads/web/php5-200301111030/ext/session/tests/004.phpt ================================================================================ ---- EXPECTED OUTPUT OPEN: PHPSESSID READ: abtest object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } array(1) { [3]=> &object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } } WRITE: abtest, baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:2;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:2;}} OPEN: PHPSESSID READ: abtest object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } array(1) { [3]=> object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } } DESTROY: abtest ---- ACTUAL OUTPUT OPEN: PHPSESSID READ: abtest object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } array(1) { [3]=> object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } } WRITE: abtest, baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:2;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:2;}} OPEN: PHPSESSID READ: abtest object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } array(1) { [3]=> object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } } DESTROY: abtest ---- FAILED ================================================================================ 011- &object(foo)(2) { 011+ object(foo)(2) { ================================================================================ ================================================================================ /root/downloads/web/php5-200301111030/ext/session/tests/005.phpt ================================================================================ ---- EXPECTED OUTPUT OPEN: PHPSESSID READ: abtest object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } array(1) { [3]=> &object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } } WRITE: abtest, baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:2;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:2;}} CLOSE OPEN: PHPSESSID READ: abtest object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(3) } array(1) { [3]=> &object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(3) } } int(123) WRITE: abtest, baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:3;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:3;}}c|i:123; CLOSE OPEN: PHPSESSID READ: abtest object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(3) } array(1) { [3]=> object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(3) } } int(123) DESTROY: abtest CLOSE ---- ACTUAL OUTPUT OPEN: PHPSESSID READ: abtest object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } array(1) { [3]=> object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(2) } } WRITE: abtest, baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:2;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:2;}} CLOSE OPEN: PHPSESSID READ: abtest object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(3) } array(1) { [3]=> object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(3) } } int(123) WRITE: abtest, baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:3;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:3;}}c|i:123; CLOSE OPEN: PHPSESSID READ: abtest object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(3) } array(1) { [3]=> object(foo)(2) { ["bar"]=> string(2) "ok" ["yes"]=> int(3) } } int(123) DESTROY: abtest CLOSE ---- FAILED ================================================================================ 011- &object(foo)(2) { 011+ object(foo)(2) { 030- &object(foo)(2) { 030+ object(foo)(2) { ================================================================================ ================================================================================ BUILD ENVIRONMENT ================================================================================ OS: FreeBSD Automake: 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.2 (1.922.2.53 2001/09/11 03:18:52) Compiler: Using builtin specs. gcc version 2.95.3 20010315 (release) [FreeBSD] 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. User's E-mail: ================================================================================ PHPINFO ================================================================================ phpinfo() PHP Version => 5.0.0-dev System => FreeBSD netmail.hk-site.com 4.6.2-RELEASE-p5 FreeBSD 4.6.2-RELEASE-p5 #0: Fr i386 Build Date => Jan 11 2003 21:48:39 Configure Command => './configure' '--with-apxs2=/www/bin/apxs' '--with-gd=/usr/local' '--with-mysql=/usr/local' '--with-config-file-path=/etc' '--enable-zend-multibyte' '--enable-track-vars' '--enable-discard-path' '--enable-gd-native-ttf' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--enable-sockets' '--enable-exif' '--enable-ftp' '--enable-mbstring' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /etc PHP API => 20020918 PHP Extension => 20020429 Zend Extension => 90021012 Debug Build => no Thread Safety => disabled Registered PHP Streams => php, http, ftp This program makes use of the Zend Scripting Language Engine: Zend Engine v2.0.0-dev, Copyright (c) 1998-2003 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_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_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 => http://www.php.net/ => http://www.php.net/ 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/lib/php/extensions/no-debug-non-zts-20020429 => /usr/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 => .:/usr/local/lib/php => .:/usr/local/lib/php 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 max_execution_time => 0 => 30 max_input_time => -1 => -1 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 report_memleaks => On => On report_zend_debug => On => On safe_mode => Off => Off safe_mode_exec_dir => 1 => 1 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 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 => no value => no value xmlrpc_error_number => 0 => 0 xmlrpc_errors => Off => Off y2k_compliance => On => On ctype ctype functions => enabled exif EXIF Support => enabled EXIF Version => 1.4 $Id: exif.c,v 1.137 2002/12/31 16:06:32 sebastian Exp $ Supported EXIF Version => 0220 Supported filetypes => JPEG,TIFF ftp FTP support => enabled gd GD Support => enabled GD Version => 2.0 or higher GIF Read Support => enabled GIF Create Support => enabled JPG Support => enabled PNG Support => enabled WBMP Support => enabled mbstring Multibyte Support => enabled Japanese support => enabled Multibyte (japanese) regex support => enabled Directive => Local Value => Master Value mbstring.detect_order => no value => no value mbstring.encoding_translation => Off => Off mbstring.func_overload => 0 => 0 mbstring.http_input => pass => pass mbstring.http_output => pass => pass mbstring.internal_encoding => none => none mbstring.language => neutral => neutral mbstring.substitute_character => no value => no value mysql MySQL Support => enabled Active Persistent Links => 0 Active Links => 0 Client API version => 4.0.6-gamma MYSQL_MODULE_TYPE => external MYSQL_SOCKET => /tmp/mysql.sock MYSQL_INCLUDE => -I/usr/local/include/mysql MYSQL_LIBS => -L/usr/local/lib/mysql -lmysqlclient Directive => Local Value => Master Value mysql.allow_persistent => On => On mysql.connect_timeout => -1 => -1 mysql.default_host => no value => no value mysql.default_password => no value => no value mysql.default_port => no value => no value mysql.default_socket => no value => no value mysql.default_user => no value => no value mysql.max_links => Unlimited => Unlimited mysql.max_persistent => Unlimited => Unlimited mysql.trace_mode => Off => Off pcre PCRE (Perl Compatible Regular Expressions) Support => enabled PCRE Library Version => 3.92 11-Sep-2002 posix Revision => $Revision: 1.52 $ session Session Support => enabled Registered save handlers => files user Directive => Local Value => Master Value session.auto_start => Off => Off session.bug_compat_42 => On => On 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_dividend => 100 => 100 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 sockets Sockets Support => enabled 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,form=,fieldset= => a=href,area=href,frame=src,form=,fieldset= user_agent => no value => no value sysvmsg sysvmsg support => enabled Revision => $Revision: 1.6 $ tokenizer Tokenizer Support => enabled xml XML Support => active XML Namespace Support => active EXPAT Version => 1.95.5 Additional Modules Module Name sysvsem sysvshm Environment Variable => Value CONTENT_TYPE => USER => root SSH_CLIENT => deleted MACHTYPE => i386 MAIL => /var/mail/root VENDOR => intel SHLVL => 1 QUERY_STRING => HOME => /root TEST_PHP_SRCDIR => /root/downloads/web/php5-200301111030 SSH_TTY => deleted PAGER => more CONTENT_LENGTH => SCRIPT_FILENAME => PATH_TRANSLATED => GROUP => wheel LOGNAME => root TEST_PHP_EXECUTABLE => /root/downloads/web/php5-200301111030/sapi/cli/php TERM => xterm BLOCKSIZE => K PATH => /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin REMOTEHOST => vpptn97220.hk-site.com SSH_AUTH_SOCK => deleted SHELL => /bin/csh HOST => netmail.hk-site.com REDIRECT_STATUS => REQUEST_METHOD => OSTYPE => FreeBSD PWD => /root/downloads/web/php5-200301111030 FTP_PASSIVE_MODE => YES CC => gcc HOSTTYPE => FreeBSD EDITOR => vi PHP Variables Variable => Value _SERVER["CONTENT_TYPE"] => _SERVER["USER"] => root _SERVER["SSH_CLIENT"] => deleted _SERVER["MACHTYPE"] => i386 _SERVER["MAIL"] => /var/mail/root _SERVER["VENDOR"] => intel _SERVER["SHLVL"] => 1 _SERVER["QUERY_STRING"] => _SERVER["HOME"] => /root _SERVER["TEST_PHP_SRCDIR"] => /root/downloads/web/php5-200301111030 _SERVER["SSH_TTY"] => deleted _SERVER["PAGER"] => more _SERVER["CONTENT_LENGTH"] => _SERVER["SCRIPT_FILENAME"] => _SERVER["PATH_TRANSLATED"] => _SERVER["GROUP"] => wheel _SERVER["LOGNAME"] => root _SERVER["TEST_PHP_EXECUTABLE"] => /root/downloads/web/php5-200301111030/sapi/cli/php _SERVER["TERM"] => xterm _SERVER["BLOCKSIZE"] => K _SERVER["PATH"] => /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin _SERVER["REMOTEHOST"] => vpptn97220.hk-site.com _SERVER["SSH_AUTH_SOCK"] => deleted _SERVER["SHELL"] => /bin/csh _SERVER["HOST"] => netmail.hk-site.com _SERVER["REDIRECT_STATUS"] => _SERVER["REQUEST_METHOD"] => _SERVER["OSTYPE"] => FreeBSD _SERVER["PWD"] => /root/downloads/web/php5-200301111030 _SERVER["FTP_PASSIVE_MODE"] => YES _SERVER["CC"] => gcc _SERVER["HOSTTYPE"] => FreeBSD _SERVER["EDITOR"] => vi _SERVER["PHP_SELF"] => _SERVER["SCRIPT_NAME"] => _SERVER["DOCUMENT_ROOT"] => _SERVER["argv"] => Array ( ) _SERVER["argc"] => 0 _ENV["CONTENT_TYPE"] => _ENV["USER"] => root _ENV["SSH_CLIENT"] => deleted _ENV["MACHTYPE"] => i386 _ENV["MAIL"] => /var/mail/root _ENV["VENDOR"] => intel _ENV["SHLVL"] => 1 _ENV["QUERY_STRING"] => _ENV["HOME"] => /root _ENV["TEST_PHP_SRCDIR"] => /root/downloads/web/php5-200301111030 _ENV["SSH_TTY"] => deleted _ENV["PAGER"] => more _ENV["CONTENT_LENGTH"] => _ENV["SCRIPT_FILENAME"] => _ENV["PATH_TRANSLATED"] => _ENV["GROUP"] => wheel _ENV["LOGNAME"] => root _ENV["TEST_PHP_EXECUTABLE"] => /root/downloads/web/php5-200301111030/sapi/cli/php _ENV["TERM"] => xterm _ENV["BLOCKSIZE"] => K _ENV["PATH"] => /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin _ENV["REMOTEHOST"] => vpptn97220.hk-site.com _ENV["SSH_AUTH_SOCK"] => deleted _ENV["SHELL"] => /bin/csh _ENV["HOST"] => netmail.hk-site.com _ENV["REDIRECT_STATUS"] => _ENV["REQUEST_METHOD"] => _ENV["OSTYPE"] => FreeBSD _ENV["PWD"] => /root/downloads/web/php5-200301111030 _ENV["FTP_PASSIVE_MODE"] => YES _ENV["CC"] => gcc _ENV["HOSTTYPE"] => FreeBSD _ENV["EDITOR"] => vi 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 (#7962) next »