php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18297 Unable to link correctly a stable PHP kernel
Submitted: 2002-07-12 04:36 UTC Modified: 2002-07-15 20:36 UTC
From: fturi at chez dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.2.1 OS: AIX 4.3.3
Private report: No CVE-ID: None
 [2002-07-12 04:36 UTC] fturi at chez dot com
Hi to every body. I'm having an hard time to compile a stable PHP DSO library for Aix 4.3.3

I tried different Apache server (1.13.12 shipped with oracle Ias 9i releaase 1, 1.13.26 binary shipped from www.apache.org)
I tried different PHP version (4.0.6, 4.1.2, 4.2.1)

but all of them have the same problems on my Unix box.

I trully appreciate some help on that issue.

Best regards, Francois TURI


Symptom:
PHP unstable: function pow generate a segmentation fault when running on apache server.

Auto test failure:

Running tests in /u08/open_data/build/php-4.2.1//ext/session/test
==============================================================
Session Object Serialization (001.phpt)                              ... failed
session_unset() without any session                                  ... passed
Session Object Deserialization (003.phpt)                            ... failed
session_set_save_handler test (004.phpt)                             ... failed
Custom save handler, multiple session_start()s, complex data structu ... failed
References between variables in sessions (006.phpt)                  ... failed

Running tests in /u08/open_data/build/php-4.2.1//ext/standard/tests/array
=====================================================================
Test array_merge and array_walk (001.phpt)                           ... failed
Test arsort, asort, krsort, ksort, rsort, and sort (002.phpt)        ... failed
Test usort, uksort and uasort (003.phpt)                             ... failed
Test natsort and natcasesort                                         ... passed
search_array and in_array (including bug 13567)                      ... passed
count                                                                ... passed

Running tests in /u08/open_data/build/php-4.2.1//ext/standard/tests/math
========================================================================
Simple math tests                                                    ... passed
Tests for floor en ceil (floorceil.phpt)                             ... failed
Various pow() tests                                                  ... passed
Simple math tests                                                    ... passed

Running tests in /u08/open_data/build/php-4.2.1//tests/basic
============================================================
Trivial "Hello World" test                                           ... passed
Simple POST Method test (002.phpt)                                   ... failed
GET and POST Method combined (003.phpt)                              ... failed
Two variables in POST data (004.phpt)                                ... failed
Three variables in POST data (005.phpt)                              ... failed
Add 3 variables together and print result                            ... passed
Multiply 3 variables and print result                                ... passed
Divide 3 variables and print result                                  ... passed
Subtract 3 variables and print result                                ... passed
Testing | and & operators                                            ... passed
Testing $argc and $argv handling (011.phpt)                          ... failed

Running tests in /u08/open_data/build/php-4.2.1//tests/func
===========================================================
Strlen() function test                                               ... passed
Static variables in functions                                        ... passed
General function test                                                ... passed
General function test                                                ... passed
Testing register_shutdown_function()                                 ... passed
Output buffering test (006.phpt)                                     ... failed

TEST RESULT SUMMARY
=============================
Number of tests:   278
Tests skipped:     135 ( 49%)
Tests failed:       50 ( 35%)
Tests passed:       93 ( 65%)
=============================
Skipped 0 extensions.
PHP Version: 4.2.1

My Aix box is composed of:

Aix native IBM C Compiler
Aix native IBM ld linker
Open ldap from "IBM" RPM openldap-2.0.21-3.aix4.3.ppc.rpm
DB from "IBM" RPM db-3.3.11-1.aix4.3.ppc.rpm
PERL 5.0.6 from "IBM" perl-5.6.1-2.aix4.3.ppc.rpm
bison 1.28 from "IBM"  bison-1.28-5.aix4.3.ppc.rpm


Building environement:

export LIBPATH=/usr/lib:/usr/local/lib:/opt/freeware/lib
export LIBRARY_PATH=$LIBPATH
export CFLAGS="-I/usr/local/include -I/opt/freeware/include"
export CPPFLAGS=$CFLAGS
export C_INCLUDE_PATH=/usr/local/include:/opt/freeware/include
export LDFLAGS="-L/usr/lib -L/usr/local/lib -L/opt/freeware/lib"
export LANG=C
export LC_CTYPE=en_US
export CC=cc
#export  GCC_EXEC_PREFIX=
export LOCPATH=/usr/lib/nls/loc
export PATH=/usr/local/bin:/opt/freeware/bin:/usr/bin:$PATH

configure --with-config-file-path=$ORACLE_HOME/Apache/Apache/conf         \
        --with-apxs=$ORACLE_HOME/Apache/Apache/bin/apxs --enable-static \
        --with-ldap=/opt/freeware                                       \
        --with-mhash=/usr/local/mhash                                   \
        --with-openssl=/usr/local/ssl                                   \
        --with-oci8

Trace of linkage phase:
make[1]: Entering directory `/u08/open_data/build/php-4.2.1'
/bin/sh /u08/open_data/build/php-4.2.1/libtool --silent --mode=compile cc  -I. -I/u08/open_data/build/php-4.2.1/ -I/u08/open_data/build/php-4.2.1/main -I/u08/open_data/build/php-4.2.1 -I/usr/local/apache/include -I/u08/open_data/build/php-4.2.1/Zend -I/usr/local/ssl/include -I/opt/freeware/include -I/usr/local/include -I/u08/open_data/build/php-4.2.1/ext/mysql/libmysql -I/u06/app/oracle/product/8.1.7/rdbms/public -I/u06/app/oracle/product/8.1.7/rdbms/demo -I/u08/open_data/build/php-4.2.1/ext/xml/expat  -I/usr/local/include -I/opt/freeware/include -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -I/u08/open_data/build/php-4.2.1/TSRM -I/usr/local/include -I/opt/freeware/include -prefer-pic  -c stub.c
"stub.c", line 1: 1506-356 (W) Compilation unit is empty.
/bin/sh /u08/open_data/build/php-4.2.1/libtool --silent --mode=link cc  -I. -I/u08/open_data/build/php-4.2.1/ -I/u08/open_data/build/php-4.2.1/main -I/u08/open_data/build/php-4.2.1 -I/usr/local/apache/include -I/u08/open_data/build/php-4.2.1/Zend -I/usr/local/ssl/include -I/opt/freeware/include -I/usr/local/include -I/u08/open_data/build/php-4.2.1/ext/mysql/libmysql -I/u06/app/oracle/product/8.1.7/rdbms/public -I/u06/app/oracle/product/8.1.7/rdbms/demo -I/u08/open_data/build/php-4.2.1/ext/xml/expat  -I/usr/local/include -I/opt/freeware/include -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -I/u08/open_data/build/php-4.2.1/TSRM -I/usr/local/include -I/opt/freeware/include -prefer-pic  -L/usr/lib -L/usr/local/lib -L/opt/freeware/lib -o libphp4.la -rpath /u08/open_data/build/php-4.2.1/libs -Wl,-bI:/usr/local/apache/libexec/httpd.exp -avoid-version -L/usr/local/ssl/lib -L/opt/freeware/lib -L/usr/local/lib -L/u06/app/oracle/product/8.1.7/lib -L/usr/lib -L/usr/local/lib -L/opt/freeware/lib -R /usr/local/ssl/lib -R /opt/freeware/lib -R /usr/local/lib -R /u06/app/oracle/product/8.1.7/lib stub.lo  Zend/libZend.la sapi/apache/libsapi.la main/libmain.la regex/libregex.la /u08/open_data/build/php-4.2.1/ext/ctype/libctype.la /u08/open_data/build/php-4.2.1/ext/ldap/libldap.la /u08/open_data/build/php-4.2.1/ext/mhash/libmhash.la /u08/open_data/build/php-4.2.1/ext/mysql/libmysql.la /u08/open_data/build/php-4.2.1/ext/oci8/liboci8.la /u08/open_data/build/php-4.2.1/ext/openssl/libopenssl.la /u08/open_data/build/php-4.2.1/ext/pcre/libpcre.la /u08/open_data/build/php-4.2.1/ext/posix/libposix.la /u08/open_data/build/php-4.2.1/ext/session/libsession.la /u08/open_data/build/php-4.2.1/ext/standard/libstandard.la /u08/open_data/build/php-4.2.1/ext/xml/libxml.la TSRM/libtsrm.la -lld -lbsd_r -lm -lodm -ldl -lmhash -lldap -llber -lcrypt -lssl -lcrypto -lbind -lm -ldl -lcrypt -lclntsh -ldl
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_language_parser.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_language_scanner.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_ini_parser.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_ini_scanner.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_alloc.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_compile.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_constants.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_dynamic_array.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_execute.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_execute_API.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_highlight.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_llist.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_opcode.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_operators.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_ptr_stack.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_stack.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_variables.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_API.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_extensions.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_hash.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_list.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_indent.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_builtin_functions.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_sprintf.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_ini.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libZend.al/zend_qsort.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libsapi.al/sapi_apache.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libsapi.al/mod_php4.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libsapi.al/php_apache.lo contains an incorrect file suffix
cc: 1501-218 file .libs/libphp4.lax/libmain.al/main.lo contains an incorrect file suffix
...
etc
....
cc: 1501-218 file /u08/open_data/build/php-4.2.1/ext/ctype/.libs/libctype.al contains an incorrect file suffix
cc: 1501-218 file /u08/open_data/build/php-4.2.1/ext/ldap/.libs/libldap.al contains an incorrect file suffix
cc: 1501-218 file /u08/open_data/build/php-4.2.1/ext/mhash/.libs/libmhash.al contains an incorrect file suffix
cc: 1501-218 file /u08/open_data/build/php-4.2.1/ext/mysql/.libs/libmysql.al contains an incorrect file suffix
cc: 1501-218 file /u08/open_data/build/php-4.2.1/ext/oci8/.libs/liboci8.al contains an incorrect file suffix
cc: 1501-218 file /u08/open_data/build/php-4.2.1/ext/openssl/.libs/libopenssl.al contains an incorrect file suffix
cc: 1501-218 file /u08/open_data/build/php-4.2.1/ext/pcre/.libs/libpcre.al contains an incorrect file suffix
cc: 1501-218 file /u08/open_data/build/php-4.2.1/ext/posix/.libs/libposix.al contains an incorrect file suffix
cc: 1501-218 file /u08/open_data/build/php-4.2.1/ext/session/.libs/libsession.al contains an incorrect file suffix
cc: 1501-218 file /u08/open_data/build/php-4.2.1/ext/standard/.libs/libstandard.al contains an incorrect file suffix
cc: 1501-218 file /u08/open_data/build/php-4.2.1/ext/xml/.libs/libxml.al contains an incorrect file suffix
cc: 1501-218 file TSRM/.libs/libtsrm.al contains an incorrect file suffix
make[1]: Leaving directory `/u08/open_data/build/php-4.2.1'
Making all in pear

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-12 04:43 UTC] sniper@php.net
Please try this snapshot:

