failed php tests
| From: | Ole Michaelsen | Date: | Mon, 01 Mar 2004 00:49:00 +0000 |
| Subject: | failed php tests | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-15994@lists.php.net to get a copy of this message | ||
Suggestions on how to solve below problems will be appreciated...
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Bug #25547 (error_handler and array index with function call) [tests/lang/bug25547.phpt]
Bug #25665 (var_dump () hangs on Nan and INF) [ext/standard/tests/math/bug25665.phpt]
xslt_backend_info: examples for detection of backend features
[ext/xslt/tests/xslt_backend_info.phpt]
xslt_set_object function [ext/xslt/tests/xslt_set_object.phpt]
=====================================================================
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 65
Exts tested : 22
---------------------------------------------------------------------
Number of tests : 535
Tests skipped : 218 (40.7%)
Tests warned : 0 ( 0.0%)
Tests failed : 4 ( 0.7%)
Tests passed : 313 (58.5%)
---------------------------------------------------------------------
Time taken : 491 seconds
=====================================================================
================================================================================
/home/olmic/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
(
[( o] => 1
)
Done
---- FAILED
================================================================================
004- [foo] => 1
004+ [( o] => 1
================================================================================
================================================================================
/home/olmic/work/php-4.3.4/ext/standard/tests/math/bug25665.phpt
================================================================================
---- EXPECTED OUTPUT
float(NAN)
float(-INF)
---- ACTUAL OUTPUT
float(0)
float(-INF)
---- FAILED
================================================================================
001- float(NAN)
001+ float(0)
================================================================================
================================================================================
/home/olmic/work/php-4.3.4/ext/xslt/tests/xslt_backend_info.phpt
================================================================================
---- EXPECTED OUTPUT
You (don't )?have iconv support
You (don't )?have JavaScript support
---- ACTUAL OUTPUT
Notice: Undefined index: libs in /home/olmic/work/php-4.3.4/ext/xslt/tests/xslt_backend_info.php on
line 15
You're configuration is missing expat, which conflicts with sanity.
---- FAILED
================================================================================
001- You (don't )?have iconv support
001+ Notice: Undefined index: libs in
/home/olmic/work/php-4.3.4/ext/xslt/tests/xslt_backend_info.php on line 15
002- You (don't )?have JavaScript support
002+ You're configuration is missing expat, which conflicts with sanity.
================================================================================
================================================================================
/home/olmic/work/php-4.3.4/ext/xslt/tests/xslt_set_object.phpt
================================================================================
---- EXPECTED OUTPUT
OK
OK
---- ACTUAL OUTPUT
Warning: Sablotron error on line 1: XML parser error 3: no element found in
/home/olmic/work/php-4.3.4/ext/xslt/tests/xslt_set_object.php on line 19
Warning: Sablotron error on line 1: XML parser error 3: no element found in
/home/olmic/work/php-4.3.4/ext/xslt/tests/xslt_set_object.php on line 30
OK
OK
---- FAILED
================================================================================
001- OK
001+ Warning: Sablotron error on line 1: XML parser error 3: no element found in
/home/olmic/work/php-4.3.4/ext/xslt/tests/xslt_set_object.php on line 19
002- OK
002+
003+ Warning: Sablotron error on line 1: XML parser error 3: no element found in
/home/olmic/work/php-4.3.4/ext/xslt/tests/xslt_set_object.php on line 30
004+ OK
005+ OK
================================================================================
================================================================================
BUILD ENVIRONMENT
================================================================================
OS:
SunOS - SunOS braun 5.8 Generic_108528-23 sun4u
Automake:
Autoconf:
autoconf (GNU Autoconf) 2.57
Written by David J. MacKenzie and Akim Demaille.
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.
Libtool:
ltmain.sh (GNU libtool) 1.4.3 (1.922.2.110 2002/10/23 01:39:54)
Compiler:
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.3.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-nls
--disable-libgcj --enable-languages=c,c++
Thread model: posix
gcc version 3.3.2
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:
libstdc++.so.5 => /usr/local/lib/./libstdc++.so.5
libm.so.1 => /usr/lib/libm.so.1
libgcc_s.so.1 => /usr/local/lib/./libgcc_s.so.1
libsablot.so.0 => /apache/1.3.29/sablotron/lib/libsablot.so.0
libexpat.so.0 => /usr/local/lib/./libexpat.so.0
libct.so.0 => /usr/local/lib/./libct.so.0
libsocket.so.1 => /usr/lib/libsocket.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libmcrypt.so.4 => /usr/local/lib/./libmcrypt.so.4
libdl.so.1 => /usr/lib/libdl.so.1
libltdl.so.3 => /usr/local/lib/./libltdl.so.3
libz.so.1 => /usr/lib/libz.so.1
libssl.so.0.9.7 => /usr/local/ssl/lib/libssl.so.0.9.7
libcrypto.so.0.9.7 => /usr/local/ssl/lib/libcrypto.so.0.9.7
libresolv.so.2 => /usr/lib/libresolv.so.2
libxml2.so.2 => /usr/local/lib/./libxml2.so.2
libpthread.so.1 => /usr/lib/libpthread.so.1
libiconv.so.2 => /usr/local/lib/./libiconv.so.2
libgen.so.1 => /usr/lib/libgen.so.1
libclntsh.so.8.0 => /usr/oracle/product/8.1.7/lib/libclntsh.so.8.0
libsched.so.1 => /usr/lib/libsched.so.1
libc.so.1 => /usr/lib/libc.so.1
libmp.so.2 => /usr/lib/libmp.so.2
libwtc8.so => /usr/oracle/product/8.1.7/lib/libwtc8.so
libaio.so.1 => /usr/lib/libaio.so.1
libthread.so.1 => /usr/lib/libthread.so.1
/usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1
================================================================================
PHPINFO
================================================================================
phpinfo()
PHP Version => 4.3.4
System => SunOS braun 5.8 Generic_108528-23 sun4u
Build Date => Mar 1 2004 00:59:33
Configure Command => './configure' '--with-prefix=/apache/1.3.29/php'
'--with-openssl=/usr/local/ssl' '--with-zlib' '--with-pear'
'--with-dom' '--enable-wddx' '--enable-sockets'
'--with-gdbm' '--with-xmlrpc' '--enable-calendar'
'--with-satellite' '--with-mcrypt' '--with-java=/usr/j2se'
'--with-mm=/apache/1.3.29/mm' '--with-apxs=/apache/1.3.29/bin/apxs'
'--with-config-file=/apache/1.3.29/conf/httpd.conf'
'--with-expat-dir=/usr/local' '--with-oci8=/oraapp/oracle9/product/9.2.0'
'--with-oracle=/usr/oracle/product/8.1.7' '--with-iconv-dir=/usr/local'
'--enable-bcmath' '--enable-dba=shared' '--with-mysql'
'--with-sybase-ct=/usr/local' '--enable-xslt'
'--with-xslt-sablot=/apache/1.3.29/sablotron'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /usr/local/lib/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.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 => 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 => 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 => no value => no value
output_handler => no value => no value
post_max_size => 8M => 8M
precision => 12 => 12
register_argc_argv => On => On
register_globals => Off => Off
report_memleaks => On => On
safe_mode => Off => Off
safe_mode_exec_dir => no value => no value
safe_mode_gid => Off => Off
safe_mode_include_dir => no value => no value
sendmail_from => me@localhost.com => me@localhost.com
sendmail_path => /usr/lib/sendmail -t -i => /usr/lib/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 => EGPCS => EGPCS
xmlrpc_error_number => 0 => 0
xmlrpc_errors => Off => Off
y2k_compliance => Off => Off
bcmath
BCMath support => enabled
calendar
Calendar support => enabled
ctype
ctype functions => enabled
domxml
DOM/XML => enabled
DOM/XML API Version => 20020815
libxml Version => 20604
HTML Support => enabled
XPath Support => enabled
XPointer Support => enabled
mcrypt
mcrypt support => enabled
version => >= 2.4.x
Supported ciphers => twofish rijndael-128 rijndael-192 rijndael-256 saferplus rc2 xtea serpent
safer-sk64 safer-sk128 cast-256 loki97 gost threeway cast-128 blowfish des blowfish-compat tripledes
enigma arcfour panama wake
Supported modes => ofb cfb nofb cbc ecb stream ncfb ctr
Directive => Local Value => Master Value
mcrypt.algorithms_dir => no value => no value
mcrypt.modes_dir => no value => no value
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
oci8
OCI8 Support => enabled
Revision => $Revision: 1.183.2.5 $
Oracle Version => 9.0
Compile-time ORACLE_HOME => /oraapp/oracle9/product/9.2.0
Libraries Used =>
openssl
OpenSSL support => enabled
OpenSSL Version => OpenSSL 0.9.7c 30 Sep 2003
oracle
Oracle Support => enabled
Oracle Version => 8.1
Compile-time ORACLE_HOME => /usr/oracle/product/8.1.7
Libraries Used =>
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 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_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 => On => On
sockets
Sockets Support => enabled
standard
Regex Library => Bundled library enabled
Dynamic Library Support => enabled
Path to sendmail => /usr/lib/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
sybase_ct
Sybase_CT Support => enabled
Active Persistent Links => 0
Active Links => 0
Min server severity => 10
Min client severity => 10
Application Name => PHP 4.0
Deadlock retry count => -1
Directive => Local Value => Master Value
sybct.allow_persistent => On => On
sybct.deadlock_retry_count => Unlimited => Unlimited
sybct.hostname => no value => no value
sybct.max_links => Unlimited => Unlimited
sybct.max_persistent => Unlimited => Unlimited
sybct.min_client_severity => 10 => 10
sybct.min_server_severity => 10 => 10
tokenizer
Tokenizer Support => enabled
wddx
WDDX Support => enabled
WDDX Session Serializer => enabled
xml
XML Support => active
XML Namespace Support => active
EXPAT Version => expat_1.95.5
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
xslt
XSLT support => enabled
Backend => Sablotron
Sablotron Version => 1.0.1
Sablotron Information => Cflags: -g -O2 Libs: -L/apache/1.3.29/sablotron/lib -liconv -lexpat
Prefix: /apache/1.3.29/sablotron
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
CC => gcc
CONTENT_LENGTH =>
CONTENT_TYPE =>
HOME => /home/olmic
LOGNAME => olmic
MAIL => /var/mail//olmic
MAKEFLAGS =>
MAKELEVEL => 1
MFLAGS =>
PATH => /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/bin
PATH_TRANSLATED =>
PWD => /home/olmic/work/php-4.3.4
QUERY_STRING =>
REDIRECT_STATUS =>
REQUEST_METHOD =>
SCRIPT_FILENAME =>
SHELL => /bin/sh
SSH_CLIENT => 172.16.106.19 1227 22
SSH_CONNECTION => 172.16.106.19 1227 172.16.0.72 22
SSH_TTY => /dev/pts/2
TERM => vt100
TEST_PHP_EXECUTABLE => /home/olmic/work/php-4.3.4/sapi/cli/php
TEST_PHP_SRCDIR => /home/olmic/work/php-4.3.4
TZ => CET
USER => olmic
_ => /usr/local/bin/make
PHP Variables
Variable => Value
_SERVER["CC"] => gcc
_SERVER["CONTENT_LENGTH"] =>
_SERVER["CONTENT_TYPE"] =>
_SERVER["HOME"] => /home/olmic
_SERVER["LOGNAME"] => olmic
_SERVER["MAIL"] => /var/mail//olmic
_SERVER["MAKEFLAGS"] =>
_SERVER["MAKELEVEL"] => 1
_SERVER["MFLAGS"] =>
_SERVER["PATH"] => /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/bin
_SERVER["PATH_TRANSLATED"] =>
_SERVER["PWD"] => /home/olmic/work/php-4.3.4
_SERVER["QUERY_STRING"] =>
_SERVER["REDIRECT_STATUS"] =>
_SERVER["REQUEST_METHOD"] =>
_SERVER["SCRIPT_FILENAME"] =>
_SERVER["SHELL"] => /bin/sh
_SERVER["SSH_CLIENT"] => 172.16.106.19 1227 22
_SERVER["SSH_CONNECTION"] => 172.16.106.19 1227 172.16.0.72 22
_SERVER["SSH_TTY"] => /dev/pts/2
_SERVER["TERM"] => vt100
_SERVER["TEST_PHP_EXECUTABLE"] => /home/olmic/work/php-4.3.4/sapi/cli/php
_SERVER["TEST_PHP_SRCDIR"] => /home/olmic/work/php-4.3.4
_SERVER["TZ"] => CET
_SERVER["USER"] => olmic
_SERVER["_"] => /usr/local/bin/make
_SERVER["PHP_SELF"] =>
_SERVER["SCRIPT_NAME"] =>
_SERVER["DOCUMENT_ROOT"] =>
_SERVER["argv"] => Array
(
)
_SERVER["argc"] => 0
_ENV["CC"] => gcc
_ENV["CONTENT_LENGTH"] =>
_ENV["CONTENT_TYPE"] =>
_ENV["HOME"] => /home/olmic
_ENV["LOGNAME"] => olmic
_ENV["MAIL"] => /var/mail//olmic
_ENV["MAKEFLAGS"] =>
_ENV["MAKELEVEL"] => 1
_ENV["MFLAGS"] =>
_ENV["PATH"] => /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/bin
_ENV["PATH_TRANSLATED"] =>
_ENV["PWD"] => /home/olmic/work/php-4.3.4
_ENV["QUERY_STRING"] =>
_ENV["REDIRECT_STATUS"] =>
_ENV["REQUEST_METHOD"] =>
_ENV["SCRIPT_FILENAME"] =>
_ENV["SHELL"] => /bin/sh
_ENV["SSH_CLIENT"] => 172.16.106.19 1227 22
_ENV["SSH_CONNECTION"] => 172.16.106.19 1227 172.16.0.72 22
_ENV["SSH_TTY"] => /dev/pts/2
_ENV["TERM"] => vt100
_ENV["TEST_PHP_EXECUTABLE"] => /home/olmic/work/php-4.3.4/sapi/cli/php
_ENV["TEST_PHP_SRCDIR"] => /home/olmic/work/php-4.3.4
_ENV["TZ"] => CET
_ENV["USER"] => olmic
_ENV["_"] => /usr/local/bin/make
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.