PHP test results 20031114

From: Date: Fri, 14 Nov 2003 10:50:37 +0000
Subject: PHP test results 20031114
Groups: php.qa 
Request: Send a blank email to php-qa+get-15794@lists.php.net to get a copy of this message
===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Bug #22592 (cascading assignments to strings with curly braces broken) [tests/lang/bug22592.phpt] Bug #24783 ($key not binary safe in "foreach($arr as $key => $val)") [tests/lang/bug24783.phpt] Bug #25547 (error_handler and array index with function call) [tests/lang/bug25547.phpt] Check for mktime with out-of-range parameters [ext/standard/tests/time/003.phpt] mktime() [ext/standard/tests/time/mktime.phpt] ===================================================================== ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 71 Exts tested : 17 --------------------------------------------------------------------- Number of tests : 535 Tests skipped : 180 (33.6%) Tests warned : 0 ( 0.0%) Tests failed : 5 ( 0.9%) Tests passed : 350 (65.4%) --------------------------------------------------------------------- Time taken : 89 seconds ===================================================================== ================================================================================ /usr/local/src/php-4.3.4/tests/lang/bug22592.phpt ================================================================================ ---- EXPECTED OUTPUT string(5) "* *-*" string(7) "* *-* *" string(7) "*4*-* *" string(7) "*4*s* *" string(8) "*4*s* *0" string(8) "*-*-* *0" string(8) "*-*s*s*0" string(8) "4-4s4s*0" string(9) "4-4s4s505" string(9) "454s4s505" string(1) "-" string(6) "string" int(4) int(5) string(1) "5" [Illegal string offset: -1] ---- ACTUAL OUTPUT string(5) "* *-*" string(7) "* *-* *" string(7) "*4*-* *" string(7) "*4*s* *" string(8) "*4*s* *0" string(8) "**-* *0" string(8) "***s*0" string(8) "4s*0" string(9) "4s05" string(9) "4s05" NULL NULL NULL NULL NULL [Illegal string offset: -1] ---- FAILED ================================================================================ 006- string(8) "*-*-* *0" 006+ string(8) "**-* *0" 007- string(8) "*-*s*s*0" 007+ string(8) "***s*0" 008- string(8) "4-4s4s*0" 008+ string(8) "4s*0" 009- string(9) "4-4s4s505" 009+ string(9) "4s05" 010- string(9) "454s4s505" 010+ string(9) "4s05" 011- string(1) "-" 011+ NULL 012- string(6) "string" 012+ NULL 013- int(4) 013+ NULL 014- int(5) 014+ NULL 015- string(1) "5" 015+ NULL ================================================================================ ================================================================================ /usr/local/src/php-4.3.4/tests/lang/bug24783.phpt ================================================================================ ---- EXPECTED OUTPUT 7: foo%00bar => foo%00bar ---- ACTUAL OUTPUT 3: foo => foo%00bar ---- FAILED ================================================================================ 001- 7: foo%00bar => foo%00bar 001+ 3: foo => foo%00bar ================================================================================ ================================================================================ /usr/local/src/php-4.3.4/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 ================================================================================ ================================================================================ /usr/local/src/php-4.3.4/ext/standard/tests/time/003.phpt ================================================================================ ---- EXPECTED OUTPUT 2000-02-29 2000-02-28 2000-02-29 2001-02-28 2001-03-01 1999-11-30 2000-05-29 12:00:00 2000-05-29 13:00:00 2000-05-29 12:00:00 2000-01-31 12:00:00 2000-01-31 12:00:00 2000-01-31 11:00:00 2000-04-29 12:00:00 2000-04-29 13:00:00 2000-04-29 12:00:00 ---- ACTUAL OUTPUT 2000-02-29 2000-02-28 2000-02-29 2001-02-28 2001-03-01 1999-11-30 2000-05-29 12:00:00 2000-05-29 07:00:00 2000-05-29 12:00:00 2000-01-31 12:00:00 2000-01-31 06:00:00 2000-01-31 11:00:00 2000-04-29 12:00:00 2000-04-29 07:00:00 2000-04-29 12:00:00 ---- FAILED ================================================================================ 008- 2000-05-29 13:00:00 008+ 2000-05-29 07:00:00 011- 2000-01-31 12:00:00 011+ 2000-01-31 06:00:00 014- 2000-04-29 13:00:00 014+ 2000-04-29 07:00:00 ================================================================================ ================================================================================ /usr/local/src/php-4.3.4/ext/standard/tests/time/mktime.phpt ================================================================================ ---- EXPECTED OUTPUT int(1009843200) int(1009843200) int(1009843200) int(1009843200) int(1025481600) int(1025481600) int(1025481600) int(1025481600) int(1009839600) int(1009839600) int(1009839600) int(1009836000) int(1025474400) int(1025474400) int(1025478000) int(1025474400) ---- ACTUAL OUTPUT int(1009843200) int(1009843200) int(1009843200) int(-3662) int(1025481600) int(1025481600) int(1025481600) int(-3662) int(1009839600) int(1009839600) int(1009839600) int(1009857600) int(1025474400) int(1025474400) int(1025456400) int(1025474400) ---- FAILED ================================================================================ 004- int(1009843200) 004+ int(-3662) 008- int(1025481600) 008+ int(-3662) 012- int(1009836000) 012+ int(1009857600) 015- int(1025478000) 015+ int(1025456400) ================================================================================ ================================================================================ BUILD ENVIRONMENT ================================================================================ OS: FreeBSD - FreeBSD diptyque.net 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Wed Aug i386 Automake: Autoconf: Libtool: ltmain.sh (GNU libtool) 1.4.3 (1.922.2.110 2002/10/23 01:39:54) Compiler: Using builtin specs. gcc version 2.95.3 20010315 (release) [FreeBSD] Bison: Libraries: /usr/local/src/php-4.3.4/sapi/cli/php: libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x283b9000) libc-client4.so.8 => /usr/local/lib/libc-client4.so.8 (0x283d2000) libmysqlclient.so.10 => /usr/local/lib/mysql/libmysqlclient.so.10 (0x2847b000) libpam.so.1 => /usr/lib/libpam.so.1 (0x28496000) libgd.so.2 => /usr/local/lib/libgd.so.2 (0x2849f000) libfreetype.so.7 => /usr/local/lib/libfreetype.so.7 (0x284de000) libpng.so.5 => /usr/local/lib/libpng.so.5 (0x28516000) libz.so.2 => /usr/lib/libz.so.2 (0x28538000) libjpeg.so.9 => /usr/local/lib/libjpeg.so.9 (0x28545000) libbz2.so.1 => /usr/lib/libbz2.so.1 (0x28563000) libm.so.2 => /usr/lib/libm.so.2 (0x28573000) libcurl.so.2 => /usr/local/lib/libcurl.so.2 (0x2858f000) libc.so.4 => /usr/lib/libc.so.4 (0x285b1000) libssl.so.2 => /usr/lib/libssl.so.2 (0x2864b000) libcrypto.so.2 => /usr/lib/libcrypto.so.2 (0x28678000) ================================================================================ PHPINFO ================================================================================ phpinfo() PHP Version => 4.3.4 System => FreeBSD diptyque.net 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Wed Aug i386 Build Date => Nov 14 2003 11:32:37 Configure Command => './configure' '--with-apxs=/usr/local/www/bin/apxs' '--with-mysql=/usr/local' '--with-openssl=/usr/local/ssl' '--with-gd=/usr/local' '--with-zlib' '--with-bz2' '--with-xml' '--with-freetype-dir=/usr/local' '--with-ttf' '--with-imap' '--with-curl' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr/local' '--prefix=/usr/local/www' '--with-config-file-path=/usr/local/www/etc' '--enable-mbstring' '--enable-mbregex' '--enable-zend-multibyte' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /usr/local/Zend/etc/php.ini PHP API => 20020918 PHP Extension => 20020429 Zend Extension => 20021010 Debug Build => no Thread Safety => disabled Registered PHP Streams => php, http, ftp, https, ftps, compress.bzip2, compress.zlib This program makes use of the Zend Scripting Language Engine: Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies with Zend Optimizer v2.1.0, Copyright (c) 1998-2003, by 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_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/www/lib/php/extensions/no-debug-non-zts-20020429 => /usr/local/www/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 => On => On ignore_repeated_errors => Off => Off ignore_repeated_source => Off => Off ignore_user_abort => Off => Off implicit_flush => Off => Off include_path => .:/usr/local/www/lib/php => .:/usr/local/www/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 => 30 => 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 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 => 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 Zend Optimizer Optimization Pass 1 => enabled Optimization Pass 2 => enabled Optimization Pass 3 => enabled Optimization Pass 9 => disabled Optimization Pass 10 => disabled Zend Loader => disabled License Path => bz2 BZip2 Support => Enabled BZip2 Version => 1.0.2, 30-Dec-2001 ctype ctype functions => enabled curl CURL support => enabled CURL Information => libcurl/7.10.2 OpenSSL/0.9.6a zlib/1.1.3 gd GD Support => enabled GD Version => 1.6.2 or higher FreeType Support => enabled FreeType Linkage => with freetype GIF Read Support => enabled JPG Support => enabled PNG Support => enabled WBMP Support => enabled imap IMAP c-Client Version => 2001 mbstring Multibyte Support => enabled Multibyte (japanese) regex support => enabled mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1. 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 => ISO-8859-1 => no value mbstring.language => neutral => neutral mbstring.script_encoding => no value => no value mbstring.substitute_character => no value => no value mysql MySQL Support => enabled Active Persistent Links => 0 Active Links => 0 Client API version => 3.23.46 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 => 60 => 60 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 openssl OpenSSL support => enabled OpenSSL Version => OpenSSL 0.9.6a 5 Apr 2001 overload User-Space Object Overloading Support => enabled pcre PCRE (Perl Compatible Regular Expressions) Support => enabled PCRE Library Version => 4.3 21-May-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 => 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_divisor => 100 => 100 session.gc_maxlifetime => 1800 => 1800 session.gc_probability => 10 => 10 session.name => _tag => _tag session.referer_check => no value => no value session.save_handler => files => files session.save_path => /usr/local/www/tmp => /usr/local/www/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,form=,fieldset= => a=href,area=href,frame=src,form=,fieldset= user_agent => no value => no value tokenizer Tokenizer Support => enabled xml XML Support => active XML Namespace Support => active EXPAT Version => 1.95.6 zlib ZLib Support => enabled Compiled Version => 1.1.3 Linked Version => 1.1.3 Directive => Local Value => Master Value zlib.output_compression => Off => Off zlib.output_compression_level => -1 => -1 zlib.output_handler => no value => no value Additional Modules Module Name Environment Variable => Value CONTENT_TYPE => USER => usr226042093 SSH_CLIENT => 193.252.173.4 59920 22 MACHTYPE => i386 MAIL => /var/mail/usr226042093 VENDOR => intel SHLVL => 2 QUERY_STRING => HOME => /root TEST_PHP_SRCDIR => /usr/local/src/php-4.3.4 SSH_TTY => /dev/ttyp0 PAGER => more CONTENT_LENGTH => SCRIPT_FILENAME => PATH_TRANSLATED => GROUP => usr226042093 LOGNAME => usr226042093 TEST_PHP_EXECUTABLE => /usr/local/src/php-4.3.4/sapi/cli/php BLOCKSIZE => K TERM => vt102 PATH => /usr/home/usr226042093:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/local/www/bin:/usr/libexec:/usr/games:/usr/home/usr226042093/bin:/stand REMOTEHOST => 193.252.173.4 SHELL => /bin/tcsh HOST => diptyque.net REDIRECT_STATUS => REQUEST_METHOD => PKG_PATH => /usr/ports/packages/All OSTYPE => FreeBSD PWD => /usr/local/src/php-4.3.4 FTP_PASSIVE_MODE => YES CC => gcc HOSTTYPE => FreeBSD MANPATH => /usr/share/man:/usr/local/man:/www/man EDITOR => pico PHP Variables Variable => Value _SERVER["CONTENT_TYPE"] => _SERVER["USER"] => usr226042093 _SERVER["SSH_CLIENT"] => 193.252.173.4 59920 22 _SERVER["MACHTYPE"] => i386 _SERVER["MAIL"] => /var/mail/usr226042093 _SERVER["VENDOR"] => intel _SERVER["SHLVL"] => 2 _SERVER["QUERY_STRING"] => _SERVER["HOME"] => /root _SERVER["TEST_PHP_SRCDIR"] => /usr/local/src/php-4.3.4 _SERVER["SSH_TTY"] => /dev/ttyp0 _SERVER["PAGER"] => more _SERVER["CONTENT_LENGTH"] => _SERVER["SCRIPT_FILENAME"] => _SERVER["PATH_TRANSLATED"] => _SERVER["GROUP"] => usr226042093 _SERVER["LOGNAME"] => usr226042093 _SERVER["TEST_PHP_EXECUTABLE"] => /usr/local/src/php-4.3.4/sapi/cli/php _SERVER["BLOCKSIZE"] => K _SERVER["TERM"] => vt102 _SERVER["PATH"] => /usr/home/usr226042093:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/local/www/bin:/usr/libexec:/usr/games:/usr/home/usr226042093/bin:/stand _SERVER["REMOTEHOST"] => 193.252.173.4 _SERVER["SHELL"] => /bin/tcsh _SERVER["HOST"] => diptyque.net _SERVER["REDIRECT_STATUS"] => _SERVER["REQUEST_METHOD"] => _SERVER["PKG_PATH"] => /usr/ports/packages/All _SERVER["OSTYPE"] => FreeBSD _SERVER["PWD"] => /usr/local/src/php-4.3.4 _SERVER["FTP_PASSIVE_MODE"] => YES _SERVER["CC"] => gcc _SERVER["HOSTTYPE"] => FreeBSD _SERVER["MANPATH"] => /usr/share/man:/usr/local/man:/www/man _SERVER["EDITOR"] => pico _SERVER["PHP_SELF"] => _SERVER["SCRIPT_NAME"] => _SERVER["DOCUMENT_ROOT"] => _SERVER["argv"] => Array ( ) _SERVER["argc"] => 0 _ENV["CONTENT_TYPE"] => _ENV["USER"] => usr226042093 _ENV["SSH_CLIENT"] => 193.252.173.4 59920 22 _ENV["MACHTYPE"] => i386 _ENV["MAIL"] => /var/mail/usr226042093 _ENV["VENDOR"] => intel _ENV["SHLVL"] => 2 _ENV["QUERY_STRING"] => _ENV["HOME"] => /root _ENV["TEST_PHP_SRCDIR"] => /usr/local/src/php-4.3.4 _ENV["SSH_TTY"] => /dev/ttyp0 _ENV["PAGER"] => more _ENV["CONTENT_LENGTH"] => _ENV["SCRIPT_FILENAME"] => _ENV["PATH_TRANSLATED"] => _ENV["GROUP"] => usr226042093 _ENV["LOGNAME"] => usr226042093 _ENV["TEST_PHP_EXECUTABLE"] => /usr/local/src/php-4.3.4/sapi/cli/php _ENV["BLOCKSIZE"] => K _ENV["TERM"] => vt102 _ENV["PATH"] => /usr/home/usr226042093:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/local/www/bin:/usr/libexec:/usr/games:/usr/home/usr226042093/bin:/stand _ENV["REMOTEHOST"] => 193.252.173.4 _ENV["SHELL"] => /bin/tcsh _ENV["HOST"] => diptyque.net _ENV["REDIRECT_STATUS"] => _ENV["REQUEST_METHOD"] => _ENV["PKG_PATH"] => /usr/ports/packages/All _ENV["OSTYPE"] => FreeBSD _ENV["PWD"] => /usr/local/src/php-4.3.4 _ENV["FTP_PASSIVE_MODE"] => YES _ENV["CC"] => gcc _ENV["HOSTTYPE"] => FreeBSD _ENV["MANPATH"] => /usr/share/man:/usr/local/man:/www/man _ENV["EDITOR"] => pico 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. -- Michael Guitton <mailto:saramaca@libertysurf.fr>

« previous php.qa (#15794) next »