http://snaps.php.net/php4-latest.tar.gz

(you can safely ignore those warnings about incorrect file suffix..)

 [2002-07-12 08:53 UTC] fturi at chez dot com
Thanks for the very quick answer.

Downloaded the php4-200207120000 snapshot but I don't manage to build it (with the same environment).

() GNU@sigp3:/u08/open_data/build/php4-200207120000>make
        /bin/sh libtool --silent --mode=compile cc  -Iext/standard/ -I/u08/open_data/build/php4-200207120000/ext/standard/ -DPHP_ATO
M_INC -I/u08/open_data/build/php4-200207120000/include -I/u08/open_data/build/php4-200207120000/main -I/u08/open_data/build/php4-200
207120000 -I/u08/open_data/build/php4-200207120000/Zend -I/opt/freeware/include -I/usr/local/include -I/u06/app/oracle/product/8.1.7
/rdbms/public -I/u06/app/oracle/product/8.1.7/rdbms/demo -I/u08/open_data/build/php4-200207120000/ext/xml/expat  -I/usr/local/includ
e -I/opt/freeware/include -DAIX=43 -DUSE_PTHREAD_SERIALIZED_ACCEPT -DAIX_BIND_PROCESSOR -DUSE_HSREGEX -DUSE_EXPAT -I/u08/open_data/b
uild/php4-200207120000/TSRM -I/usr/local/include -I/opt/freeware/include  -prefer-pic -c /u08/open_data/build/php4-200207120000/ext/
standard/image.c -o ext/standard/image.lo 
"/u08/open_data/build/php4-200207120000/TSRM/tsrm_config_common.h", line 27.2: 1506-224 (W) Incorrect #pragma ignored.
"/u08/open_data/build/php4-200207120000/ext/standard/image.c", line 593.23: 1506-334 (S) Identifier uchar has already been defined o
n line 455 of "/usr/include/sys/types.h".
"/u08/open_data/build/php4-200207120000/ext/standard/image.c", line 601.25: 1506-019 (S) Expecting an array or a pointer to object t
ype.
"/u08/open_data/build/php4-200207120000/ext/standard/image.c", line 601.53: 1506-019 (S) Expecting an array or a pointer to object t
ype.
"/u08/open_data/build/php4-200207120000/ext/standard/image.c", line 603.25: 1506-019 (S) Expecting an array or a pointer to object t
ype.
"/u08/open_data/build/php4-200207120000/ext/standard/image.c", line 603.53: 1506-019 (S) Expecting an array or a pointer to object t
ype.
"/u08/open_data/build/php4-200207120000/ext/standard/image.c", line 621.55: 1506-019 (S) Expecting an array or a pointer to object t
ype.
"/u08/open_data/build/php4-200207120000/ext/standard/image.c", line 622.26: 1506-019 (S) Expecting an array or a pointer to object t
ype.
"/u08/open_data/build/php4-200207120000/ext/standard/image.c", line 622.55: 1506-019 (S) Expecting an array or a pointer to object t
ype.
"/u08/open_data/build/php4-200207120000/ext/standard/image.c", line 624.55: 1506-019 (S) Expecting an array or a pointer to object t
ype.
"/u08/open_data/build/php4-200207120000/ext/standard/image.c", line 625.26: 1506-019 (S) Expecting an array or a pointer to object t
ype.
"/u08/open_data/build/php4-200207120000/ext/standard/image.c", line 625.55: 1506-019 (S) Expecting an array or a pointer to object t
ype.
make: The error code from the last command is 1.


Stop.
 [2002-07-12 18:37 UTC] sniper@php.net
Snapshots have that bad thing about them that they're sometimes broken.. :(

I fixed this, but you need to wait until a new snapshot
is generated. http://snaps.php.net/php4-latest.tar.gz

Make sure the revision in ext/standard/image.c is 1.66 or above. If not, then the snapshot is too old and you have to wait for new one to be generated (about 3 hours)

 [2002-07-15 11:17 UTC] fturi at chez dot com
The alpha release 4.3.0 is much more stable (no core dump so far).
It's promissing :-).

Due to LDAP conflicting library resolution problem I had to change the compilation and environment to:

() GNU@sigp3:/u08/open_data/build>cat ~GNU/login_ucla.sh
date
#export LIBPATH=/usr/lib:/usr/local/lib:/opt/freeware/lib
#export LIBRARY_PATH=$LIBPATH
#export LDFLAGS="-L/usr/lib -L/usr/local/lib -L/opt/freeware/lib"
export LIBPATH=/usr/lib:/opt/freeware/lib:/usr/local/lib
export LIBRARY_PATH=$LIBPATH
export LDFLAGS="-L/usr/lib -L/opt/freeware/lib -L/usr/local/lib"
#
export CFLAGS="-I/usr/local/include -I/opt/freeware/include"
export CPPFLAGS=$CFLAGS
export C_INCLUDE_PATH=/usr/local/include:/opt/freeware/include
#
export LANG=C
export LC_CTYPE=en_US
export CC=cc
#export  GCC_EXEC_PREFIX=
export LOCPATH=/usr/lib/nls/loc
export PATH=/usr/local/bin:/opt/freeware/bin:/usr/bin:$PATH
export MANPATH=$MANPATH:/opt/freeware/man:/usr/local/man


and using :

configure  --with-config-file-path=/usr/local/apache/conf                  \
        --with-prefix=/usr/local                                        \
        --with-apxs=/usr/local/apache/bin/apxs --enable-static          \
        --with-ldap=/opt/freeware                                       \
        --with-oci8                                                     \
        --with-mhash=/usr/local/mhash                                   \
        --enable-debug

( I have openldap 2.0.23 under /usr/local/lib and openldap 2.0.21 under /opt/freeware/lib)

Thanks a lot for the great job you are doing.


Please find bellow the full trace of errors during test procedure.

() GNU@sigp3:/u08/open_data/build/php4-200207150000>find . ! -name "config.log" -name "*.log" -exec ls -lrt {} \; -exec echo {} \>
-rw-r-----   1 GNU      ftbegcp      533 Jul 15 13:17 ./ext/ctype/tests/002.log
./ext/ctype/tests/002.log
-rw-r-----   1 GNU      ftbegcp      229 Jul 15 13:17 ./ext/mbstring/tests/009.log
./ext/mbstring/tests/009.log
-rw-r-----   1 GNU      ftbegcp      445 Jul 15 13:18 ./ext/mbstring/tests/019.log
./ext/mbstring/tests/019.log
-rw-r-----   1 GNU      ftbegcp      504 Jul 15 13:18 ./ext/standard/tests/math/floorceil.log
./ext/standard/tests/math/floorceil.log
-rw-r-----   1 GNU      ftbegcp     2603 Jul 15 13:18 ./ext/standard/tests/array/001.log
./ext/standard/tests/array/001.log
-rw-r-----   1 GNU      ftbegcp    16271 Jul 15 13:18 ./ext/standard/tests/array/002.log
./ext/standard/tests/array/002.log
-rw-r-----   1 GNU      ftbegcp     2004 Jul 15 13:18 ./ext/standard/tests/array/003.log
./ext/standard/tests/array/003.log
-rw-r-----   1 GNU      ftbegcp     1299 Jul 15 13:18 ./ext/standard/tests/array/004.log
./ext/standard/tests/array/004.log
-rw-r-----   1 GNU      ftbegcp     1173 Jul 15 13:19 ./ext/standard/tests/time/002.log
./ext/standard/tests/time/002.log
-rw-r-----   1 GNU      ftbegcp      545 Jul 15 13:19 ./ext/standard/tests/time/003.log
./ext/standard/tests/time/003.log
-rw-r-----   1 GNU      ftbegcp      699 Jul 15 13:19 ./pear/Console/tests/001-getopt.log
./pear/Console/tests/001-getopt.log
-rw-r-----   1 GNU      ftbegcp     2584 Jul 15 13:19 ./pear/tests/pear_config.log
./pear/tests/pear_config.log
-rw-r-----   1 GNU      ftbegcp     3771 Jul 15 13:19 ./pear/tests/pear_error.log
./pear/tests/pear_error.log
-rw-r-----   1 GNU      ftbegcp      895 Jul 15 13:19 ./pear/tests/pear_system.log
./pear/tests/pear_system.log
-rw-r-----   1 GNU      ftbegcp      159 Jul 15 13:19 ./tests/basic/011.log
./tests/basic/011.log
-rw-r-----   1 GNU      ftbegcp       63 Jul 15 13:19 ./tests/func/006.log
./tests/func/006.log
-rw-r-----   1 GNU      ftbegcp     9560 Jul 15 13:20 ./tests/lang/023.log
./tests/lang/023.log
-rw-r-----   1 GNU      ftbegcp   390359 Jul 15 13:20 ./tests/lang/024.log
./tests/lang/024.log
-rw-r-----   1 GNU      ftbegcp      195 Jul 15 13:20 ./tests/lang/029.log
./tests/lang/029.log
-rw-r-----   1 GNU      ftbegcp      853 Jul 15 13:20 ./tests/lang/031.log
./tests/lang/031.log

