Code Comments
Programming Forum and web based access to our favorite programming groups.======================================== ============================= FAILED TEST SUMMARY --------------------------------------------------------------------- Bug #25547 (error_handler and array index with function call) [tests/lan g/bug25547.phpt] Check for mktime with out-of-range parameters [ext/standard/tests/time/0 03.phpt] mktime() [ext/standard/tests/time/mktime.phpt] ======================================== ============================= ======================================== ============================= TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 72 Exts tested : 15 --------------------------------------------------------------------- Number of tests : 535 Tests skipped : 244 (45.6%) Tests warned : 0 ( 0.0%) Tests failed : 3 ( 0.6%) Tests passed : 288 (53.8%) --------------------------------------------------------------------- Time taken : 53 seconds ======================================== ============================= ======================================== ==================================== ==== /usr/ports/lang/php4/work/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 ( [ ) Done ---- FAILED ======================================== ==================================== ==== 004- [foo] => 1 004+ [ ======================================== ==================================== ==== ======================================== ==================================== ==== /usr/ports/lang/php4/work/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/ports/lang/php4/work/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 dag.et.endace.com 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Wed Feb 19 21:48:19 NZDT 2003 root@dag.et.endace.com:/usr/src/sys/i386/compi le/DAG i386 Automake: Autoconf: Libtool: ltmain.sh (GNU libtool) 1.4.3 (1.922.2.110 2002/10/23 01:39:54) Compiler: Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.2.1 [FreeBSD] 20021119 (release) Bison: bison (GNU Bison) 1.75 Written by Robert Corbett and Richard Stallman. Copyright (C) 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: /usr/ports/lang/php4/work/php-4.3.4/sapi/cli/php: libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x2818a000) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x281a3000) libexpat.so.5 => /usr/local/lib/libexpat.so.5 (0x2827e000) libhistory.so.4 => /usr/lib/libhistory.so.4 (0x2829e000) libreadline.so.4 => /usr/lib/libreadline.so.4 (0x282a4000) libncurses.so.5 => /usr/lib/libncurses.so.5 (0x282cc000) libmysqlclient.so.12 => /usr/local/lib/mysql/libmysqlclient.so.12 (0x2830c00 0) libbz2.so.1 => /usr/lib/libbz2.so.1 (0x2832e000) libz.so.2 => /usr/lib/libz.so.2 (0x2833d000) libm.so.2 => /usr/lib/libm.so.2 (0x2834b000) libc.so.5 => /usr/lib/libc.so.5 (0x28368000) ======================================== ==================================== ==== PHPINFO ======================================== ==================================== ==== phpinfo() PHP Version => 4.3.4 System => FreeBSD dag.et.endace.com 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Wed Feb 19 21:48:19 NZDT 2003 root@dag.et.endace.com:/usr/src/sys/i386/compi le/DAG i386 Build Date => Mar 23 2004 16:33:21 Configure Command => './configure' '--enable-versioning' '--enable-memory-l imit' '--with-layout=GNU' '--with-zlib-dir=/usr' '--disable-all' '--with-reg ex=php' '--with-pear' '--with-bz2=/usr' '--enable-ctype' '--with-iconv-dir=/ usr/local' '--with-mime-mag ic=/usr/share/misc/magic.mime' '--with-mysql=/usr/local' '--enable-overload' '--with-pcre-regex=yes' '--enable-posix' '--with-readline' '--enable-sessio n' '--enable-sockets' '--enable-tokenizer' '--with-expat-dir=/usr/local' '-- enable-xml' '--with-xmlrpc' '--with-zlib=yes' '--with-apxs=/usr/local/sbin/apxs' '--prefix=/usr/local' ' i386-portbld-freebsd5.0' Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /usr/local/etc PHP API => 20020918 PHP Extension => 20020429 Zend Extension => 20021010 Debug Build => no Thread Safety => disabled Registered PHP Streams => php, http, ftp, 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 ________________________________________ _______________________________ 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/20020429 => /usr/local/lib/php/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/share/pear => .:/usr/local/share/pear 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 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 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 bz2 BZip2 Support => Enabled BZip2 Version => 1.0.2, 30-Dec-2001 ctype ctype functions => enabled mime_magic mime_magic support => enabled Directive => Local Value => Master Value mime_magic.magicfile => /usr/share/misc/magic.mime => /usr/share/misc/magic. mime mysql MySQL Support => enabled Active Persistent Links => 0 Active Links => 0 Client API version => 4.0.18 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 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 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=,fieldse t= => a=href,ar ea=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 => expat_1.95.7 xmlrpc core library version => xmlrpc-epi v. 0.51 php extension version => 0.51 author => Dan Libby homepage => http://xmlrpc-epi.sourceforge.net open sourced by => Epinions.com zlib ZLib Support => enabled Compiled Version => 1.1.4 Linked Version => 1.1.4 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 readline Environment Variable => Value CONTENT_TYPE => ARCH => i386 SUDO_GID => 8000 OPSYS => FreeBSD USER => root SSH_CLIENT => 192.168.1.11 33343 22 MAIL => /var/mail/richard CXXFLAGS => -O -pipe -mcpu=pentiumpro MANPREFIX => /usr/local SHLVL => 2 X11BASE => /usr/X11R6 QUERY_STRING => HOME => /home/richard OLDPWD => /usr/ports/lang/php4 TEST_PHP_SRCDIR => /usr/ports/lang/php4/work/php-4.3.4 SSH_TTY => /dev/ttyp2 PAGER => /usr/bin/less BSD_INSTALL_SCRIPT => install -o root -g wheel -m 555 CONTENT_LENGTH => SCRIPT_FILENAME => PATH_TRANSLATED => SUDO_UID => 1011 OSREL => 5.0 LOGNAME => root _ => /usr/bin/make http_proxy => proxy.et.endace.com:3128 LIBDIR => /usr/lib TEST_PHP_EXECUTABLE => /usr/ports/lang/php4/work/php-4.3.4/sapi/cli/php BLOCKSIZE => K TERM => vt102 BSD_INSTALL_DATA => install -o root -g wheel -m 444 PORTOBJFORMAT => elf PATH => /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/ bin:/usr/X11R6/bin:/home/richard/bin CFLAGS => -O -pipe -mcpu=pentiumpro SYSTEMVERSION => OSVERSION => 500043 SUDO_COMMAND => /usr/local/bin/bash PREFIX => /usr/local SHELL => /bin/sh REDIRECT_STATUS => __MKLVL__ => 2 SUDO_USER => richard LOCALBASE => /usr/local REQUEST_METHOD => PWD => /usr/ports/lang/php4/work/php-4.3.4 SSH_CONNECTION => 192.168.1.11 33343 192.168.1.21 22 BSD_INSTALL_MAN => install -o root -g wheel -m 444 FTP_PASSIVE_MODE => YES MOTIFLIB => -L/usr/X11R6/lib -lXm -lXp CC => cc EDITOR => vi BSD_INSTALL_PROGRAM => install -s -o root -g wheel -m 555 PHP Variables Variable => Value _SERVER["CONTENT_TYPE"] => _SERVER["ARCH"] => i386 _SERVER["SUDO_GID"] => 8000 _SERVER["OPSYS"] => FreeBSD _SERVER["USER"] => root _SERVER["SSH_CLIENT"] => 192.168.1.11 33343 22 _SERVER["MAIL"] => /var/mail/richard _SERVER["CXXFLAGS"] => -O -pipe -mcpu=pentiumpro _SERVER["MANPREFIX"] => /usr/local _SERVER["SHLVL"] => 2 _SERVER["X11BASE"] => /usr/X11R6 _SERVER["QUERY_STRING"] => _SERVER["HOME"] => /home/richard _SERVER["OLDPWD"] => /usr/ports/lang/php4 _SERVER["TEST_PHP_SRCDIR"] => /usr/ports/lang/php4/work/php-4.3.4 _SERVER["SSH_TTY"] => /dev/ttyp2 _SERVER["PAGER"] => /usr/bin/less _SERVER["BSD_INSTALL_SCRIPT"] => install -o root -g wheel -m 555 _SERVER["CONTENT_LENGTH"] => _SERVER["SCRIPT_FILENAME"] => _SERVER["PATH_TRANSLATED"] => _SERVER["SUDO_UID"] => 1011 _SERVER["OSREL"] => 5.0 _SERVER["LOGNAME"] => root _SERVER["_"] => /usr/bin/make _SERVER["http_proxy"] => proxy.et.endace.com:3128 _SERVER["LIBDIR"] => /usr/lib _SERVER["TEST_PHP_EXECUTABLE"] => /usr/ports/lang/php4/work/php-4.3.4/sa pi/cli/php _SERVER["BLOCKSIZE"] => K _SERVER["TERM"] => vt102 _SERVER["BSD_INSTALL_DATA"] => install -o root -g wheel -m 444 _SERVER["PORTOBJFORMAT"] => elf _SERVER["PATH"] => /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/s bin:/usr/local/bin:/usr/X11R6/bin:/home/richard/bin _SERVER["CFLAGS"] => -O -pipe -mcpu=pentiumpro _SERVER["SYSTEMVERSION"] => _SERVER["OSVERSION"] => 500043 _SERVER["SUDO_COMMAND"] => /usr/local/bin/bash _SERVER["PREFIX"] => /usr/local _SERVER["SHELL"] => /bin/sh _SERVER["REDIRECT_STATUS"] => _SERVER["__MKLVL__"] => 2 _SERVER["SUDO_USER"] => richard _SERVER["LOCALBASE"] => /usr/local _SERVER["REQUEST_METHOD"] => _SERVER["PWD"] => /usr/ports/lang/php4/work/php-4.3.4 _SERVER["SSH_CONNECTION"] => 192.168.1.11 33343 192.168.1.21 22 _SERVER["BSD_INSTALL_MAN"] => install -o root -g wheel -m 444 _SERVER["FTP_PASSIVE_MODE"] => YES _SERVER["MOTIFLIB"] => -L/usr/X11R6/lib -lXm -lXp _SERVER["CC"] => cc _SERVER["EDITOR"] => vi _SERVER["BSD_INSTALL_PROGRAM"] => install -s -o root -g wheel -m 555 _SERVER["PHP_SELF"] => _SERVER["SCRIPT_NAME"] => _SERVER["DOCUMENT_ROOT"] => _SERVER["argv"] => Array ( ) _SERVER["argc"] => 0 _ENV["CONTENT_TYPE"] => _ENV["ARCH"] => i386 _ENV["SUDO_GID"] => 8000 _ENV["OPSYS"] => FreeBSD _ENV["USER"] => root _ENV["SSH_CLIENT"] => 192.168.1.11 33343 22 _ENV["MAIL"] => /var/mail/richard _ENV["CXXFLAGS"] => -O -pipe -mcpu=pentiumpro _ENV["MANPREFIX"] => /usr/local _ENV["SHLVL"] => 2 _ENV["X11BASE"] => /usr/X11R6 _ENV["QUERY_STRING"] => _ENV["HOME"] => /home/richard _ENV["OLDPWD"] => /usr/ports/lang/php4 _ENV["TEST_PHP_SRCDIR"] => /usr/ports/lang/php4/work/php-4.3.4 _ENV["SSH_TTY"] => /dev/ttyp2 _ENV["PAGER"] => /usr/bin/less _ENV["BSD_INSTALL_SCRIPT"] => install -o root -g wheel -m 555 _ENV["CONTENT_LENGTH"] => _ENV["SCRIPT_FILENAME"] => _ENV["PATH_TRANSLATED"] => _ENV["SUDO_UID"] => 1011 _ENV["OSREL"] => 5.0 _ENV["LOGNAME"] => root _ENV["_"] => /usr/bin/make _ENV["http_proxy"] => proxy.et.endace.com:3128 _ENV["LIBDIR"] => /usr/lib _ENV["TEST_PHP_EXECUTABLE"] => /usr/ports/lang/php4/work/php-4.3.4/sapi/ cli/php _ENV["BLOCKSIZE"] => K _ENV["TERM"] => vt102 _ENV["BSD_INSTALL_DATA"] => install -o root -g wheel -m 444 _ENV["PORTOBJFORMAT"] => elf _ENV["PATH"] => /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin :/usr/local/bin:/usr/X11R6/bin:/home/richard/bin _ENV["CFLAGS"] => -O -pipe -mcpu=pentiumpro _ENV["SYSTEMVERSION"] => _ENV["OSVERSION"] => 500043 _ENV["SUDO_COMMAND"] => /usr/local/bin/bash _ENV["PREFIX"] => /usr/local _ENV["SHELL"] => /bin/sh _ENV["REDIRECT_STATUS"] => _ENV["__MKLVL__"] => 2 _ENV["SUDO_USER"] => richard _ENV["LOCALBASE"] => /usr/local _ENV["REQUEST_METHOD"] => _ENV["PWD"] => /usr/ports/lang/php4/work/php-4.3.4 _ENV["SSH_CONNECTION"] => 192.168.1.11 33343 192.168.1.21 22 _ENV["BSD_INSTALL_MAN"] => install -o root -g wheel -m 444 _ENV["FTP_PASSIVE_MODE"] => YES _ENV["MOTIFLIB"] => -L/usr/X11R6/lib -lXm -lXp _ENV["CC"] => cc _ENV["EDITOR"] => vi _ENV["BSD_INSTALL_PROGRAM"] => install -s -o root -g wheel -m 555 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.
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.