Re: Test results

From: Date: Thu, 14 Nov 2002 17:57:24 +0000
Subject: Re: Test results
References: 1  Groups: php.qa 
Request: Send a blank email to php-qa+get-6775@lists.php.net to get a copy of this message
Sebastian could you please apply the attached patch and let me know if it fixes the failures of the time tests. Thanks, Ilia On November 14, 2002 12:41 pm, noreply@php.net wrote: > OS: > Linux > 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 (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.1 (1.922.2.34 2001/09/03 01:22:13) > > Compiler: > Reading specs from /usr/lib/gcc-lib/i486-suse-linux/2.95.3/specs > gcc version 2.95.3 20010315 (SuSE) > > Bison: > GNU Bison version 1.28 > > > > > ===================================================================== > FAILED TEST SUMMARY > --------------------------------------------------------------------- > is_*() and file_exists() return values are boolean. > [ext/standard/tests/file/003.phpt] Bug #20169 > [ext/standard/tests/strings/bug20169.phpt] > microtime() function [ext/standard/tests/time/001.phpt] > strtotime() function [ext/standard/tests/time/002.phpt] > Check for mktime with out-of-range parameters > [ext/standard/tests/time/003.phpt] > ===================================================================== > > > =========================================================================== >===== /home/sebastian/php-4.3.0RC1/ext/standard/tests/file/003.phpt > =========================================================================== >===== > > ---- EXPECTED OUTPUT > boolean > boolean > boolean > boolean > boolean > boolean > boolean > boolean > boolean > boolean > ---- ACTUAL OUTPUT > Warning: is_writable() [/phpmanual/function.is-writable.html]: Unable to > access in /home/sebastian/php-4.3.0RC1/ext/standard/tests/file/003.php on > line 14 boolean > > Warning: is_readable() [/phpmanual/function.is-readable.html]: Unable to > access in /home/sebastian/php-4.3.0RC1/ext/standard/tests/file/003.php on > line 14 boolean > > Warning: is_executable() [/phpmanual/function.is-executable.html]: Unable > to access in /home/sebastian/php-4.3.0RC1/ext/standard/tests/file/003.php > on line 14 boolean > > Warning: is_file() [/phpmanual/function.is-file.html]: Unable to access in > /home/sebastian/php-4.3.0RC1/ext/standard/tests/file/003.php on line 14 > boolean > > Warning: file_exists() [/phpmanual/function.file-exists.html]: Unable to > access in /home/sebastian/php-4.3.0RC1/ext/standard/tests/file/003.php on > line 14 boolean > boolean > boolean > boolean > boolean > boolean > ---- FAILED > > =========================================================================== >===== 001- boolean > 001+ Warning: is_writable() [/phpmanual/function.is-writable.html]: Unable > to access in /home/sebastian/php-4.3.0RC1/ext/standard/tests/file/003.php > on line 14 003- boolean > 003+ > 004- boolean > 004+ Warning: is_readable() [/phpmanual/function.is-readable.html]: Unable > to access in /home/sebastian/php-4.3.0RC1/ext/standard/tests/file/003.php > on line 14 006- boolean > 006+ > 007- boolean > 007+ Warning: is_executable() [/phpmanual/function.is-executable.html]: > Unable to access in > /home/sebastian/php-4.3.0RC1/ext/standard/tests/file/003.php on line 14 > 009- boolean > 009+ > 010- boolean > 010+ Warning: is_file() [/phpmanual/function.is-file.html]: Unable to > access in /home/sebastian/php-4.3.0RC1/ext/standard/tests/file/003.php on > line 14 011+ boolean > 012+ > 013+ Warning: file_exists() [/phpmanual/function.file-exists.html]: Unable > to access in /home/sebastian/php-4.3.0RC1/ext/standard/tests/file/003.php > on line 14 014+ boolean > 015+ boolean > 016+ boolean > 017+ boolean > 018+ boolean > 019+ boolean > =========================================================================== >===== > > > > =========================================================================== >===== /home/sebastian/php-4.3.0RC1/ext/standard/tests/strings/bug20169.phpt > =========================================================================== >===== > > ---- EXPECTED OUTPUT > delimiter: | > delimiter: | > ---- ACTUAL OUTPUT > Warning: Cannot set time limit in safe mode in > /home/sebastian/php-4.3.0RC1/ext/standard/tests/strings/bug20169.php on > line 2 delimiter: | > delimiter: | > ---- FAILED > > =========================================================================== >===== 001- delimiter: | > 001+ Warning: Cannot set time limit in safe mode in > /home/sebastian/php-4.3.0RC1/ext/standard/tests/strings/bug20169.php on > line 2 003+ delimiter: | > =========================================================================== >===== > > > > =========================================================================== >===== /home/sebastian/php-4.3.0RC1/ext/standard/tests/time/001.phpt > =========================================================================== >===== > > ---- EXPECTED OUTPUT > Passed: 100000 > Failed: 0 > ---- ACTUAL OUTPUT > Warning: Cannot set time limit in safe mode in > /home/sebastian/php-4.3.0RC1/ext/standard/tests/time/001.php on line 8 > Passed: 100000 > Failed: 0 > ---- FAILED > > =========================================================================== >===== 001- Passed: 100000 > 001+ Warning: Cannot set time limit in safe mode in > /home/sebastian/php-4.3.0RC1/ext/standard/tests/time/001.php on line 8 002- > Failed: 0 > 002+ Passed: 100000 > 003+ Failed: 0 > =========================================================================== >===== > > > > =========================================================================== >===== /home/sebastian/php-4.3.0RC1/ext/standard/tests/time/002.phpt > =========================================================================== >===== > > ---- EXPECTED OUTPUT > 1999-10-13 00:00:00 > 1999-10-13 00:00:00 > 2000-01-19 00:00:00 > 2000-01-19 00:00:00 > 2001-12-21 00:00:00 > 2001-12-21 00:00:00 > 2001-12-21 12:16:00 > 2001-12-21 12:16:00 > 1969-12-31 23:59:59 > 2001-10-22 21:19:58 > 2001-10-22 23:19:58 > 2001-10-22 23:32:58 > 2001-10-22 19:19:58 > 2001-10-22 19:06:58 > 1999-10-13 00:00:00 > 1999-10-13 00:00:00 > 2000-01-19 00:00:00 > 2000-01-19 00:00:00 > 2001-12-21 00:00:00 > 2001-12-21 00:00:00 > 2001-12-21 12:16:00 > 2001-12-21 12:16:00 > 1970-01-01 00:59:59 > 2001-10-22 21:19:58 > 2001-10-23 01:19:58 > 2001-10-23 01:32:58 > 2001-10-22 21:19:58 > 2001-10-22 21:06:58 > ---- ACTUAL OUTPUT > Warning: putenv() [/phpmanual/function.putenv.html]: Safe Mode warning: > Cannot set environment variable 'TZ' - it's not in the allowed list in > /home/sebastian/php-4.3.0RC1/ext/standard/tests/time/002.php on line 19 > 1999-10-13 00:00:00 > 1999-10-13 00:00:00 > 2000-01-19 00:00:00 > 2000-01-19 00:00:00 > 2001-12-21 00:00:00 > 2001-12-21 00:00:00 > 2001-12-21 12:16:00 > 2001-12-21 12:16:00 > 1970-01-01 00:59:59 > 2001-10-22 21:19:58 > 2001-10-23 01:19:58 > 2001-10-23 01:32:58 > 2001-10-22 21:19:58 > 2001-10-22 21:06:58 > > Warning: putenv() [/phpmanual/function.putenv.html]: Safe Mode warning: > Cannot set environment variable 'TZ' - it's not in the allowed list in > /home/sebastian/php-4.3.0RC1/ext/standard/tests/time/002.php on line 24 > 1999-10-13 00:00:00 > 1999-10-13 00:00:00 > 2000-01-19 00:00:00 > 2000-01-19 00:00:00 > 2001-12-21 00:00:00 > 2001-12-21 00:00:00 > 2001-12-21 12:16:00 > 2001-12-21 12:16:00 > 1970-01-01 00:59:59 > 2001-10-22 21:19:58 > 2001-10-23 01:19:58 > 2001-10-23 01:32:58 > 2001-10-22 21:19:58 > 2001-10-22 21:06:58 > ---- FAILED > > =========================================================================== >===== 001- 1999-10-13 00:00:00 > 001+ Warning: putenv() [/phpmanual/function.putenv.html]: Safe Mode > warning: Cannot set environment variable 'TZ' - it's not in the allowed > list in /home/sebastian/php-4.3.0RC1/ext/standard/tests/time/002.php on > line 19 003- 2000-01-19 00:00:00 > 003+ 1999-10-13 00:00:00 > 005- 2001-12-21 00:00:00 > 005+ 2000-01-19 00:00:00 > 007- 2001-12-21 12:16:00 > 007+ 2001-12-21 00:00:00 > 009- 1969-12-31 23:59:59 > 009+ 2001-12-21 12:16:00 > 010- 2001-10-22 21:19:58 > 010+ 1970-01-01 00:59:59 > 011- 2001-10-22 23:19:58 > 011+ 2001-10-22 21:19:58 > 012- 2001-10-22 23:32:58 > 012+ 2001-10-23 01:19:58 > 013- 2001-10-22 19:19:58 > 013+ 2001-10-23 01:32:58 > 014- 2001-10-22 19:06:58 > 014+ 2001-10-22 21:19:58 > 015- 1999-10-13 00:00:00 > 015+ 2001-10-22 21:06:58 > 016- 1999-10-13 00:00:00 > 016+ > 017- 2000-01-19 00:00:00 > 017+ Warning: putenv() [/phpmanual/function.putenv.html]: Safe Mode > warning: Cannot set environment variable 'TZ' - it's not in the allowed > list in /home/sebastian/php-4.3.0RC1/ext/standard/tests/time/002.php on > line 24 018- 2000-01-19 00:00:00 > 018+ 1999-10-13 00:00:00 > 019- 2001-12-21 00:00:00 > 019+ 1999-10-13 00:00:00 > 020- 2001-12-21 00:00:00 > 020+ 2000-01-19 00:00:00 > 021- 2001-12-21 12:16:00 > 021+ 2000-01-19 00:00:00 > 022- 2001-12-21 12:16:00 > 022+ 2001-12-21 00:00:00 > 023- 1970-01-01 00:59:59 > 023+ 2001-12-21 00:00:00 > 024- 2001-10-22 21:19:58 > 024+ 2001-12-21 12:16:00 > 025- 2001-10-23 01:19:58 > 025+ 2001-12-21 12:16:00 > 026- 2001-10-23 01:32:58 > 026+ 1970-01-01 00:59:59 > 028- 2001-10-22 21:06:58 > 028+ 2001-10-23 01:19:58 > 029+ 2001-10-23 01:32:58 > 030+ 2001-10-22 21:19:58 > 031+ 2001-10-22 21:06:58 > =========================================================================== >===== > > > > =========================================================================== >===== /home/sebastian/php-4.3.0RC1/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 > > Warning: putenv() [/phpmanual/function.putenv.html]: Safe Mode warning: > Cannot set environment variable 'TZ' - it's not in the allowed list in > /home/sebastian/php-4.3.0RC1/ext/standard/tests/time/003.php on line 12 > 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 > ---- FAILED > > =========================================================================== >===== 007- 2000-05-29 12:00:00 > 007+ > 008- 2000-05-29 13:00:00 > 008+ Warning: putenv() [/phpmanual/function.putenv.html]: Safe Mode > warning: Cannot set environment variable 'TZ' - it's not in the allowed > list in /home/sebastian/php-4.3.0RC1/ext/standard/tests/time/003.php on > line 12 010- 2000-01-31 12:00:00 > 010+ 2000-05-29 13:00:00 > 011- 2000-01-31 12:00:00 > 011+ 2000-05-29 12:00:00 > 012- 2000-01-31 11:00:00 > 012+ 2000-01-31 12:00:00 > 013- 2000-04-29 12:00:00 > 013+ 2000-01-31 12:00:00 > 014- 2000-04-29 13:00:00 > 014+ 2000-01-31 11:00:00 > 016+ 2000-04-29 13:00:00 > 017+ 2000-04-29 12:00:00 > =========================================================================== >===== > > > > =========================================================================== >===== PHPINFO > =========================================================================== >===== phpinfo() > PHP Version => 4.3.0RC1 > > System => Linux idefix 2.4.10-4GB #1 Tue Sep 25 12:33:54 GMT 2001 i686 > Build Date => Nov 14 2002 18:39:37 > Configure Command => './configure' '--prefix=/usr/share' > '--datadir=/usr/share/php' '--bindir=/usr/bin' > '--libdir=/usr/share' > '--with-config-file-path=/etc' '--with-exec-dir=/usr/lib/php/bin' > '--with-mysql=/usr/local/mysql-3.23.49a' '--with-gd=yes' > '--enable-gd-native-ttf' '--enable-gd-imgstrttf' > '--with-tiff-dir=/usr' > '--with-jpeg-dir=/usr' '--with-png-dir=/usr' > '--with-xpm-dir=/usr/X11R6' > '--with-ldap=yes' '--with-zlib=yes' '--with-bz2' > '--with-gmp' '--with-xml' > '--with-ttf' '--with-mcal=/usr' '--with-imap=yes' > '--with-ftp' > '--with-mcrypt' '--with-gettext' '--with-mm' > '--enable-versioning' > '--enable-trans-sid' '--enable-inline-optimization' > '--enable-track-vars' > '--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets' > '--enable-sysvsem' '--enable-sysvshm' '--enable-shmop' > '--enable-ftp' > '--enable-wddx' '--with-imap-ssl' > '--with-mnogosearch=/usr/local/mnogosearch' '--with-pgsql=/usr' > '--enable-memory-limit=yes' '--with-apxs=/usr/sbin/apxs' > '--with-ming=/usr' > '--with-pdflib=/usr/local' Server API => Command Line Interface > Virtual Directory Support => disabled > Configuration File (php.ini) Path => /etc/php.ini > 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-2002 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 => &amp; => &amp; > arg_separator.output => &amp; => &amp; > asp_tags => On => On > 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 => Off => Off > 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 => 2039 => 2039 > expose_php => On => On > extension_dir => ./ => ./ > file_uploads => On => On > gpc_order => GPC => GPC > highlight.bg => #FFFFFF => #FFFFFF > highlight.comment => #FF9900 => #FF9900 > highlight.default => #0000CC => #0000CC > highlight.html => #000000 => #000000 > highlight.keyword => #006600 => #006600 > highlight.string => #CC0000 => #CC0000 > 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/share/php => .:/usr/share/php > log_errors => On => On > 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 > memory_limit => 16M => 16M > open_basedir => no value => no value > output_buffering => no value => no value > output_handler => no value => no value > post_max_size => 8M => 8M > precision => 14 => 14 > register_argc_argv => On => On > register_globals => On => On > report_memleaks => On => On > safe_mode => On => On > safe_mode_exec_dir => no value => no value > safe_mode_gid => Off => Off > safe_mode_include_dir => /usr/share/php => /usr/share/php > sendmail_from => me@localhost.com => me@localhost.com > 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 => EGPCS => EGPCS > xmlrpc_error_number => 0 => 0 > xmlrpc_errors => Off => Off > y2k_compliance => Off => Off > > xml > > XML Support => active > XML Namespace Support => active > EXPAT Version => 1.95.2 > > wddx > > WDDX Support => enabled > WDDX Session Serializer => enabled > > tokenizer > > Tokenizer 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,input=src,form=fakeentry => > a=href,area=href,frame=src,input=src,form=fakeentry user_agent => no value > => no value > > sockets > > Sockets Support => enabled > > shmop > > shmop support => enabled > > session > > Session Support => enabled > Registered save handlers => files user mm > > 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 => On => On > > posix > > Revision => $Revision: 1.51 $ > > pgsql > > PostgreSQL Support => enabled > Active Persistent Links => 0 > Active Links => 0 > > Directive => Local Value => Master Value > pgsql.allow_persistent => On => On > pgsql.auto_reset_persistent => Off => Off > pgsql.ignore_notice => Off => Off > pgsql.log_notice => Off => Off > pgsql.max_links => Unlimited => Unlimited > pgsql.max_persistent => Unlimited => Unlimited > > pdf > > PDF Support => enabled > PDFlib GmbH Version => 4.0.3 > Revision => $Revision: 1.112 $ > > pcre > > PCRE (Perl Compatible Regular Expressions) Support => enabled > PCRE Library Version => 3.92 11-Sep-2002 > > overload > > User-Space Object Overloading Support => enabled > > mysql > > MySQL Support => enabled > Active Persistent Links => 0 > Active Links => 0 > Client API version => 3.23.49a > MYSQL_MODULE_TYPE => external > MYSQL_SOCKET => /tmp/mysql.sock > MYSQL_INCLUDE => -I/usr/local/mysql-3.23.49a/include > MYSQL_LIBS => -L/usr/local/mysql-3.23.49a/lib -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 > > mnogosearch > > mnoGoSearch Support => enabled > mnoGoSearch library version => 30119 > > ming > > Ming SWF output library => enabled > Version => 0.2a > > mcrypt > > mcrypt support => enabled > version => >= 2.4.x > Supported ciphers => cast-128 cast-256 enigma xtea arcfour panama mars > safer-sk64 saferplus des tripledes blowfish skipjack gost rc2 rc6 > safer-sk128 threeway serpent idea wake loki97 rijndael-128 rijndael-192 > rijndael-256 twofish blowfish-compat Supported modes => stream cbc cfb ecb > ofb nofb > > Directive => Local Value => Master Value > mcrypt.algorithms_dir => no value => no value > mcrypt.modes_dir => no value => no value > > mcal > > MCAL Support => enabled > MCAL Version => 0.6 - 20000121 > > ldap > > LDAP Support => enabled > RCS Version => $Id: ldap.c,v 1.130 2002/11/05 14:18:20 edink Exp $ > Total Links => 0/unlimited > API Version => 2004 > Vendor Name => OpenLDAP > Vendor Version => 20012 > > imap > > IMAP c-Client Version => 2000 > SSL Support => enabled > > gmp > > gmp support => enabled > > gettext > > GetText Support => enabled > > gd > > GD Support => enabled > GD Version => bundled (2.0 compatible) > GIF Read Support => enabled > JPG Support => enabled > PNG Support => enabled > WBMP Support => enabled > > ftp > > FTP support => enabled > > ctype > > ctype functions => enabled > > bz2 > > BZip2 Support => Enabled > BZip2 Version => 1.0.1, 23-June-2000 > > zlib > > ZLib Support => enabled > 'zlib:' fopen wrapper => 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 > sysvshm > sysvsem > > Environment > > Variable => Value > PWD => /home/sebastian/php-4.3.0RC1 > TZ => Europe/Berlin > MAKEFLAGS => SCRIPT_FILENAME => > /home/sebastian/php-4.3.0RC1/tests/strings/004.php PAGER => less > MFLAGS => HOSTNAME => idefix > LESSCLOSE => lessclose.sh %s %s > LS_OPTIONS => -N --color=tty -T 0 > LESSKEY => /etc/lesskey.bin > MANPATH => /usr/local/man:/usr/share/man:/usr/X11R6/man:/usr/openwin/man > LESSOPEN => lessopen.sh %s > CC => gcc > NNTPSERVER => news > LESS => -M -S -I > REQUEST_METHOD => GET > LS_COLORS => > no=00:fi=00:di=01;34:ln=01:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=40; >31;01:ex=01;31:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:* >.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.arj=00;31:*.taz >=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*. >tbz2=00;31:*.png=01;35:*.bmp=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.pc >x=01;35:*.ppm=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.wav=00;32:*.mp3=00 >;32:*.au=00;32:*.aiff=00;32:*.mid=00;32:*.voc=00;32: USER => sebastian > XKEYSYMDB => /usr/X11R6/lib/X11/XKeysymDB > MACHTYPE => i686-suse-linux > TEST_PHP_SRCDIR => /home/sebastian/php-4.3.0RC1 > MAIL => /var/mail/sebastian > INPUTRC => /etc/inputrc > PATH_TRANSLATED => /home/sebastian/php-4.3.0RC1/tests/strings/004.php > LESS_ADVANCED_PREPROCESSOR => no > LANG => de_DE@euro > QUERY_STRING => CONTENT_LENGTH => HOST => idefix > MAKELEVEL => 1 > COLORTERM => 1 > INFOPATH => /usr/local/info:/usr/share/info:/usr/info > SHLVL => 3 > LOGNAME => sebastian > TEXINPUTS => :/home/sebastian/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX > MINICOM => -c on > INFODIR => /usr/local/info:/usr/share/info:/usr/info > REDIRECT_STATUS => 1 > _ => /home/sebastian/php-4.3.0RC1/sapi/cli/php > TEST_PHP_EXECUTABLE => /home/sebastian/php-4.3.0RC1/sapi/cli/php > SHELL => /bin/sh > PRINTER => lp > CPU => i686 > HOSTTYPE => i386 > WINDOWMANAGER => /usr/X11R6/bin/kde > OSTYPE => linux > no_proxy => localhost > TERM => xterm > HOME => /home/sebastian > XNLSPATH => /usr/X11R6/lib/X11/nls > PATH => > /usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/lib/java/bin:/usr/games/bi >n:/usr/games:. LC_COLLATE => POSIX > SSH_TTY => /dev/pts/0 > CONTENT_TYPE => > PHP Variables > > Variable => Value > PHP_SELF => _SERVER["PWD"] => /home/sebastian/php-4.3.0RC1 > _SERVER["TZ"] => Europe/Berlin > _SERVER["MAKEFLAGS"] => > _SERVER["SCRIPT_FILENAME"] => > _SERVER["PAGER"] => less > _SERVER["MFLAGS"] => > _SERVER["HOSTNAME"] => idefix > _SERVER["LESSCLOSE"] => lessclose.sh %s %s > _SERVER["LS_OPTIONS"] => -N --color=tty -T 0 > _SERVER["LESSKEY"] => /etc/lesskey.bin > _SERVER["MANPATH"] => > /usr/local/man:/usr/share/man:/usr/X11R6/man:/usr/openwin/man > _SERVER["LESSOPEN"] => lessopen.sh %s > _SERVER["CC"] => gcc > _SERVER["NNTPSERVER"] => news > _SERVER["LESS"] => -M -S -I > _SERVER["REQUEST_METHOD"] => GET > _SERVER["LS_COLORS"] => > no=00:fi=00:di=01;34:ln=01:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=40; >31;01:ex=01;31:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:* >.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.arj=00;31:*.taz >=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*. >tbz2=00;31:*.png=01;35:*.bmp=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.pc >x=01;35:*.ppm=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.wav=00;32:*.mp3=00 >;32:*.au=00;32:*.aiff=00;32:*.mid=00;32:*.voc=00;32: _SERVER["USER"] => > sebastian > _SERVER["XKEYSYMDB"] => /usr/X11R6/lib/X11/XKeysymDB > _SERVER["MACHTYPE"] => i686-suse-linux > _SERVER["TEST_PHP_SRCDIR"] => /home/sebastian/php-4.3.0RC1 > _SERVER["MAIL"] => /var/mail/sebastian > _SERVER["INPUTRC"] => /etc/inputrc > _SERVER["PATH_TRANSLATED"] => > _SERVER["LESS_ADVANCED_PREPROCESSOR"] => no > _SERVER["LANG"] => de_DE@euro > _SERVER["QUERY_STRING"] => > _SERVER["CONTENT_LENGTH"] => > _SERVER["HOST"] => idefix > _SERVER["MAKELEVEL"] => 1 > _SERVER["COLORTERM"] => 1 > _SERVER["INFOPATH"] => /usr/local/info:/usr/share/info:/usr/info > _SERVER["SHLVL"] => 3 > _SERVER["LOGNAME"] => sebastian > _SERVER["TEXINPUTS"] => > :/home/sebastian/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX _SERVER["MINICOM"] > => -c on > _SERVER["INFODIR"] => /usr/local/info:/usr/share/info:/usr/info > _SERVER["REDIRECT_STATUS"] => 1 > _SERVER["_"] => /home/sebastian/php-4.3.0RC1/sapi/cli/php > _SERVER["TEST_PHP_EXECUTABLE"] => /home/sebastian/php-4.3.0RC1/sapi/cli/php > _SERVER["SHELL"] => /bin/sh > _SERVER["PRINTER"] => lp > _SERVER["CPU"] => i686 > _SERVER["HOSTTYPE"] => i386 > _SERVER["WINDOWMANAGER"] => /usr/X11R6/bin/kde > _SERVER["OSTYPE"] => linux > _SERVER["no_proxy"] => localhost > _SERVER["TERM"] => xterm > _SERVER["HOME"] => /home/sebastian > _SERVER["XNLSPATH"] => /usr/X11R6/lib/X11/nls > _SERVER["PATH"] => > /usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/lib/java/bin:/usr/games/bi >n:/usr/games:. _SERVER["LC_COLLATE"] => POSIX > _SERVER["SSH_TTY"] => /dev/pts/0 > _SERVER["CONTENT_TYPE"] => > _SERVER["PHP_SELF"] => > _SERVER["SCRIPT_NAME"] => > _SERVER["DOCUMENT_ROOT"] => > _SERVER["argv"] => Array > ( > ) > > _SERVER["argc"] => 0 > _ENV["PWD"] => /home/sebastian/php-4.3.0RC1 > _ENV["TZ"] => Europe/Berlin > _ENV["MAKEFLAGS"] => > _ENV["SCRIPT_FILENAME"] => > /home/sebastian/php-4.3.0RC1/tests/strings/004.php _ENV["PAGER"] => less > _ENV["MFLAGS"] => > _ENV["HOSTNAME"] => idefix > _ENV["LESSCLOSE"] => lessclose.sh %s %s > _ENV["LS_OPTIONS"] => -N --color=tty -T 0 > _ENV["LESSKEY"] => /etc/lesskey.bin > _ENV["MANPATH"] => > /usr/local/man:/usr/share/man:/usr/X11R6/man:/usr/openwin/man > _ENV["LESSOPEN"] => lessopen.sh %s > _ENV["CC"] => gcc > _ENV["NNTPSERVER"] => news > _ENV["LESS"] => -M -S -I > _ENV["REQUEST_METHOD"] => GET > _ENV["LS_COLORS"] => > no=00:fi=00:di=01;34:ln=01:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=40; >31;01:ex=01;31:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.bat=01;32:*.btm=01;32:* >.dll=01;32:*.tar=00;31:*.tbz=00;31:*.tgz=00;31:*.rpm=00;31:*.arj=00;31:*.taz >=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*. >tbz2=00;31:*.png=01;35:*.bmp=01;35:*.gif=01;35:*.jpg=01;35:*.jpeg=01;35:*.pc >x=01;35:*.ppm=01;35:*.tif=01;35:*.xbm=01;35:*.xpm=01;35:*.wav=00;32:*.mp3=00 >;32:*.au=00;32:*.aiff=00;32:*.mid=00;32:*.voc=00;32: _ENV["USER"] => > sebastian > _ENV["XKEYSYMDB"] => /usr/X11R6/lib/X11/XKeysymDB > _ENV["MACHTYPE"] => i686-suse-linux > _ENV["TEST_PHP_SRCDIR"] => /home/sebastian/php-4.3.0RC1 > _ENV["MAIL"] => /var/mail/sebastian > _ENV["INPUTRC"] => /etc/inputrc > _ENV["PATH_TRANSLATED"] => > /home/sebastian/php-4.3.0RC1/tests/strings/004.php > _ENV["LESS_ADVANCED_PREPROCESSOR"] => no > _ENV["LANG"] => de_DE@euro > _ENV["QUERY_STRING"] => > _ENV["CONTENT_LENGTH"] => > _ENV["HOST"] => idefix > _ENV["MAKELEVEL"] => 1 > _ENV["COLORTERM"] => 1 > _ENV["INFOPATH"] => /usr/local/info:/usr/share/info:/usr/info > _ENV["SHLVL"] => 3 > _ENV["LOGNAME"] => sebastian > _ENV["TEXINPUTS"] => > :/home/sebastian/.TeX:/usr/share/doc/.TeX:/usr/doc/.TeX _ENV["MINICOM"] => > -c on > _ENV["INFODIR"] => /usr/local/info:/usr/share/info:/usr/info > _ENV["REDIRECT_STATUS"] => 1 > _ENV["_"] => /home/sebastian/php-4.3.0RC1/sapi/cli/php > _ENV["TEST_PHP_EXECUTABLE"] => /home/sebastian/php-4.3.0RC1/sapi/cli/php > _ENV["SHELL"] => /bin/sh > _ENV["PRINTER"] => lp > _ENV["CPU"] => i686 > _ENV["HOSTTYPE"] => i386 > _ENV["WINDOWMANAGER"] => /usr/X11R6/bin/kde > _ENV["OSTYPE"] => linux > _ENV["no_proxy"] => localhost > _ENV["TERM"] => xterm > _ENV["HOME"] => /home/sebastian > _ENV["XNLSPATH"] => /usr/X11R6/lib/X11/nls > _ENV["PATH"] => > /usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/lib/java/bin:/usr/games/bi >n:/usr/games:. _ENV["LC_COLLATE"] => POSIX > _ENV["SSH_TTY"] => /dev/pts/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.

Index: 001.phpt =================================================================== RCS file: /repository/php4/ext/standard/tests/time/001.phpt,v retrieving revision 1.4 diff -u -3 -p -r1.4 001.phpt --- 001.phpt 5 Nov 2002 09:52:30 -0000 1.4 +++ 001.phpt 14 Nov 2002 17:54:34 -0000 @@ -2,6 +2,8 @@ microtime() function --SKIPIF-- <?php if (!function_exists('microtime')) die('skip microtime() not available'); ?> +--INI-- +safe_mode=0 --FILE-- <?php $passed = 0; Index: 002.phpt =================================================================== RCS file: /repository/php4/ext/standard/tests/time/002.phpt,v retrieving revision 1.4 diff -u -3 -p -r1.4 002.phpt --- 002.phpt 29 Oct 2002 15:36:47 -0000 1.4 +++ 002.phpt 14 Nov 2002 17:54:34 -0000 @@ -1,5 +1,7 @@ --TEST-- strtotime() function +--INI-- +safe_mode=0 --SKIPIF-- <?php if (!@putenv("TZ=Europe/Amsterdam") || getenv("TZ") != 'Europe/Amsterdam') { Index: 003.phpt =================================================================== RCS file: /repository/php4/ext/standard/tests/time/003.phpt,v retrieving revision 1.1 diff -u -3 -p -r1.1 003.phpt --- 003.phpt 12 Jun 2002 15:35:27 -0000 1.1 +++ 003.phpt 14 Nov 2002 17:54:34 -0000 @@ -3,6 +3,8 @@ Check for mktime with out-of-range param --SKIPIF-- --POST-- --GET-- +--INI-- +safe_mode=0 --FILE-- <?php # MacOS/X libc implementation doesn't treat out-of-range values
« previous php.qa (#6775) next »