() GNU@sigp3:/u08/open_data/build/php4-200207150000>4.log" -name "*.log" -exec ls -lrt {} \; -exec cat {} \;                     <
-rw-r-----   1 GNU      ftbegcp      533 Jul 15 13:17 ./ext/ctype/tests/002.log

---- EXPECTED OUTPUT
LOCALE is 'C'
ctype_lower 26 26 0
ctype_upper 26 26 0
ctype_alpha 52 52 0
ctype_digit 10 10 0
ctype_alnum 62 62 0
ctype_cntrl 33 33 0
ctype_graph 94 94 94
ctype_print 95 95 95
ctype_punct 32 32 0
ctype_space 6 6 0
ctype_xdigit 22 22 0
---- ACTUAL OUTPUT
LOCALE is 'C C C C C C'
ctype_lower 26 26 0
ctype_upper 26 26 0
ctype_alpha 52 52 0
ctype_digit 10 10 0
ctype_alnum 62 62 0
ctype_cntrl 33 33 0
ctype_graph 94 94 94
ctype_print 95 95 95
ctype_punct 32 32 0
ctype_space 6 6 0
ctype_xdigit 22 22 0
---- FAILED
-rw-r-----   1 GNU      ftbegcp      229 Jul 15 13:17 ./ext/mbstring/tests/009.log

---- EXPECTED OUTPUT
== ASCII ==
40
40
== EUC-JP ==
43
43
== SJIS ==
43
43
== JIS ==
43
43
== UTF-8 ==
43
43
== WRONG PARAMETERS ==
ERR: Notice

ERR: Notice

ERR: Warning
---- ACTUAL OUTPUT
ERR: Notice

ERR: Warning
---- FAILED
-rw-r-----   1 GNU      ftbegcp      445 Jul 15 13:18 ./ext/mbstring/tests/019.log

---- EXPECTED OUTPUT
== ASCII ==
ERR: Warning

40
== EUC-JP ==
ERR: Warning

72
== SJIS ==
ERR: Warning

72
== JIS ==
ERR: Warning

121
== UTF-8 ==
ERR: Warning

174
== WRONG PARAMETERS ==
ERR: Notice
5
ERR: Notice
6
ERR: Warning
---- ACTUAL OUTPUT
40
== EUC-JP ==
ERR: Warning

72
== SJIS ==
ERR: Warning

72
== JIS ==
ERR: Warning

121
== UTF-8 ==
ERR: Warning

174
== WRONG PARAMETERS ==
ERR: Notice
5
ERR: Notice
6
ERR: Warning
---- FAILED
-rw-r-----   1 GNU      ftbegcp      504 Jul 15 13:18 ./ext/standard/tests/math/floorceil.log

---- EXPECTED OUTPUT
float(0)
float(-0)
float(-1)
float(-1)
float(-1)
float(-2)
float(0)
float(1)
float(1)
float(2)
float(2)
float(3)
float(0)
float(-1)
float(-1)
float(-2)
float(-2)
float(-3)
float(0)
float(0)
float(1)
float(1)
float(1)
float(2)
---- ACTUAL OUTPUT
float(0)
float(0)
float(-1)
float(-1)
float(-1)
float(-2)
float(0)
float(1)
float(1)
float(2)
float(2)
float(3)
float(0)
float(-1)
float(-1)
float(-2)
float(-2)
float(-3)
float(0)
float(0)
float(1)
float(1)
float(1)
float(2)
---- FAILED
-rw-r-----   1 GNU      ftbegcp     2603 Jul 15 13:18 ./ext/standard/tests/array/001.log

---- EXPECTED OUTPUT
array(10) {
  [0]=>
  string(3) "PHP"
  [1]=>
  string(27) "PHP: Hypertext Preprocessor"
  [2]=>
  string(4) "Test"
  ["test"]=>
  int(27)
  [3]=>
  string(4) "test"
  ["-2147483648"]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  [4]=>
  float(-0.33333333333333)
  [5]=>
  array(1) {
    [0]=>
    array(1) {
      [0]=>
      array(1) {
        [0]=>
        int(0)
      }
    }
  }
  [6]=>
  array(1) {
    [0]=>
    array(1) {
      [0]=>
      array(1) {
        [0]=>
        int(0)
      }
    }
  }
  [7]=>
  array(1) {
    [0]=>
    array(1) {
      [0]=>
      array(1) {
        [0]=>
        int(0)
      }
    }
  }
}
 -- Testing array_walk() -- 
int(0)
string(3) "PHP"
int(1)
string(27) "PHP: Hypertext Preprocessor"
int(2)
string(4) "Test"
string(4) "test"
int(27)
int(3)
string(4) "test"
string(11) "-2147483648"
array(2) {
  [0]=>
  string(6) "banana"
  [1]=>
  string(6) "orange"
}
int(4)
float(-0.33333333333333)
int(5)
array(1) {
  [0]=>
  array(1) {
    [0]=>
    array(1) {
      [0]=>
      int(0)
    }
  }
}
int(6)
array(1) {
  [0]=>
  array(1) {
    [0]=>
    array(1) {
      [0]=>
      int(0)
    }
  }
}
int(7)
array(1) {
  [0]=>
  array(1) {
    [0]=>
    array(1) {
      [0]=>
      int(0)
    }
  }
}
---- ACTUAL OUTPUT
array(10) {
  [0]=>
  string(3) "PHP"
  [1]=>
  string(27) "PHP: Hypertext Preprocessor"
  [2]=>
  string(4) "Test"
  ["test"]=>
  int(27)
  [3]=>
  float(-.333333333333)
  ["-2147483648"]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  [4]=>
  string(6) "monkey"
  [5]=>
  array(1) {
    [0]=>
    array(1) {
      [0]=>
      array(1) {
        [0]=>
        int(0)
      }
    }
  }
  [6]=>
  array(1) {
    [0]=>
    array(1) {
      [0]=>
      array(1) {
        [0]=>
        int(0)
      }
    }
  }
  [7]=>
  array(1) {
    [0]=>
    array(1) {
      [0]=>
      array(1) {
        [0]=>
        int(0)
      }
    }
  }
}
 -- Testing array_walk() -- 
int(0)
string(3) "PHP"
int(1)
string(27) "PHP: Hypertext Preprocessor"
int(2)
string(4) "Test"
string(4) "test"
int(27)
int(3)
float(-.333333333333)
string(11) "-2147483648"
array(2) {
  [0]=>
  string(6) "banana"
  [1]=>
  string(6) "orange"
}
int(4)
string(6) "monkey"
int(5)
array(1) {
  [0]=>
  array(1) {
    [0]=>
    array(1) {
      [0]=>
      int(0)
    }
  }
}
int(6)
array(1) {
  [0]=>
  array(1) {
    [0]=>
    array(1) {
      [0]=>
      int(0)
    }
  }
}
int(7)
array(1) {
  [0]=>
  array(1) {
    [0]=>
    array(1) {
      [0]=>
      int(0)
    }
  }
}
---- FAILED
-rw-r-----   1 GNU      ftbegcp    16271 Jul 15 13:18 ./ext/standard/tests/array/002.log

---- EXPECTED OUTPUT
-- Testing arsort() -- 
No second argument:
array(7) {
  ["-2147483648"]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  ["test"]=>
  int(27)
  [2147483647]=>
  string(4) "test"
  [5]=>
  string(4) "Test"
  [17]=>
  string(27) "PHP: Hypertext Preprocessor"
  [0]=>
  string(3) "PHP"
  [-2147483648]=>
  float(-0.33333333333333)
}
Using SORT_REGULAR:
array(7) {
  ["-2147483648"]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  ["test"]=>
  int(27)
  [2147483647]=>
  string(4) "test"
  [5]=>
  string(4) "Test"
  [17]=>
  string(27) "PHP: Hypertext Preprocessor"
  [0]=>
  string(3) "PHP"
  [-2147483648]=>
  float(-0.33333333333333)
}
Using SORT_NUMERIC:
array(7) {
  ["test"]=>
  int(27)
  ["-2147483648"]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  [0]=>
  string(3) "PHP"
  [17]=>
  string(27) "PHP: Hypertext Preprocessor"
  [5]=>
  string(4) "Test"
  [2147483647]=>
  string(4) "test"
  [-2147483648]=>
  float(-0.33333333333333)
}
Using SORT_STRING
array(7) {
  [2147483647]=>
  string(4) "test"
  [5]=>
  string(4) "Test"
  [17]=>
  string(27) "PHP: Hypertext Preprocessor"
  [0]=>
  string(3) "PHP"
  ["-2147483648"]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  ["test"]=>
  int(27)
  [-2147483648]=>
  float(-0.33333333333333)
}

 -- Testing asort() -- 
