PHP test results 20031107
| From: | Michael Guitton | Date: | Fri, 07 Nov 2003 15:32:44 +0000 |
| Subject: | PHP test results 20031107 | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-15788@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]
strtotime() function [ext/standard/tests/time/002.phpt]
Check for mktime with out-of-range parameters [ext/standard/tests/time/003.phpt]
Bug #13142 strtotime handling of "M d H:i:s Y" format
[ext/standard/tests/time/bug13142.phpt]
mktime() [ext/standard/tests/time/mktime.phpt]
=====================================================================
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 71
Exts tested : 17
---------------------------------------------------------------------
Number of tests : 517
Tests skipped : 181 (35.0%)
Tests warned : 0 ( 0.0%)
Tests failed : 6 ( 1.2%)
Tests passed : 330 (63.8%)
---------------------------------------------------------------------
Time taken : 102 seconds
=====================================================================
================================================================================
/usr/local/src/php-4.3.3/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) " 4s 05"
string(9) " 4s 05"
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) " 4s 05"
010- string(9) "454s4s505"
010+ string(9) " 4s 05"
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.3/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.3/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
1969-12-31 18:59:59
2001-10-22 21:19:58
2001-10-22 19:19:58
2001-10-22 19:32:58
2001-10-22 15:19:58
2001-10-22 15:06:58
---- ACTUAL 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
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
---- FAILED
================================================================================
023- 1969-12-31 18:59:59
023+ 1969-12-31 23:59:59
025- 2001-10-22 19:19:58
025+ 2001-10-22 23:19:58
026- 2001-10-22 19:32:58
026+ 2001-10-22 23:32:58
027- 2001-10-22 15:19:58
027+ 2001-10-22 19:19:58
028- 2001-10-22 15:06:58
028+ 2001-10-22 19:06:58
================================================================================
================================================================================
/usr/local/src/php-4.3.3/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.3/ext/standard/tests/time/bug13142.phpt
================================================================================
---- EXPECTED OUTPUT
Tue, 4 Sep 2001 16:39:45 -0400
Tue, 4 Sep 2001 16:39:45 -0400
---- ACTUAL OUTPUT
Tue, 4 Sep 2001 16:39:45 +0000
Tue, 4 Sep 2001 16:39:45 +0000
---- FAILED
================================================================================
001- Tue, 4 Sep 2001 16:39:45 -0400
001+ Tue, 4 Sep 2001 16:39:45 +0000
002- Tue, 4 Sep 2001 16:39:45 -0400
002+ Tue, 4 Sep 2001 16:39:45 +0000
================================================================================
================================================================================
/usr/local/src/php-4.3.3/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.3/sapi/cli/php:
libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x2828c000)
libc-client4.so.8 => /usr/local/lib/libc-client4.so.8 (0x282a5000)
libmysqlclient.so.10 => /usr/local/lib/mysql/libmysqlclient.so.10 (0x2834e000)
libpam.so.1 => /usr/lib/libpam.so.1 (0x28369000)
libgd.so.2 => /usr/local/lib/libgd.so.2 (0x28372000)
libfreetype.so.7 => /usr/local/lib/libfreetype.so.7 (0x283b1000)
libpng.so.5 => /usr/local/lib/libpng.so.5 (0x283e9000)
libz.so.2 => /usr/lib/libz.so.2 (0x2840b000)
libjpeg.so.9 => /usr/local/lib/libjpeg.so.9 (0x28418000)
libbz2.so.1 => /usr/lib/libbz2.so.1 (0x28436000)
libm.so.2 => /usr/lib/libm.so.2 (0x28446000)
libcurl.so.2 => /usr/local/lib/libcurl.so.2 (0x28462000)
libc.so.4 => /usr/lib/libc.so.4 (0x28484000)
libssl.so.2 => /usr/lib/libssl.so.2 (0x2851e000)
libcrypto.so.2 => /usr/lib/libcrypto.so.2 (0x2854b000)
================================================================================
PHPINFO
================================================================================
phpinfo()
PHP Version => 4.3.3
System => FreeBSD diptyque.net 4.4-RELEASE FreeBSD 4.4-RELEASE #0: Wed Aug i386
Build Date => Nov 7 2003 15:46:29
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
Japanese 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
8< SNIP >8
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>