bug-report
| From: | Sven Reumann | Date: | Thu, 04 Dec 2003 15:03:56 +0000 |
| Subject: | bug-report | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-15819@lists.php.net to get a copy of this message | ||
===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Locale settings affecting float parsing [tests/lang/034.phpt] Bug #25547 (error_handler and array index with function call) [tests/lang/bug25547.phpt] File type functions [ext/standard/tests/file/001.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 : 78 Exts tested : 9 --------------------------------------------------------------------- Number of tests : 535 Tests skipped : 245 (45.8%) Tests warned : 0 ( 0.0%) Tests failed : 5 ( 0.9%) Tests passed : 285 (53.3%) --------------------------------------------------------------------- Time taken : 213 seconds ===================================================================== ================================================================================ /Users/sven/php-4.3.4/tests/lang/034.phpt ================================================================================ ---- EXPECTED OUTPUT 3,14 ---- ACTUAL OUTPUT 3.14 ---- FAILED ================================================================================ 001- 3,14 001+ 3.14 ================================================================================ ================================================================================ /Users/sven/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 ================================================================================ ================================================================================ /Users/sven/php-4.3.4/ext/standard/tests/file/001.phpt ================================================================================ ---- EXPECTED OUTPUT test.file does not exist test.file exists test.link exists test.file is not a symlink test.link is a symlink test.file exists test.link lstat and stat differ at element 1 test.link lstat and stat differ at element 2 test.link lstat and stat differ at element 7 test.link lstat and stat differ at element 8 test.link lstat and stat differ at element 9 test.link lstat and stat differ at element 10 test.file is file test.link is link test.file permissions are 0744 test.file size is 0 test.file is writeable test.file is readable test.file is executable test.file is a regular file test.link is a regular file test.link is not a directory ../file is a directory test.file is not a directory test.file does not exist test.file does not exist ---- ACTUAL OUTPUT test.file does not exist test.file exists test.link exists test.file is not a symlink test.link is a symlink test.file exists test.link lstat and stat differ at element 1 test.link lstat and stat differ at element 2 test.link lstat and stat differ at element 7 test.link lstat and stat differ at element 8 test.link lstat and stat differ at element 9 test.file is file test.link is link test.file permissions are 0744 test.file size is 0 test.file is writeable test.file is readable test.file is executable test.file is a regular file test.link is a regular file test.link is not a directory ../file is a directory test.file is not a directory test.file does not exist test.file does not exist ---- FAILED ================================================================================ 012- test.link lstat and stat differ at element 10 012+ test.file is file 013- test.file is file 013+ test.link is link 014- test.link is link 014+ test.file permissions are 0744 015- test.file permissions are 0744 015+ test.file size is 0 016- test.file size is 0 016+ test.file is writeable 017- test.file is writeable 017+ test.file is readable 018- test.file is readable 018+ test.file is executable 019- test.file is executable 019+ test.file is a regular file 020- test.file is a regular file 020+ test.link is a regular file 021- test.link is a regular file 021+ test.link is not a directory 022- test.link is not a directory 022+ ../file is a directory 023- ../file is a directory 023+ test.file is not a directory 024- test.file is not a directory 024+ test.file does not exist 026- test.file does not exist ================================================================================ ================================================================================ /Users/sven/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 12:00:00 1969-12-31 23:58:58 2000-01-31 12:00:00 2000-01-31 12:00:00 1969-10-01 23:58:58 2000-04-29 12:00:00 2000-04-29 12:00:00 1969-12-29 23:58:58 ---- FAILED ================================================================================ 008- 2000-05-29 13:00:00 008+ 2000-05-29 12:00:00 009- 2000-05-29 12:00:00 009+ 1969-12-31 23:58:58 012- 2000-01-31 11:00:00 012+ 1969-10-01 23:58:58 014- 2000-04-29 13:00:00 014+ 2000-04-29 12:00:00 015- 2000-04-29 12:00:00 015+ 1969-12-29 23:58:58 ================================================================================ ================================================================================ /Users/sven/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(1009843200) int(1009843200) int(1009843200) int(-3662) int(1025481600) int(1025481600) int(1025481600) int(-3662) ---- FAILED ================================================================================ 004- int(1009843200) 004+ int(-3662) 008- int(1025481600) 008+ int(-3662) 009- int(1009839600) 009+ int(1009843200) 010- int(1009839600) 010+ int(1009843200) 011- int(1009839600) 011+ int(1009843200) 012- int(1009836000) 012+ int(-3662) 013- int(1025474400) 013+ int(1025481600) 014- int(1025474400) 014+ int(1025481600) 015- int(1025478000) 015+ int(1025481600) 016- int(1025474400) 016+ int(-3662) ================================================================================ ================================================================================ BUILD ENVIRONMENT ================================================================================ OS: Darwin - Darwin Paul-Reumanns-Computer.local. 6.3 Darwin Kernel Version 6.3: Wed Jan 8 19:14:49 PST 2003; root:xnu/xnu-344.16.8.obj~5/RELEASE_PPC Power Macintosh Automake: automake (GNU automake) 1.6.1 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.52 Written by David J. MacKenzie. Copyright 1992, 1993, 1994, 1996, 1999, 2000, 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. Libtool: ltmain.sh (GNU libtool) 1.4.3 (1.922.2.110 2002/10/23 01:39:54) Compiler: Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs Thread model: posix Apple Computer, Inc. GCC version 1175, based on gcc version 3.1 20020420 (prerelease) Bison: GNU Bison version 1.28 Libraries: ================================================================================ PHPINFO ================================================================================ phpinfo() PHP Version => 4.3.4 System => Darwin Paul-Reumanns-Computer.local. 6.3 Darwin Kernel Version 6.3: Wed Jan 8 19:14:49 PST 2003; root:xnu/xnu-344.16.8.obj~5/RELEASE_PPC Power Macintosh Build Date => Dec 4 2003 15:46:35 Configure Command => './configure' '--prefix=/usr/local' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /usr/local/lib 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-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_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/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 => 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/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 => 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 ctype ctype functions => enabled mysql MySQL Support => enabled Active Persistent Links => 0 Active Links => 0 Client API version => 3.23.49 MYSQL_MODULE_TYPE => builtin MYSQL_SOCKET => /tmp/mysql.sock MYSQL_INCLUDE => MYSQL_LIBS => 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 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 => 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,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 Additional Modules Module Name Environment Variable => Value PWD => /Users/sven/php-4.3.4 MAKEFLAGS => VENDOR => apple MFLAGS => GDK_USE_XFT => 1 REDIRECT_STATUS => PERL5LIB => /sw/lib/perl5 TEST_PHP_EXECUTABLE => /Users/sven/php-4.3.4/sapi/cli/php TERM_PROGRAM => Apple_Terminal MANPATH => /sw/share/man:/usr/share/man:/usr/X11R6/man CC => gcc USER => sven MACHTYPE => powerpc SCRIPT_FILENAME => PATH_TRANSLATED => TERMCAP => ¿ÿØ LANG => en_US QUERY_STRING => CONTENT_LENGTH => HOST => Paul-Reumanns-Computer.local. MAKELEVEL => 1 INFOPATH => /sw/share/info:/sw/info:/usr/share/info SHLVL => 3 LOGNAME => sven GROUP => staff _ => /Users/sven/php-4.3.4/sapi/cli/php REQUEST_METHOD => SHELL => /bin/sh HOSTTYPE => macintosh TEST_PHP_SRCDIR => /Users/sven/php-4.3.4 OSTYPE => darwin TERM => vt100 HOME => /Users/sven TERM_PROGRAM_VERSION => 81 PATH => /sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin __CF_USER_TEXT_ENCODING => 0x1F6:0:0 CONTENT_TYPE => PHP Variables Variable => Value _SERVER["PWD"] => /Users/sven/php-4.3.4 _SERVER["MAKEFLAGS"] => _SERVER["VENDOR"] => apple _SERVER["MFLAGS"] => _SERVER["GDK_USE_XFT"] => 1 _SERVER["REDIRECT_STATUS"] => _SERVER["PERL5LIB"] => /sw/lib/perl5 _SERVER["TEST_PHP_EXECUTABLE"] => /Users/sven/php-4.3.4/sapi/cli/php _SERVER["TERM_PROGRAM"] => Apple_Terminal _SERVER["MANPATH"] => /sw/share/man:/usr/share/man:/usr/X11R6/man _SERVER["CC"] => gcc _SERVER["USER"] => sven _SERVER["MACHTYPE"] => powerpc _SERVER["SCRIPT_FILENAME"] => _SERVER["PATH_TRANSLATED"] => _SERVER["TERMCAP"] => ¿ÿØ _SERVER["LANG"] => en_US _SERVER["QUERY_STRING"] => _SERVER["CONTENT_LENGTH"] => _SERVER["HOST"] => Paul-Reumanns-Computer.local. _SERVER["MAKELEVEL"] => 1 _SERVER["INFOPATH"] => /sw/share/info:/sw/info:/usr/share/info _SERVER["SHLVL"] => 3 _SERVER["LOGNAME"] => sven _SERVER["GROUP"] => staff _SERVER["_"] => /Users/sven/php-4.3.4/sapi/cli/php _SERVER["REQUEST_METHOD"] => _SERVER["SHELL"] => /bin/sh _SERVER["HOSTTYPE"] => macintosh _SERVER["TEST_PHP_SRCDIR"] => /Users/sven/php-4.3.4 _SERVER["OSTYPE"] => darwin _SERVER["TERM"] => vt100 _SERVER["HOME"] => /Users/sven _SERVER["TERM_PROGRAM_VERSION"] => 81 _SERVER["PATH"] => /sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin _SERVER["__CF_USER_TEXT_ENCODING"] => 0x1F6:0:0 _SERVER["CONTENT_TYPE"] => _SERVER["PHP_SELF"] => _SERVER["SCRIPT_NAME"] => _SERVER["DOCUMENT_ROOT"] => _SERVER["argv"] => Array ( ) _SERVER["argc"] => 0 _ENV["PWD"] => /Users/sven/php-4.3.4 _ENV["MAKEFLAGS"] => _ENV["VENDOR"] => apple _ENV["MFLAGS"] => _ENV["GDK_USE_XFT"] => 1 _ENV["REDIRECT_STATUS"] => _ENV["PERL5LIB"] => /sw/lib/perl5 _ENV["TEST_PHP_EXECUTABLE"] => /Users/sven/php-4.3.4/sapi/cli/php _ENV["TERM_PROGRAM"] => Apple_Terminal _ENV["MANPATH"] => /sw/share/man:/usr/share/man:/usr/X11R6/man _ENV["CC"] => gcc _ENV["USER"] => sven _ENV["MACHTYPE"] => powerpc _ENV["SCRIPT_FILENAME"] => _ENV["PATH_TRANSLATED"] => _ENV["TERMCAP"] => ¿ÿØ _ENV["LANG"] => en_US _ENV["QUERY_STRING"] => _ENV["CONTENT_LENGTH"] => _ENV["HOST"] => Paul-Reumanns-Computer.local. _ENV["MAKELEVEL"] => 1 _ENV["INFOPATH"] => /sw/share/info:/sw/info:/usr/share/info _ENV["SHLVL"] => 3 _ENV["LOGNAME"] => sven _ENV["GROUP"] => staff _ENV["_"] => /Users/sven/php-4.3.4/sapi/cli/php _ENV["REQUEST_METHOD"] => _ENV["SHELL"] => /bin/sh _ENV["HOSTTYPE"] => macintosh _ENV["TEST_PHP_SRCDIR"] => /Users/sven/php-4.3.4 _ENV["OSTYPE"] => darwin _ENV["TERM"] => vt100 _ENV["HOME"] => /Users/sven _ENV["TERM_PROGRAM_VERSION"] => 81 _ENV["PATH"] => /sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin _ENV["__CF_USER_TEXT_ENCODING"] => 0x1F6:0:0 _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.