No second argument:
array(7) {
  [-2147483648]=>
  float(-0.33333333333333)
  [0]=>
  string(3) "PHP"
  [17]=>
  string(27) "PHP: Hypertext Preprocessor"
  [5]=>
  string(4) "Test"
  [2147483647]=>
  string(4) "test"
  ["test"]=>
  int(27)
  ["-2147483648"]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
}
Using SORT_REGULAR:
array(7) {
  [-2147483648]=>
  float(-0.33333333333333)
  [0]=>
  string(3) "PHP"
  [17]=>
  string(27) "PHP: Hypertext Preprocessor"
  [5]=>
  string(4) "Test"
  [2147483647]=>
  string(4) "test"
  ["test"]=>
  int(27)
  ["-2147483648"]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
}
Using SORT_NUMERIC:
array(7) {
  [-2147483648]=>
  float(-0.33333333333333)
  [2147483647]=>
  string(4) "test"
  [5]=>
  string(4) "Test"
  [17]=>
  string(27) "PHP: Hypertext Preprocessor"
  [0]=>
  string(3) "PHP"
  ["-2147483648"]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  ["test"]=>
  int(27)
}
Using SORT_STRING
array(7) {
  [-2147483648]=>
  float(-0.33333333333333)
  ["test"]=>
  int(27)
  ["-2147483648"]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  [0]=>
  string(3) "PHP"
  [17]=>
  string(27) "PHP: Hypertext Preprocessor"
  [5]=>
  string(4) "Test"
  [2147483647]=>
  string(4) "test"
}

 -- Testing krsort() -- 
No second argument:
array(7) {
  [2147483647]=>
  string(4) "test"
  [17]=>
  string(27) "PHP: Hypertext Preprocessor"
  [5]=>
  string(4) "Test"
  ["test"]=>
  int(27)
  [0]=>
  string(3) "PHP"
  [-2147483648]=>
  float(-0.33333333333333)
  ["-2147483648"]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
}
Using SORT_REGULAR:
array(7) {
  [2147483647]=>
  string(4) "test"
  [17]=>
  string(27) "PHP: Hypertext Preprocessor"
  [5]=>
  string(4) "Test"
  [0]=>
  string(3) "PHP"
  ["test"]=>
  int(27)
  ["-2147483648"]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  [-2147483648]=>
  float(-0.33333333333333)
}
Using SORT_NUMERIC:
array(7) {
  [2147483647]=>
  string(4) "test"
  [17]=>
  string(27) "PHP: Hypertext Preprocessor"
  [5]=>
  string(4) "Test"
  ["test"]=>
  int(27)
  [0]=>
  string(3) "PHP"
  [-2147483648]=>
  float(-0.33333333333333)
  ["-2147483648"]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
}
Using SORT_STRING
array(7) {
  ["test"]=>
  int(27)
  [5]=>
  string(4) "Test"
  [2147483647]=>
  string(4) "test"
  [17]=>
  string(27) "PHP: Hypertext Preprocessor"
  [0]=>
  string(3) "PHP"
  ["-2147483648"]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  [-2147483648]=>
  float(-0.33333333333333)
}

 -- Testing ksort() -- 
No second argument:
array(7) {
  ["-2147483648"]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  [-2147483648]=>
  float(-0.33333333333333)
  [0]=>
  string(3) "PHP"
  ["test"]=>
  int(27)
  [5]=>
  string(4) "Test"
  [17]=>
  string(27) "PHP: Hypertext Preprocessor"
  [2147483647]=>
  string(4) "test"
}
Using SORT_REGULAR:
array(7) {
  [-2147483648]=>
  float(-0.33333333333333)
  ["-2147483648"]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  ["test"]=>
  int(27)
  [0]=>
  string(3) "PHP"
  [5]=>
  string(4) "Test"
  [17]=>
  string(27) "PHP: Hypertext Preprocessor"
  [2147483647]=>
  string(4) "test"
}
Using SORT_NUMERIC:
array(7) {
  ["-2147483648"]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  [-2147483648]=>
  float(-0.33333333333333)
  [0]=>
  string(3) "PHP"
  ["test"]=>
  int(27)
  [5]=>
  string(4) "Test"
  [17]=>
  string(27) "PHP: Hypertext Preprocessor"
  [2147483647]=>
  string(4) "test"
}
Using SORT_STRING
array(7) {
  [-2147483648]=>
  float(-0.33333333333333)
  ["-2147483648"]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  [0]=>
  string(3) "PHP"
  [17]=>
  string(27) "PHP: Hypertext Preprocessor"
  [2147483647]=>
  string(4) "test"
  [5]=>
  string(4) "Test"
  ["test"]=>
  int(27)
}

 -- Testing rsort() -- 
No second argument:
array(7) {
  [0]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  [1]=>
  int(27)
  [2]=>
  string(4) "test"
  [3]=>
  string(4) "Test"
  [4]=>
  string(27) "PHP: Hypertext Preprocessor"
  [5]=>
  string(3) "PHP"
  [6]=>
  float(-0.33333333333333)
}
Using SORT_REGULAR:
array(7) {
  [0]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  [1]=>
  int(27)
  [2]=>
  string(4) "test"
  [3]=>
  string(4) "Test"
  [4]=>
  string(27) "PHP: Hypertext Preprocessor"
  [5]=>
  string(3) "PHP"
  [6]=>
  float(-0.33333333333333)
}
Using SORT_NUMERIC:
array(7) {
  [0]=>
  int(27)
  [1]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  [2]=>
  string(3) "PHP"
  [3]=>
  string(27) "PHP: Hypertext Preprocessor"
  [4]=>
  string(4) "Test"
  [5]=>
  string(4) "test"
  [6]=>
  float(-0.33333333333333)
}
Using SORT_STRING
array(7) {
  [0]=>
  string(4) "test"
  [1]=>
  string(4) "Test"
  [2]=>
  string(27) "PHP: Hypertext Preprocessor"
  [3]=>
  string(3) "PHP"
  [4]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  [5]=>
  int(27)
  [6]=>
  float(-0.33333333333333)
}

 -- Testing sort() -- 
No second argument:
array(7) {
  [0]=>
  float(-0.33333333333333)
  [1]=>
  string(3) "PHP"
  [2]=>
  string(27) "PHP: Hypertext Preprocessor"
  [3]=>
  string(4) "Test"
  [4]=>
  string(4) "test"
  [5]=>
  int(27)
  [6]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
}
Using SORT_REGULAR:
array(7) {
  [0]=>
  float(-0.33333333333333)
  [1]=>
  string(3) "PHP"
  [2]=>
  string(27) "PHP: Hypertext Preprocessor"
  [3]=>
  string(4) "Test"
  [4]=>
  string(4) "test"
  [5]=>
  int(27)
  [6]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
}
Using SORT_NUMERIC:
array(7) {
  [0]=>
  float(-0.33333333333333)
  [1]=>
  string(4) "test"
  [2]=>
  string(4) "Test"
  [3]=>
  string(27) "PHP: Hypertext Preprocessor"
  [4]=>
  string(3) "PHP"
  [5]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  [6]=>
  int(27)
}
Using SORT_STRING
array(7) {
  [0]=>
  float(-0.33333333333333)
  [1]=>
  int(27)
  [2]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  [3]=>
  string(3) "PHP"
  [4]=>
  string(27) "PHP: Hypertext Preprocessor"
  [5]=>
  string(4) "Test"
  [6]=>
  string(4) "test"
}
---- ACTUAL OUTPUT
-- Testing arsort() -- 
No second argument:
array(7) {
  ["-2147483648"]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  ["test"]=>
  int(27)
  [-2147483648]=>
  string(6) "monkey"
  [5]=>
  string(4) "Test"
  [17]=>
  string(27) "PHP: Hypertext Preprocessor"
  [0]=>
  string(3) "PHP"
  [2147483647]=>
  float(-.333333333333)
}
Using SORT_REGULAR:
array(7) {
  ["-2147483648"]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  ["test"]=>
  int(27)
  [-2147483648]=>
  string(6) "monkey"
  [5]=>
  string(4) "Test"
  [17]=>
  string(27) "PHP: Hypertext Preprocessor"
  [0]=>
  string(3) "PHP"
  [2147483647]=>
  float(-.333333333333)
}
Using SORT_NUMERIC:
array(7) {
  ["test"]=>
  int(27)
  ["-2147483648"]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  [0]=>
  string(3) "PHP"
  [17]=>
  string(27) "PHP: Hypertext Preprocessor"
  [5]=>
  string(4) "Test"
  [-2147483648]=>
  string(6) "monkey"
  [2147483647]=>
  float(-.333333333333)
}
Using SORT_STRING
array(7) {
  [-2147483648]=>
  string(6) "monkey"
  [5]=>
  string(4) "Test"
  [17]=>
  string(27) "PHP: Hypertext Preprocessor"
  [0]=>
  string(3) "PHP"
  ["-2147483648"]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  ["test"]=>
  int(27)
  [2147483647]=>
  float(-.333333333333)
}

 -- Testing asort() -- 
No second argument:
array(7) {
  [2147483647]=>
  float(-.333333333333)
  [0]=>
  string(3) "PHP"
  [17]=>
  string(27) "PHP: Hypertext Preprocessor"
  [5]=>
  string(4) "Test"
  [-2147483648]=>
  string(6) "monkey"
  ["test"]=>
  int(27)
  ["-2147483648"]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
}
Using SORT_REGULAR:
array(7) {
  [2147483647]=>
  float(-.333333333333)
  [0]=>
  string(3) "PHP"
  [17]=>
  string(27) "PHP: Hypertext Preprocessor"
  [5]=>
  string(4) "Test"
  [-2147483648]=>
  string(6) "monkey"
  ["test"]=>
  int(27)
  ["-2147483648"]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
}
Using SORT_NUMERIC:
array(7) {
  [2147483647]=>
  float(-.333333333333)
  [-2147483648]=>
  string(6) "monkey"
  [5]=>
  string(4) "Test"
  [17]=>
  string(27) "PHP: Hypertext Preprocessor"
  [0]=>
  string(3) "PHP"
  ["-2147483648"]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  ["test"]=>
  int(27)
}
Using SORT_STRING
array(7) {
  [2147483647]=>
  float(-.333333333333)
  ["test"]=>
  int(27)
  ["-2147483648"]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  [0]=>
  string(3) "PHP"
  [17]=>
  string(27) "PHP: Hypertext Preprocessor"
  [5]=>
  string(4) "Test"
  [-2147483648]=>
  string(6) "monkey"
}

 -- Testing krsort() -- 
No second argument:
array(7) {
  [2147483647]=>
  float(-.333333333333)
  [17]=>
  string(27) "PHP: Hypertext Preprocessor"
  [5]=>
  string(4) "Test"
  ["test"]=>
  int(27)
  [0]=>
  string(3) "PHP"
  [-2147483648]=>
  string(6) "monkey"
  ["-2147483648"]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
}
Using SORT_REGULAR:
array(7) {
  [2147483647]=>
  float(-.333333333333)
  [17]=>
  string(27) "PHP: Hypertext Preprocessor"
  [5]=>
  string(4) "Test"
  [0]=>
  string(3) "PHP"
  ["test"]=>
  int(27)
  ["-2147483648"]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  [-2147483648]=>
  string(6) "monkey"
}
Using SORT_NUMERIC:
array(7) {
  [2147483647]=>
  float(-.333333333333)
  [17]=>
  string(27) "PHP: Hypertext Preprocessor"
  [5]=>
  string(4) "Test"
  ["test"]=>
  int(27)
  [0]=>
  string(3) "PHP"
  [-2147483648]=>
  string(6) "monkey"
  ["-2147483648"]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
}
Using SORT_STRING
array(7) {
  ["test"]=>
  int(27)
  [5]=>
  string(4) "Test"
  [2147483647]=>
  float(-.333333333333)
  [17]=>
  string(27) "PHP: Hypertext Preprocessor"
  [0]=>
  string(3) "PHP"
  ["-2147483648"]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  [-2147483648]=>
  string(6) "monkey"
}

 -- Testing ksort() -- 
No second argument:
array(7) {
  ["-2147483648"]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  [-2147483648]=>
  string(6) "monkey"
  [0]=>
  string(3) "PHP"
  ["test"]=>
  int(27)
  [5]=>
  string(4) "Test"
  [17]=>
  string(27) "PHP: Hypertext Preprocessor"
  [2147483647]=>
  float(-.333333333333)
}
Using SORT_REGULAR:
array(7) {
  [-2147483648]=>
  string(6) "monkey"
  ["-2147483648"]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  ["test"]=>
  int(27)
  [0]=>
  string(3) "PHP"
  [5]=>
  string(4) "Test"
  [17]=>
  string(27) "PHP: Hypertext Preprocessor"
  [2147483647]=>
  float(-.333333333333)
}
Using SORT_NUMERIC:
array(7) {
  ["-2147483648"]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  [-2147483648]=>
  string(6) "monkey"
  [0]=>
  string(3) "PHP"
  ["test"]=>
  int(27)
  [5]=>
  string(4) "Test"
  [17]=>
  string(27) "PHP: Hypertext Preprocessor"
  [2147483647]=>
  float(-.333333333333)
}
Using SORT_STRING
array(7) {
  [-2147483648]=>
  string(6) "monkey"
  ["-2147483648"]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  [0]=>
  string(3) "PHP"
  [17]=>
  string(27) "PHP: Hypertext Preprocessor"
  [2147483647]=>
  float(-.333333333333)
  [5]=>
  string(4) "Test"
  ["test"]=>
  int(27)
}

 -- Testing rsort() -- 
No second argument:
array(7) {
  [0]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  [1]=>
  int(27)
  [2]=>
  string(6) "monkey"
  [3]=>
  string(4) "Test"
  [4]=>
  string(27) "PHP: Hypertext Preprocessor"
  [5]=>
  string(3) "PHP"
  [6]=>
  float(-.333333333333)
}
Using SORT_REGULAR:
array(7) {
  [0]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  [1]=>
  int(27)
  [2]=>
  string(6) "monkey"
  [3]=>
  string(4) "Test"
  [4]=>
  string(27) "PHP: Hypertext Preprocessor"
  [5]=>
  string(3) "PHP"
  [6]=>
  float(-.333333333333)
}
Using SORT_NUMERIC:
array(7) {
  [0]=>
  int(27)
  [1]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  [2]=>
  string(3) "PHP"
  [3]=>
  string(27) "PHP: Hypertext Preprocessor"
  [4]=>
  string(4) "Test"
  [5]=>
  string(6) "monkey"
  [6]=>
  float(-.333333333333)
}
Using SORT_STRING
array(7) {
  [0]=>
  string(6) "monkey"
  [1]=>
  string(4) "Test"
  [2]=>
  string(27) "PHP: Hypertext Preprocessor"
  [3]=>
  string(3) "PHP"
  [4]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  [5]=>
  int(27)
  [6]=>
  float(-.333333333333)
}

 -- Testing sort() -- 
No second argument:
array(7) {
  [0]=>
  float(-.333333333333)
  [1]=>
  string(3) "PHP"
  [2]=>
  string(27) "PHP: Hypertext Preprocessor"
  [3]=>
  string(4) "Test"
  [4]=>
  string(6) "monkey"
  [5]=>
  int(27)
  [6]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
}
Using SORT_REGULAR:
array(7) {
  [0]=>
  float(-.333333333333)
  [1]=>
  string(3) "PHP"
  [2]=>
  string(27) "PHP: Hypertext Preprocessor"
  [3]=>
  string(4) "Test"
  [4]=>
  string(6) "monkey"
  [5]=>
  int(27)
  [6]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
}
Using SORT_NUMERIC:
array(7) {
  [0]=>
  float(-.333333333333)
  [1]=>
  string(6) "monkey"
  [2]=>
  string(4) "Test"
  [3]=>
  string(27) "PHP: Hypertext Preprocessor"
  [4]=>
  string(3) "PHP"
  [5]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  [6]=>
  int(27)
}
Using SORT_STRING
array(7) {
  [0]=>
  float(-.333333333333)
  [1]=>
  int(27)
  [2]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  [3]=>
  string(3) "PHP"
  [4]=>
  string(27) "PHP: Hypertext Preprocessor"
  [5]=>
  string(4) "Test"
  [6]=>
  string(6) "monkey"
}
---- FAILED
-rw-r-----   1 GNU      ftbegcp     2004 Jul 15 13:18 ./ext/standard/tests/array/003.log

---- EXPECTED OUTPUT
-- Testing uasort() -- 
array(7) {
  [-2147483648]=>
  float(-0.33333333333333)
  ["-2147483648"]=>
  array(2) {
    [0]=>
    int(0)
    [1]=>
    int(0)
  }
  ["test"]=>
  int(27)
  [0]=>
  string(3) "PHP"
  [17]=>
  string(27) "PHP: Hypertext Preprocessor"
  [5]=>
  string(4) "Test"
  [2147483647]=>
  string(4) "test"
}

 -- Testing uksort() -- 
array(7) {
  ["-2147483648"]=>
  array(2) {
    [0]=>
    int(0)
    [1]=>
    int(0)
  }
  [-2147483648]=>
  float(-0.33333333333333)
  [0]=>
  string(3) "PHP"
  [17]=>
  string(27) "PHP: Hypertext Preprocessor"
  [2147483647]=>
  string(4) "test"
  [5]=>
  string(4) "Test"
  ["test"]=>
  int(27)
}

 -- Testing usort() -- 
array(7) {
  [0]=>
  float(-0.33333333333333)
  [1]=>
  array(2) {
    [0]=>
    int(0)
    [1]=>
    int(0)
  }
  [2]=>
  int(27)
  [3]=>
  string(3) "PHP"
  [4]=>
  string(27) "PHP: Hypertext Preprocessor"
  [5]=>
  string(4) "Test"
  [6]=>
  string(4) "test"
}
---- ACTUAL OUTPUT
-- Testing uasort() -- 
array(7) {
  [2147483647]=>
  float(-.333333333333)
  ["-2147483648"]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  ["test"]=>
  int(27)
  [0]=>
  string(3) "PHP"
  [17]=>
  string(27) "PHP: Hypertext Preprocessor"
  [5]=>
  string(4) "Test"
  [-2147483648]=>
  string(6) "monkey"
}

 -- Testing uksort() -- 
array(7) {
  ["-2147483648"]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  [-2147483648]=>
  string(6) "monkey"
  [0]=>
  string(3) "PHP"
  [17]=>
  string(27) "PHP: Hypertext Preprocessor"
  [2147483647]=>
  float(-.333333333333)
  [5]=>
  string(4) "Test"
  ["test"]=>
  int(27)
}

 -- Testing usort() -- 
array(7) {
  [0]=>
  float(-.333333333333)
  [1]=>
  array(2) {
    [0]=>
    string(6) "banana"
    [1]=>
    string(6) "orange"
  }
  [2]=>
  int(27)
  [3]=>
  string(3) "PHP"
  [4]=>
  string(27) "PHP: Hypertext Preprocessor"
  [5]=>
  string(4) "Test"
  [6]=>
  string(6) "monkey"
}
---- FAILED
-rw-r-----   1 GNU      ftbegcp     1299 Jul 15 13:18 ./ext/standard/tests/array/004.log

---- EXPECTED OUTPUT
array(5) {
  [0]=>
  string(5) "Test1"
  ["teST2"]=>
  int(0)
  [5]=>
  string(5) "test2"
  ["abc"]=>
  string(6) "test10"
  [6]=>
  string(6) "test21"
}
array(5) {
  ["teST2"]=>
  int(0)
  [0]=>
  string(5) "Test1"
  [5]=>
  string(5) "test2"
  ["abc"]=>
  string(6) "test10"
  [6]=>
  string(6) "test21"
}
array(5) {
  ["teST2"]=>
  int(0)
  [0]=>
  string(5) "Test1"
  [5]=>
  string(5) "test2"
  ["abc"]=>
  string(6) "test10"
  [6]=>
  string(6) "test21"
}
---- ACTUAL OUTPUT
array(5) {
  [0]=>
  string(5) "Test1"
  ["teST2"]=>
  int(0)
  [5]=>
  string(5) "test2"
  ["abc"]=>
  string(6) "test10"
  [6]=>
  string(6) "test21"
}
array(5) {
  ["teST2"]=>
  int(0)
  [0]=>
  string(5) "Test1"
  [5]=>
  string(5) "test2"
  ["abc"]=>
  string(6) "test10"
  [6]=>
  string(6) "test21"
}
array(5) {
  ["teST2"]=>
  int(0)
  [0]=>
  string(5) "Test1"
  [5]=>
  string(5) "test2"
  ["abc"]=>
  string(6) "test10"
  [6]=>
  string(6) "test21"
}
/u08/open_data/build/php4-200207150000/ext/standard/array.c(354) :  Freeing 0x2013DCC0 (6 bytes), script=/u08/open_data/build/php4-2
00207150000/ext/standard/tests/array/phpt.3d32cba0ab3a3
/u08/open_data/build/php4-200207150000/Zend/zend_variables.c(106) : Actual location (location was relayed)
Last leak repeated 2 times
---- FAILED
-rw-r-----   1 GNU      ftbegcp     1173 Jul 15 13:19 ./ext/standard/tests/time/002.log

---- 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
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
-rw-r-----   1 GNU      ftbegcp      545 Jul 15 13:19 ./ext/standard/tests/time/003.log

---- 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
2000-05-29 12:00:00
2000-01-31 12:00:00
2000-01-31 12:00:00
2000-01-31 12:00:00
2000-04-29 12:00:00
2000-04-29 12:00:00
2000-04-29 12:00:00
---- FAILED
-rw-r-----   1 GNU      ftbegcp      699 Jul 15 13:19 ./pear/Console/tests/001-getopt.log

---- EXPECTED OUTPUT
options: a=, b=, c=
params: 

options: a=, b=, c=
params: foo

options: a=, b=, c=foo
params: 

options: a=, b=, c=
params: foo, bar, gazonk

options: a=, b=, c=foo
params: bar, gazonk

options: a=, b=, c=
params: 

Console_Getopt: option requires an argument -- c

options: a=, b=c
params: 

options: a=, b=, c=
params: foo, -bar, gazonk
---- ACTUAL OUTPUT
options: a=, b=, c=
params: foo

options: a=, b=, c=foo
params: 

options: a=, b=, c=
params: foo, bar, gazonk

options: a=, b=, c=foo
params: bar, gazonk

options: a=, b=, c=
params: 

Console_Getopt: option requires an argument -- coptions: a=, b=c
params: 

options: a=, b=, c=
params: foo, -bar, gazonk
---- FAILED
-rw-r-----   1 GNU      ftbegcp     2584 Jul 15 13:19 ./pear/tests/pear_config.log

---- EXPECTED OUTPUT
#0 starting up
..system.conf: master_server="pear.php.net"
..user.conf: <empty>

#1 testing: constructor
files: system="system.conf" user="user.conf"

#2 testing: singleton
string(4) "blah"
string(4) "blah"

#3 testing: readConfigFile
user: verbose="2"
system: master_server="pear.php.net"
user: <empty>
system: master_server="pear.php.net"

#4 testing: mergeConfigFile
user: verbose="2"
user: verbose="100"
user: verbose="2"
user: <empty>
unknown config file type `xyzzy'

#5 testing: config file version detection
toonew.conf: unknown version `2.0'

#6 testing: get/set/remove
int(1)
int(100)
int(2)
int(50)
int(2)
int(1)

#7 testing: getType
bool(false)
string(7) "integer"
string(6) "string"
string(9) "directory"

#8 testing: getDocs
master_server: name of the main PEAR server

#9 testing: getKeys
bin_dir data_dir doc_dir ext_dir http_proxy master_server password php_dir preferred_state test_dir umask username verbose

#10 testing: definedBy
string(7) "default"
string(4) "user"
string(4) "user"
string(6) "system"
string(7) "default"

#11 testing: isDefined
bool(true)
bool(true)
bool(false)
bool(false)

#12 testing: getGroup
bin_dir: File Locations
data_dir: File Locations (Advanced)
doc_dir: File Locations
ext_dir: File Locations
http_proxy: Internet Access
master_server: Internet Access
password: Maintainers
php_dir: File Locations
preferred_state: Advanced
test_dir: File Locations (Advanced)
umask: Advanced
username: Maintainers
verbose: Advanced

#13 testing: getGroups
Advanced, File Locations, File Locations (Advanced), Internet Access, Maintainers

#14 testing: getGroupKeys
Advanced: preferred_state, umask, verbose
File Locations: bin_dir, doc_dir, ext_dir, php_dir
File Locations (Advanced): data_dir, test_dir
Internet Access: http_proxy, master_server
Maintainers: password, username

#15 testing: getPrompt
bin_dir: PEAR executables directory
data_dir: PEAR data directory
doc_dir: PEAR documentation directory
ext_dir: PHP extension directory
http_proxy: HTTP Proxy Server Address
master_server: PEAR server
password: PEAR password (for package maintainers)
php_dir: PEAR directory
preferred_state: Preferred Package State
test_dir: PEAR test directory
umask: Unix file mask
username: PEAR username (for package maintainers)
verbose: Debug Log Level
done
---- ACTUAL OUTPUT
Fatal error: Call to undefined function:  tmpdir() in /u08/open_data/build/php4-200207150000/pear/PEAR/Config.php on line 54
/u08/open_data/build/php4-200207150000/pear/PEAR/Config.php(54) : Fatal error - Call to undefined function:  tmpdir()
---- FAILED
-rw-r-----   1 GNU      ftbegcp     3771 Jul 15 13:19 ./pear/tests/pear_error.log

---- EXPECTED OUTPUT
specify error class: [foo_error: message="test error" code=0 mode=return level=notice prefix="Foo_Error prefix" info=""]
default PEAR_Error: [pear_error: message="unknown error" code=0 mode=return level=notice prefix="" info=""]
Testing it: bool(true)
This is not an error: bool(false)
Now trying a bunch of variations...
different message: [pear_error: message="test error" code=0 mode=return level=notice prefix="" info=""]
different message,code: [pear_error: message="test error" code=-42 mode=return level=notice prefix="" info=""]
mode=print: test error[pear_error: message="test error" code=-42 mode=print level=notice prefix="" info=""]
mode=callback(function): errorhandler function called, obj=[pear_error: message="test error" code=-42 mode=callback callback=errorha
ndler prefix="" info=""]
mode=callback(method): errorhandler method called, obj=[pear_error: message="test error" code=-42 mode=callback callback=errorclass:
:errorhandler prefix="" info=""]
mode=print&trigger: test error
User Notice: test error in PEAR.php on line XXX
[pear_error: message="test error" code=-42 mode=print|trigger level=notice prefix="" info=""]
mode=trigger:
User Notice: test error in PEAR.php on line XXX
[pear_error: message="test error" code=-42 mode=trigger level=notice prefix="" info=""]
mode=trigger,level=notice:
User Notice: test error in PEAR.php on line XXX
[pear_error: message="test error" code=-42 mode=trigger level=notice prefix="" info=""]
mode=trigger,level=warning:
User Warning: test error in PEAR.php on line XXX
[pear_error: message="test error" code=-42 mode=trigger level=warning prefix="" info=""]
mode=trigger,level=error:
User Error: test error in PEAR.php on line XXX
[pear_error: message="test error" code=-42 mode=trigger level=error prefix="" info=""]
---- ACTUAL OUTPUT
specify error class: [foo_error: message="test error" code=0 mode=return level=notice prefix="Foo_Error prefix" info=""]
default PEAR_Error: [pear_error: message="unknown error" code=0 mode=return level=notice prefix="" info=""]
Testing it: bool(true)
This is not an error: bool(false)
Now trying a bunch of variations...
different message: [pear_error: message="test error" code=0 mode=return level=notice prefix="" info=""]
different message,code: [pear_error: message="test error" code=-42 mode=return level=notice prefix="" info=""]
mode=print: test error[pear_error: message="test error" code=-42 mode=print level=notice prefix="" info=""]
mode=callback(function): errorhandler function called, obj=[pear_error: message="test error" code=-42 mode=callback callback=errorha
ndler prefix="" info=""]
mode=callback(method): 
Notice: call_user_method(): This function is deprecated, use the call_user_func variety with the array(&$obj, "method") syntax inste
ad in PEAR.php on line XXX
errorhandler method called, obj=[pear_error: message="test error" code=-42 mode=callback callback=errorclass::errorhandler prefix=""
 info=""]
mode=print&trigger: test error
User Notice: test error in PEAR.php on line XXX
[pear_error: message="test error" code=-42 mode=print|trigger level=notice prefix="" info=""]
mode=trigger:
User Notice: test error in PEAR.php on line XXX
[pear_error: message="test error" code=-42 mode=trigger level=notice prefix="" info=""]
mode=trigger,level=notice:
User Notice: test error in PEAR.php on line XXX
[pear_error: message="test error" code=-42 mode=trigger level=notice prefix="" info=""]
mode=trigger,level=warning:
User Warning: test error in PEAR.php on line XXX
[pear_error: message="test error" code=-42 mode=trigger level=warning prefix="" info=""]
mode=trigger,level=error:
User Error: test error in PEAR.php on line XXX
[pear_error: message="test error" code=-42 mode=trigger level=error prefix="" info=""]
---- FAILED
-rw-r-----   1 GNU      ftbegcp      895 Jul 15 13:19 ./pear/tests/pear_system.log

---- EXPECTED OUTPUT
end
---- ACTUAL OUTPUT
Warning: mkdir(): File exists in /u11/open_data/local/lib/php/System.php on line 217
/u11/open_data/local/lib/php/System.php(217) : Warning - mkdir(): File exists

Warning: mkdir(): File exists in /u11/open_data/local/lib/php/System.php on line 217
/u11/open_data/local/lib/php/System.php(217) : Warning - mkdir(): File exists

Warning: mkdir(): File exists in /u11/open_data/local/lib/php/System.php on line 217
/u11/open_data/local/lib/php/System.php(217) : Warning - mkdir(): File exists
System::mkDir("dir4/dir3") did not failed
System::mkDir('file4 dir5') did not failed

Fatal error: Call to undefined function:  mktemp() in /u08/open_data/build/php4-200207150000/pear/tests/phpt.3d32cbf3e13ea on line 4
3
/u08/open_data/build/php4-200207150000/pear/tests/phpt.3d32cbf3e13ea(43) : Fatal error - Call to undefined function:  mktemp()
---- FAILED
-rw-r-----   1 GNU      ftbegcp      159 Jul 15 13:19 ./tests/basic/011.log

---- EXPECTED OUTPUT
0: ab
1: cd
2: ef
3: 123
4: test
---- ACTUAL OUTPUT
0: /u08/open_data/build/php4-200207150000/tests/basic/phpt.3d32cbf8e8769
---- FAILED
-rw-r-----   1 GNU      ftbegcp       63 Jul 15 13:19 ./tests/func/006.log

---- EXPECTED OUTPUT
3B2A
---- ACTUAL OUTPUT
2B1A
---- FAILED
-rw-r-----   1 GNU      ftbegcp     9560 Jul 15 13:20 ./tests/lang/023.log

---- EXPECTED OUTPUT
PHP Regression Test

<html>
<head>

*** Testing assignments and variable aliasing: ***<br>
This should read "blah": blah<br>
This should read "this is nifty": this is nifty<br>
*************************************************<br>

*** Testing integer operators ***<br>
Correct result - 8:  8<br>
Correct result - 8:  8<br>
Correct result - 2:  2<br>
Correct result - -2:  -2<br>
Correct result - 15:  15<br>
Correct result - 15:  15<br>
Correct result - 2:  2<br>
Correct result - 3:  3<br>
*********************************<br>

*** Testing real operators ***<br>
Correct result - 8:  8<br>
Correct result - 8:  8<br>
Correct result - 2:  2<br>
Correct result - -2:  -2<br>
Correct result - 15:  15<br>
Correct result - 15:  15<br>
Correct result - 2:  2<br>
Correct result - 3:  3<br>
*********************************<br>

*** Testing if/elseif/else control ***<br>

This  works<br>
this_still_works<br>
should_print<br>

*** Seriously nested if's test ***<br>
** spelling correction by kluzz **
Only two lines of text should follow:<br>
this should be displayed. should be:  $i=1, $j=0.  is:  $i=1, $j=0<br>
this is supposed to be displayed. should be:  $i=2, $j=4.  is:  $i=2, $j=4<br>
3 loop iterations should follow:<br>
2 4<br>
3 4<br>
4 4<br>
**********************************<br>

*** C-style else-if's ***<br>
This should be displayed<br>
*************************<br>

*** WHILE tests ***<br>
0 is smaller than 20<br>
1 is smaller than 20<br>
2 is smaller than 20<br>
3 is smaller than 20<br>
4 is smaller than 20<br>
5 is smaller than 20<br>
6 is smaller than 20<br>
7 is smaller than 20<br>
8 is smaller than 20<br>
9 is smaller than 20<br>
10 is smaller than 20<br>
11 is smaller than 20<br>
12 is smaller than 20<br>
13 is smaller than 20<br>
14 is smaller than 20<br>
15 is smaller than 20<br>
16 is smaller than 20<br>
17 is smaller than 20<br>
18 is smaller than 20<br>
19 is smaller than 20<br>
20 equals 20<br>
21 is greater than 20<br>
22 is greater than 20<br>
23 is greater than 20<br>
24 is greater than 20<br>
25 is greater than 20<br>
26 is greater than 20<br>
27 is greater than 20<br>
28 is greater than 20<br>
29 is greater than 20<br>
30 is greater than 20<br>
31 is greater than 20<br>
32 is greater than 20<br>
33 is greater than 20<br>
34 is greater than 20<br>
35 is greater than 20<br>
36 is greater than 20<br>
37 is greater than 20<br>
38 is greater than 20<br>
39 is greater than 20<br>
*******************<br>

*** Nested WHILEs ***<br>
Each array variable should be equal to the sum of its indices:<br>
${test00}[0] = 0<br>
${test00}[1] = 1<br>
${test00}[2] = 2<br>
${test01}[0] = 1<br>
${test01}[1] = 2<br>
${test01}[2] = 3<br>
${test02}[0] = 2<br>
${test02}[1] = 3<br>
${test02}[2] = 4<br>
${test10}[0] = 1<br>
${test10}[1] = 2<br>
${test10}[2] = 3<br>
${test11}[0] = 2<br>
${test11}[1] = 3<br>
${test11}[2] = 4<br>
${test12}[0] = 3<br>
${test12}[1] = 4<br>
${test12}[2] = 5<br>
${test20}[0] = 2<br>
${test20}[1] = 3<br>
${test20}[2] = 4<br>
${test21}[0] = 3<br>
${test21}[1] = 4<br>
${test21}[2] = 5<br>
${test22}[0] = 4<br>
${test22}[1] = 5<br>
${test22}[2] = 6<br>
*********************<br>

*** hash test... ***<br>
commented out...
**************************<br>

*** Hash resizing test ***<br>
ba<br>
baa<br>
baaa<br>
baaaa<br>
baaaaa<br>
baaaaaa<br>
baaaaaaa<br>
baaaaaaaa<br>
baaaaaaaaa<br>
baaaaaaaaaa<br>
ba<br>
10<br>
baa<br>
9<br>
baaa<br>
8<br>
baaaa<br>
7<br>
baaaaa<br>
6<br>
baaaaaa<br>
5<br>
baaaaaaa<br>
4<br>
baaaaaaaa<br>
3<br>
baaaaaaaaa<br>
2<br>
baaaaaaaaaa<br>
1<br>
**************************<br>

*** break/continue test ***<br>
$i should go from 0 to 2<br>
$j should go from 3 to 4, and $q should go from 3 to 4<br>
  $j=3<br>
    $q=3<br>
    $q=4<br>
  $j=4<br>
    $q=3<br>
    $q=4<br>
$j should go from 0 to 2<br>
  $j=0<br>
  $j=1<br>
  $j=2<br>
$k should go from 0 to 2<br>
    $k=0<br>
    $k=1<br>
    $k=2<br>
$i=0<br>
$j should go from 3 to 4, and $q should go from 3 to 4<br>
  $j=3<br>
    $q=3<br>
    $q=4<br>
  $j=4<br>
    $q=3<br>
    $q=4<br>
$j should go from 0 to 2<br>
  $j=0<br>
  $j=1<br>
  $j=2<br>
$k should go from 0 to 2<br>
    $k=0<br>
    $k=1<br>
    $k=2<br>
$i=1<br>
$j should go from 3 to 4, and $q should go from 3 to 4<br>
  $j=3<br>
    $q=3<br>
    $q=4<br>
  $j=4<br>
    $q=3<br>
    $q=4<br>
$j should go from 0 to 2<br>
  $j=0<br>
  $j=1<br>
  $j=2<br>
$k should go from 0 to 2<br>
    $k=0<br>
    $k=1<br>
    $k=2<br>
$i=2<br>
***********************<br>

*** Nested file include test ***<br>
<html>
This is Finish.phtml.  This file is supposed to be included 
from regression_test.phtml.  This is normal HTML.
and this is PHP code, 2+2=4
</html>
********************************<br>

Tests completed.<br>
Limor Ullmann is now Limor Baruch :I
---- ACTUAL OUTPUT
<html>
<head>

*** Testing assignments and variable aliasing: ***<br>
This should read "blah": blah<br>
This should read "this is nifty": this is nifty<br>
*************************************************<br>

*** Testing integer operators ***<br>
Correct result - 8:  8<br>
Correct result - 8:  8<br>
Correct result - 2:  2<br>
Correct result - -2:  -2<br>
Correct result - 15:  15<br>
Correct result - 15:  15<br>
Correct result - 2:  2<br>
Correct result - 3:  3<br>
*********************************<br>

*** Testing real operators ***<br>
Correct result - 8:  8<br>
Correct result - 8:  8<br>
Correct result - 2:  2<br>
Correct result - -2:  -2<br>
Correct result - 15:  15<br>
Correct result - 15:  15<br>
Correct result - 2:  2<br>
Correct result - 3:  3<br>
*********************************<br>

*** Testing if/elseif/else control ***<br>

This  works<br>
this_still_works<br>
should_print<br>

*** Seriously nested if's test ***<br>
** spelling correction by kluzz **
Only two lines of text should follow:<br>
this should be displayed. should be:  $i=1, $j=0.  is:  $i=1, $j=0<br>
this is supposed to be displayed. should be:  $i=2, $j=4.  is:  $i=2, $j=4<br>
3 loop iterations should follow:<br>
2 4<br>
3 4<br>
4 4<br>
**********************************<br>

*** C-style else-if's ***<br>
This should be displayed<br>
*************************<br>

*** WHILE tests ***<br>
0 is smaller than 20<br>
1 is smaller than 20<br>
2 is smaller than 20<br>
3 is smaller than 20<br>
4 is smaller than 20<br>
5 is smaller than 20<br>
6 is smaller than 20<br>
7 is smaller than 20<br>
8 is smaller than 20<br>
9 is smaller than 20<br>
10 is smaller than 20<br>
11 is smaller than 20<br>
12 is smaller than 20<br>
13 is smaller than 20<br>
14 is smaller than 20<br>
15 is smaller than 20<br>
16 is smaller than 20<br>
17 is smaller than 20<br>
18 is smaller than 20<br>
19 is smaller than 20<br>
20 equals 20<br>
21 is greater than 20<br>
22 is greater than 20<br>
23 is greater than 20<br>
24 is greater than 20<br>
25 is greater than 20<br>
26 is greater than 20<br>
27 is greater than 20<br>
28 is greater than 20<br>
29 is greater than 20<br>
30 is greater than 20<br>
31 is greater than 20<br>
32 is greater than 20<br>
33 is greater than 20<br>
34 is greater than 20<br>
35 is greater than 20<br>
36 is greater than 20<br>
37 is greater than 20<br>
38 is greater than 20<br>
39 is greater than 20<br>
*******************<br>

*** Nested WHILEs ***<br>
Each array variable should be equal to the sum of its indices:<br>
${test00}[0] = 0<br>
${test00}[1] = 1<br>
${test00}[2] = 2<br>
${test01}[0] = 1<br>
${test01}[1] = 2<br>
${test01}[2] = 3<br>
${test02}[0] = 2<br>
${test02}[1] = 3<br>
${test02}[2] = 4<br>
${test10}[0] = 1<br>
${test10}[1] = 2<br>
${test10}[2] = 3<br>
${test11}[0] = 2<br>
${test11}[1] = 3<br>
${test11}[2] = 4<br>
${test12}[0] = 3<br>
${test12}[1] = 4<br>
${test12}[2] = 5<br>
${test20}[0] = 2<br>
${test20}[1] = 3<br>
${test20}[2] = 4<br>
${test21}[0] = 3<br>
${test21}[1] = 4<br>
${test21}[2] = 5<br>
${test22}[0] = 4<br>
${test22}[1] = 5<br>
${test22}[2] = 6<br>
*********************<br>

*** hash test... ***<br>
commented out...
**************************<br>

*** Hash resizing test ***<br>
ba<br>
baa<br>
baaa<br>
baaaa<br>
baaaaa<br>
baaaaaa<br>
baaaaaaa<br>
baaaaaaaa<br>
baaaaaaaaa<br>
baaaaaaaaaa<br>
ba<br>
10<br>
baa<br>
9<br>
baaa<br>
8<br>
baaaa<br>
7<br>
baaaaa<br>
6<br>
baaaaaa<br>
5<br>
baaaaaaa<br>
4<br>
baaaaaaaa<br>
3<br>
baaaaaaaaa<br>
2<br>
baaaaaaaaaa<br>
1<br>
**************************<br>

*** break/continue test ***<br>
$i should go from 0 to 2<br>
$j should go from 3 to 4, and $q should go from 3 to 4<br>
  $j=3<br>
    $q=3<br>
    $q=4<br>
  $j=4<br>
    $q=3<br>
    $q=4<br>
$j should go from 0 to 2<br>
  $j=0<br>
  $j=1<br>
  $j=2<br>
$k should go from 0 to 2<br>
    $k=0<br>
    $k=1<br>
    $k=2<br>
$i=0<br>
$j should go from 3 to 4, and $q should go from 3 to 4<br>
  $j=3<br>
    $q=3<br>
    $q=4<br>
  $j=4<br>
    $q=3<br>
    $q=4<br>
$j should go from 0 to 2<br>
  $j=0<br>
  $j=1<br>
  $j=2<br>
$k should go from 0 to 2<br>
    $k=0<br>
    $k=1<br>
    $k=2<br>
$i=1<br>
$j should go from 3 to 4, and $q should go from 3 to 4<br>
  $j=3<br>
    $q=3<br>
    $q=4<br>
  $j=4<br>
    $q=3<br>
    $q=4<br>
$j should go from 0 to 2<br>
  $j=0<br>
  $j=1<br>
  $j=2<br>
$k should go from 0 to 2<br>
    $k=0<br>
    $k=1<br>
    $k=2<br>
$i=2<br>
***********************<br>

*** Nested file include test ***<br>
<html>
This is Finish.phtml.  This file is supposed to be included 
from regression_test.phtml.  This is normal HTML.
and this is PHP code, 2+2=4
</html>
********************************<br>

Tests completed.<br>
Limor Ullmann is now Limor Baruch :I
---- FAILED
-rw-r-----   1 GNU      ftbegcp      195 Jul 15 13:20 ./tests/lang/029.log

---- EXPECTED OUTPUT
success
---- ACTUAL OUTPUT
failure
x=object(stdClass)(1) {
  ["root"]=>
  object(obj)(0) {
  }
}

y=object(stdClass)(1) {
  ["root"]=>
  &object(obj)(0) {
  }
}
---- FAILED
-rw-r-----   1 GNU      ftbegcp      853 Jul 15 13:20 ./tests/lang/031.log

---- EXPECTED OUTPUT
Correct - with inner loop reset.
inloop 0 for key1
inloop 1 for key1
inloop 0 for key2
inloop 1 for key2
What happens without inner loop reset.
inloop 0 for key1
inloop 1 for key1
What happens without inner loop reset but copy.
inloop 0 for key1
inloop 1 for key1
What happens with inner loop reset over copy.
inloop 0 for key1
inloop 1 for key1
inloop 0 for key2
inloop 1 for key2
---- ACTUAL OUTPUT
Correct - with inner loop reset.
inloop 0 for key1
inloop 1 for key1
inloop 0 for key2
inloop 1 for key2
What happens without inner loop reset.
inloop 0 for key1
inloop 1 for key1
What happens without inner loop reset but copy.
inloop 0 for key1
inloop 1 for key1
inloop 0 for key2
inloop 1 for key2
What happens with inner loop reset over copy.
inloop 0 for key1
inloop 1 for key1
inloop 0 for key2
inloop 1 for key2
---- FAILED
 [2002-07-15 20:36 UTC] sniper@php.net
This report has got so long that it's getting really
hard to find any important/usable data in it.
The compile problems don't exist in the snapshots, so I'm
closing this now. (the 'make install' problem does exist, but there are reports about that one already)

Please submit a new bug report about this pow() crash,
and provide a gdb backtrace of the crash. Instructions how to get one can be found here:

http://bugs.php.net/bugs-generating-backtrace.php

Please don't add anymore comments to this report. 
Thank you. (and don't forget to the example script
which causes the crash!!)

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 12:01:31 2024 UTC