Test results for 5.1.0b1 [failed]

From: Date: Thu, 16 Jun 2005 06:03:33 +0000
Subject: Test results for 5.1.0b1 [failed]
Groups: php.qa 
Request: Send a blank email to php-qa+get-25019@lists.php.net to get a copy of this message
===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- ZE2 ArrayAccess::offsetGet ambiguties [tests/classes/array_access_003.phpt] ZE2 ArrayAccess and sub Arrays [tests/classes/array_access_005.phpt] ZE2 ArrayAccess and ASSIGN_OP operators (.=) [tests/classes/array_access_008.phpt] Bug #29944 (function defined in switch crashes PHP) [tests/lang/bug29944.phpt] Bug #33277 (private method accessed by child class) [Zend/tests/bug33277.phpt] unset() CV 5 (indirect unset() of global variable in session_start()) [Zend/tests/unset_cv05.phpt] unset() CV 6 (indirect unset() of global variable in session_unset()) [Zend/tests/unset_cv06.phpt] unset() CV 7 (indirect unset() of global variable in import_request_variables()) [Zend/tests/unset_cv07.phpt] Bug #20528 (preg_split() drops characters (re-opens Bug #15413)) [ext/pcre/tests/bug20528.phpt] Bug #21732 (preg_replace() segfaults with invalid parameters) [ext/pcre/tests/bug21732.phpt] Bug #26927 (preg_quote() does not escape \0) [ext/pcre/tests/bug26927.phpt] Bug #27103 (preg_split('//u') incorrectly splits UTF-8 strings into octets) [ext/pcre/tests/bug27103.phpt] Bug #33200 (magic_quotes_sybase = On makes 'e' modifier misbehave) [ext/pcre/tests/bug33200.phpt] preg_replace() fifth parameter - count [ext/pcre/tests/pcre_count.phpt] SPL: Problem with casting to string [ext/spl/tests/dit_001.phpt] SPL: IteratorIterator and SimpleXMlElement [ext/spl/tests/iterator_006.phpt] various fputcsv() functionality tests [ext/standard/tests/file/fputcsv.phpt] GetImageSize() with 246x247 pixels [ext/standard/tests/image/getimagesize_246x247.phpt] GetImageSize() with 384x385 pixels [ext/standard/tests/image/getimagesize_384x385.phpt] ===================================================================== ===================================================================== TEST RESULT SUMMARY --------------------------------------------------------------------- Exts skipped : 77 Exts tested : 6 --------------------------------------------------------------------- Number of tests : 1849 719 Tests borked : 1 ( 0.1%) -------- Tests skipped : 1129 ( 61.1%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 19 ( 1.0%) ( 2.6%) Tests passed : 700 ( 37.9%) ( 97.4%) --------------------------------------------------------------------- Time taken : 59 seconds ===================================================================== ===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- ZE2 ArrayAccess::offsetGet ambiguties [tests/classes/array_access_003.phpt] ZE2 ArrayAccess and sub Arrays [tests/classes/array_access_005.phpt] ZE2 ArrayAccess and ASSIGN_OP operators (.=) [tests/classes/array_access_008.phpt] Bug #29944 (function defined in switch crashes PHP) [tests/lang/bug29944.phpt] Bug #33277 (private method accessed by child class) [Zend/tests/bug33277.phpt] unset() CV 5 (indirect unset() of global variable in session_start()) [Zend/tests/unset_cv05.phpt] unset() CV 6 (indirect unset() of global variable in session_unset()) [Zend/tests/unset_cv06.phpt] unset() CV 7 (indirect unset() of global variable in import_request_variables()) [Zend/tests/unset_cv07.phpt] Bug #20528 (preg_split() drops characters (re-opens Bug #15413)) [ext/pcre/tests/bug20528.phpt] Bug #21732 (preg_replace() segfaults with invalid parameters) [ext/pcre/tests/bug21732.phpt] Bug #26927 (preg_quote() does not escape \0) [ext/pcre/tests/bug26927.phpt] Bug #27103 (preg_split('//u') incorrectly splits UTF-8 strings into octets) [ext/pcre/tests/bug27103.phpt] Bug #33200 (magic_quotes_sybase = On makes 'e' modifier misbehave) [ext/pcre/tests/bug33200.phpt] preg_replace() fifth parameter - count [ext/pcre/tests/pcre_count.phpt] SPL: Problem with casting to string [ext/spl/tests/dit_001.phpt] SPL: IteratorIterator and SimpleXMlElement [ext/spl/tests/iterator_006.phpt] various fputcsv() functionality tests [ext/standard/tests/file/fputcsv.phpt] GetImageSize() with 246x247 pixels [ext/standard/tests/image/getimagesize_246x247.phpt] GetImageSize() with 384x385 pixels [ext/standard/tests/image/getimagesize_384x385.phpt] ===================================================================== ================================================================================ /home/oden/RPM/BUILD/php-5.1.0b1/tests/classes/array_access_003.phpt ================================================================================ ---- EXPECTED OUTPUT object::offsetGet(1) Strict Standards: Only variable references should be returned by reference in %sarray_access_003.php on line %d string(6) "fooBar" object::offsetGet(2) int(1) object::offsetGet(2) object::offsetGet(2) int(2) ===DONE=== ---- ACTUAL OUTPUT Fatal error: Declaration of object::offsetGet() must be compatible with that of ArrayAccess::offsetGet() in /home/oden/RPM/BUILD/php-5.1.0b1/tests/classes/array_access_003.php on line 2 ---- FAILED ================================================================================ 001+ Fatal error: Declaration of object::offsetGet() must be compatible with that of ArrayAccess::offsetGet() in /home/oden/RPM/BUILD/php-5.1.0b1/tests/classes/array_access_003.php on line 2 001- object::offsetGet(1) 002- 003- Strict Standards: Only variable references should be returned by reference in %sarray_access_003.php on line %d 004- string(6) "fooBar" 005- object::offsetGet(2) 006- int(1) 007- object::offsetGet(2) 008- object::offsetGet(2) 009- int(2) 010- ===DONE=== ================================================================================ ================================================================================ /home/oden/RPM/BUILD/php-5.1.0b1/tests/classes/array_access_005.phpt ================================================================================ ---- EXPECTED OUTPUT string(3) "Joe" string(6) "JoeFoo" string(9) "JoeFooBar" ---ArrayOverloading--- string(3) "Joe" string(6) "JoeFoo" string(9) "JoeFooBar" ---Done--- ---- ACTUAL OUTPUT Fatal error: Declaration of Peoples::offsetGet() must be compatible with that of ArrayAccess::offsetGet() in /home/oden/RPM/BUILD/php-5.1.0b1/tests/classes/array_access_005.php on line 3 ---- FAILED ================================================================================ 001+ Fatal error: Declaration of Peoples::offsetGet() must be compatible with that of ArrayAccess::offsetGet() in /home/oden/RPM/BUILD/php-5.1.0b1/tests/classes/array_access_005.php on line 3 001- string(3) "Joe" 002- string(6) "JoeFoo" 003- string(9) "JoeFooBar" 004- ---ArrayOverloading--- 005- string(3) "Joe" 006- string(6) "JoeFoo" 007- string(9) "JoeFooBar" 008- ---Done--- ================================================================================ ================================================================================ /home/oden/RPM/BUILD/php-5.1.0b1/tests/classes/array_access_008.phpt ================================================================================ ---- EXPECTED OUTPUT string(3) "Foo" string(6) "FooBar" string(9) "FooBarBaz" ===ArrayOverloading=== string(3) "Foo" string(6) "FooBar" string(9) "FooBarBaz" ===DONE=== ---- ACTUAL OUTPUT Fatal error: Declaration of Peoples::offsetGet() must be compatible with that of ArrayAccess::offsetGet() in /home/oden/RPM/BUILD/php-5.1.0b1/tests/classes/array_access_008.php on line 3 ---- FAILED ================================================================================ 001+ Fatal error: Declaration of Peoples::offsetGet() must be compatible with that of ArrayAccess::offsetGet() in /home/oden/RPM/BUILD/php-5.1.0b1/tests/classes/array_access_008.php on line 3 001- string(3) "Foo" 002- string(6) "FooBar" 003- string(9) "FooBarBaz" 004- ===ArrayOverloading=== 005- string(3) "Foo" 006- string(6) "FooBar" 007- string(9) "FooBarBaz" 008- ===DONE=== ================================================================================ ================================================================================ /home/oden/RPM/BUILD/php-5.1.0b1/tests/lang/bug29944.phpt ================================================================================ ---- EXPECTED OUTPUT 1 ===DONE=== ---- ACTUAL OUTPUT Fatal error: Call to undefined function preg_match() in /home/oden/RPM/BUILD/php-5.1.0b1/tests/lang/bug29944.php on line 7 ---- FAILED ================================================================================ 001+ Fatal error: Call to undefined function preg_match() in /home/oden/RPM/BUILD/php-5.1.0b1/tests/lang/bug29944.php on line 7 001- 1 002- ===DONE=== ================================================================================ ================================================================================ /home/oden/RPM/BUILD/php-5.1.0b1/Zend/tests/bug33277.phpt ================================================================================ ---- EXPECTED OUTPUT public! ---- ACTUAL OUTPUT private! ---- FAILED ================================================================================ 001+ private! 001- public! ================================================================================ ================================================================================ /home/oden/RPM/BUILD/php-5.1.0b1/Zend/tests/unset_cv05.phpt ================================================================================ ---- EXPECTED OUTPUT ok Warning: session_start(): Cannot send session cookie - headers already sent by (output started at %sunset_cv05.php on line %d Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at %sunset_cv05.php:%d) in %sunset_cv05.php on line %d Array ok ---- ACTUAL OUTPUT ok Fatal error: Call to undefined function session_start() in /home/oden/RPM/BUILD/php-5.1.0b1/Zend/tests/unset_cv05.php on line 4 ---- FAILED ================================================================================ 003+ Fatal error: Call to undefined function session_start() in /home/oden/RPM/BUILD/php-5.1.0b1/Zend/tests/unset_cv05.php on line 4 003- Warning: session_start(): Cannot send session cookie - headers already sent by (output started at %sunset_cv05.php on line %d 004- 005- Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at %sunset_cv05.php:%d) in %sunset_cv05.php on line %d 006- Array 007- ok ================================================================================ ================================================================================ /home/oden/RPM/BUILD/php-5.1.0b1/Zend/tests/unset_cv06.phpt ================================================================================ ---- EXPECTED OUTPUT 1 2 Notice: Undefined variable: x in %sunset_cv06.php on line %d ok ---- ACTUAL OUTPUT Fatal error: Call to undefined function session_start() in /home/oden/RPM/BUILD/php-5.1.0b1/Zend/tests/unset_cv06.php on line 3 ---- FAILED ================================================================================ 001+ Fatal error: Call to undefined function session_start() in /home/oden/RPM/BUILD/php-5.1.0b1/Zend/tests/unset_cv06.php on line 3 001- 1 002- 2 003- 004- Notice: Undefined variable: x in %sunset_cv06.php on line %d 005- ok ================================================================================ ================================================================================ /home/oden/RPM/BUILD/php-5.1.0b1/Zend/tests/unset_cv07.phpt ================================================================================ ---- EXPECTED OUTPUT 1 <br /> <b>Notice</b>: import_request_variables() [<a href='function.import-request-variables'>function.import-request-variables</a>]: No prefix specified - possible security hazard in <b>%sunset_cv07.php</b> on line <b>4</b><br /> %sunset_cv07.php(4) : Notice - import_request_variables() [<a href='function.import-request-variables'>function.import-request-variables</a>]: No prefix specified - possible security hazard 2 ok ---- ACTUAL OUTPUT 1 2 ok ---- FAILED ================================================================================ 002- <br /> 003- <b>Notice</b>: import_request_variables() [<a href='function.import-request-variables'>function.import-request-variables</a>]: No prefix specified - possible security hazard in <b>%sunset_cv07.php</b> on line <b>4</b><br /> 004- %sunset_cv07.php(4) : Notice - import_request_variables() [<a href='function.import-request-variables'>function.import-request-variables</a>]: No prefix specified - possible security hazard ================================================================================ ================================================================================ /home/oden/RPM/BUILD/php-5.1.0b1/ext/pcre/tests/bug20528.phpt ================================================================================ ---- EXPECTED OUTPUT array(7) { [0]=> string(2) "(#" [1]=> string(2) "11" [2]=> string(1) "/" [3]=> string(2) "19" [4]=> string(1) "/" [5]=> string(4) "2002" [6]=> string(2) "#)" } ---- ACTUAL OUTPUT Fatal error: Call to undefined function preg_split() in /home/oden/RPM/BUILD/php-5.1.0b1/ext/pcre/tests/bug20528.php on line 3 ---- FAILED ================================================================================ 001+ Fatal error: Call to undefined function preg_split() in /home/oden/RPM/BUILD/php-5.1.0b1/ext/pcre/tests/bug20528.php on line 3 001- array(7) { 002- [0]=> 003- string(2) "(#" 004- [1]=> 005- string(2) "11" 006- [2]=> 007- string(1) "/" 008- [3]=> 009- string(2) "19" 010- [4]=> 011- string(1) "/" 012- [5]=> 013- string(4) "2002" 014- [6]=> 015- string(2) "#)" 016- } ================================================================================ ================================================================================ /home/oden/RPM/BUILD/php-5.1.0b1/ext/pcre/tests/bug21732.phpt ================================================================================ ---- EXPECTED OUTPUT bool(false) array(4) { [0]=> string(5) "abcde" [1]=> string(2) "ab" [2]=> string(2) "cd" [3]=> string(1) "e" } string(4) "yes!" ---- ACTUAL OUTPUT ---- FAILED ================================================================================ 001+ 001- bool(false) 002- array(4) { 003- [0]=> 004- string(5) "abcde" 005- [1]=> 006- string(2) "ab" 007- [2]=> 008- string(2) "cd" 009- [3]=> 010- string(1) "e" 011- } 012- string(4) "yes!" ================================================================================ ================================================================================ /home/oden/RPM/BUILD/php-5.1.0b1/ext/pcre/tests/bug26927.phpt ================================================================================ ---- EXPECTED OUTPUT int(1) string(4) "a\0b" ---- ACTUAL OUTPUT Fatal error: Call to undefined function preg_quote() in /home/oden/RPM/BUILD/php-5.1.0b1/ext/pcre/tests/bug26927.php on line 3 ---- FAILED ================================================================================ 001+ Fatal error: Call to undefined function preg_quote() in /home/oden/RPM/BUILD/php-5.1.0b1/ext/pcre/tests/bug26927.php on line 3 001- int(1) 002- string(4) "a\0b" ================================================================================ ================================================================================ /home/oden/RPM/BUILD/php-5.1.0b1/ext/pcre/tests/bug27103.phpt ================================================================================ ---- EXPECTED OUTPUT &euro;: 3 : 1 h: 1 i: 1 : 1 t: 1 h: 1 e: 1 r: 1 e: 1 &euro;: 3 : 1 h: 1 i: 1 : 1 t: 1 h: 1 e: 1 r: 1 e: 1 ---- ACTUAL OUTPUT Fatal error: Call to undefined function preg_split() in /home/oden/RPM/BUILD/php-5.1.0b1/ext/pcre/tests/bug27103.php on line 9 ---- FAILED ================================================================================ 001+ Fatal error: Call to undefined function preg_split() in /home/oden/RPM/BUILD/php-5.1.0b1/ext/pcre/tests/bug27103.php on line 9 001- &euro;: 3 002- : 1 003- h: 1 004- i: 1 005- : 1 006- t: 1 007- h: 1 008- e: 1 009- r: 1 010- e: 1 011- &euro;: 3 012- : 1 013- h: 1 014- i: 1 015- : 1 016- t: 1 017- h: 1 018- e: 1 019- r: 1 020- e: 1 ================================================================================ ================================================================================ /home/oden/RPM/BUILD/php-5.1.0b1/ext/pcre/tests/bug33200.phpt ================================================================================ ---- EXPECTED OUTPUT SOME '$SAMPLE' TEXT ---- ACTUAL OUTPUT Fatal error: Call to undefined function preg_replace() in /home/oden/RPM/BUILD/php-5.1.0b1/ext/pcre/tests/bug33200.php on line 3 ---- FAILED ================================================================================ 001+ Fatal error: Call to undefined function preg_replace() in /home/oden/RPM/BUILD/php-5.1.0b1/ext/pcre/tests/bug33200.php on line 3 001- SOME '$SAMPLE' TEXT ================================================================================ ================================================================================ /home/oden/RPM/BUILD/php-5.1.0b1/ext/pcre/tests/pcre_count.phpt ================================================================================ ---- EXPECTED OUTPUT string(56) "xxxx xxxx 1-a-3-4 1-2-a-4 1-2-3-a a-a-a-a xxxx xxxx-xxxx" int(5) string(41) "Hxxxx xxxx xxxx xxxx xxxx 42 xxxx 13 xxxx" int(7) string(25) "... ... ... ... v1c0d1/|/" int(4) string(25) "... ... ... ... v1c0d1/|/" NULL ---- ACTUAL OUTPUT Fatal error: Call to undefined function preg_replace() in /home/oden/RPM/BUILD/php-5.1.0b1/ext/pcre/tests/pcre_count.php on line 6 ---- FAILED ================================================================================ 001+ Fatal error: Call to undefined function preg_replace() in /home/oden/RPM/BUILD/php-5.1.0b1/ext/pcre/tests/pcre_count.php on line 6 001- string(56) "xxxx xxxx 1-a-3-4 1-2-a-4 1-2-3-a a-a-a-a xxxx xxxx-xxxx" 002- int(5) 003- string(41) "Hxxxx xxxx xxxx xxxx xxxx 42 xxxx 13 xxxx" 004- int(7) 005- string(25) "... ... ... ... v1c0d1/|/" 006- int(4) 007- string(25) "... ... ... ... v1c0d1/|/" 008- NULL ================================================================================ ================================================================================ /home/oden/RPM/BUILD/php-5.1.0b1/ext/spl/tests/dit_001.phpt ================================================================================ ---- EXPECTED OUTPUT object(DirectoryIterator)#%d (0) { } bool(false) bool(false) ===DONE=== ---- ACTUAL OUTPUT object(DirectoryIterator)#1 (0) { } bool(false) Fatal error: Call to undefined function preg_match() in /home/oden/RPM/BUILD/php-5.1.0b1/ext/spl/tests/dit_001.php on line 5 ---- FAILED ================================================================================ 004+ 005+ Fatal error: Call to undefined function preg_match() in /home/oden/RPM/BUILD/php-5.1.0b1/ext/spl/tests/dit_001.php on line 5 004- bool(false) 005- ===DONE=== ================================================================================ ================================================================================ /home/oden/RPM/BUILD/php-5.1.0b1/ext/spl/tests/iterator_006.phpt ================================================================================ ---- EXPECTED OUTPUT Hello World ===DONE=== ---- ACTUAL OUTPUT Fatal error: Call to undefined function simplexml_load_string() in /home/oden/RPM/BUILD/php-5.1.0b1/ext/spl/tests/iterator_006.php on line 3 ---- FAILED ================================================================================ 001+ Fatal error: Call to undefined function simplexml_load_string() in /home/oden/RPM/BUILD/php-5.1.0b1/ext/spl/tests/iterator_006.php on line 3 001- Hello 002- World 003- ===DONE=== ================================================================================ ================================================================================ /home/oden/RPM/BUILD/php-5.1.0b1/ext/standard/tests/file/fputcsv.phpt ================================================================================ ---- EXPECTED OUTPUT $list = array ( 0 => 'aaa,bbb', 1 => 'aaa,"""bbb"""', 2 => '"""aaa""","""bbb"""', 3 => 'aaa,bbb', 4 => '"""aaa""",bbb', 5 => '"""aaa"""," ""bbb"""', 6 => ',', 7 => 'aaa,', 8 => ',"""aaa"""', 9 => '"""""",""""""', 10 => '"""""""""""""",', 11 => '"""""""""""",aaa', 12 => 'aaa,"bbb "', 13 => 'aaa,"""bbb """', 14 => '"aaa""aaa""","""bbb""bbb"', 15 => '"aaa""aaa""""""",bbb', 16 => 'aaa,"""\\""bbb",ccc', 17 => '"aaa""\\""a""","""bbb"""', 18 => '"""\\""""","""aaa"""', 19 => '"""\\""""""",aaa', ); $list = array ( 0 => 'aaa,bbb', 1 => 'aaa,"bbb"', 2 => '"aaa","bbb"', 3 => 'aaa,bbb', 4 => '"aaa",bbb', 5 => '"aaa", "bbb"', 6 => ',', 7 => 'aaa,', 8 => ',"aaa"', 9 => '"",""', 10 => '"""""",', 11 => '""""",aaa', 12 => 'aaa,bbb ', 13 => 'aaa,"bbb "', 14 => 'aaa"aaa","bbb"bbb', 15 => 'aaa"aaa""",bbb', 16 => 'aaa,"\\"bbb,ccc', 17 => 'aaa"\\"a","bbb"', 18 => '"\\"","aaa"', 19 => '"\\""",aaa', ); ===DONE=== ---- ACTUAL OUTPUT $list = array ( 0 => 'aaa,bbb', 1 => 'aaa,"""bbb"""', 2 => '"""aaa""","""bbb"""', 3 => 'aaa,bbb', 4 => '"""aaa""",bbb', 5 => '"""aaa"""," ""bbb"""', 6 => ',', 7 => 'aaa,', 8 => ',"""aaa"""', 9 => '"""""",""""""', 10 => '"""""""""""""",', 11 => '"""""""""""",aaa', 12 => 'aaa,"bbb "', 13 => 'aaa,"""bbb """', 14 => '"aaa""aaa""","""bbb""bbb"', 15 => '"aaa""aaa""""""",bbb', 16 => 'aaa,"""\\""bbb",ccc', 17 => '"aaa""\\""a""","""bbb"""', 18 => '"""\\""""","""aaa"""', 19 => '"""\\""""""",aaa', ); $list = array ( 0 => 'aaa,bbb', 1 => 'aaa,"bbb"', 2 => '"aaa","bbb"', 3 => 'aaa,bbb', 4 => '"aaa",bbb', 5 => '"aaa", "bbb"', 6 => ',', 7 => 'aaa,', 8 => ',"aaa"', 9 => '"",""', 10 => '"""""",', 11 => '""""",aaa', 12 => 'aaa,bbb ', 13 => 'aaa,"bbb "', 14 => 'aaa"aaa","bbb"bbb', 15 => 'aaa"aaa""",bbb', 16 => 'aaa,"\\"bbb",ccc', 17 => 'aaa"\\"a""","bbb"', 18 => '"\\""","aaa"""', 19 => '"\\"""",aaa ', ); ===DONE=== ---- FAILED ================================================================================ 040+ 16 => 'aaa,"\\"bbb",ccc', 041+ 17 => 'aaa"\\"a""","bbb"', 042+ 18 => '"\\""","aaa"""', 043+ 19 => '"\\"""",aaa 044+ ', 040- 16 => 'aaa,"\\"bbb,ccc', 041- 17 => 'aaa"\\"a","bbb"', 042- 18 => '"\\"","aaa"', 043- 19 => '"\\""",aaa', ================================================================================ ================================================================================ /home/oden/RPM/BUILD/php-5.1.0b1/ext/standard/tests/image/getimagesize_246x247.phpt ================================================================================ ---- EXPECTED OUTPUT array(1) { ["246x247.png"]=> array(6) { [0]=> int(246) [1]=> int(247) [2]=> int(3) [3]=> string(24) "width="246" height="247"" ["bits"]=> int(4) ["mime"]=> string(9) "image/png" } } ---- ACTUAL OUTPUT Fatal error: Call to undefined function preg_match() in /home/oden/RPM/BUILD/php-5.1.0b1/ext/standard/tests/image/getimagesize_246x247.php on line 7 ---- FAILED ================================================================================ 001+ Fatal error: Call to undefined function preg_match() in /home/oden/RPM/BUILD/php-5.1.0b1/ext/standard/tests/image/getimagesize_246x247.php on line 7 001- array(1) { 002- ["246x247.png"]=> 003- array(6) { 004- [0]=> 005- int(246) 006- [1]=> 007- int(247) 008- [2]=> 009- int(3) 010- [3]=> 011- string(24) "width="246" height="247"" 012- ["bits"]=> 013- int(4) 014- ["mime"]=> 015- string(9) "image/png" 016- } 017- } ================================================================================ ================================================================================ /home/oden/RPM/BUILD/php-5.1.0b1/ext/standard/tests/image/getimagesize_384x385.phpt ================================================================================ ---- EXPECTED OUTPUT array(1) { ["384x385.png"]=> array(6) { [0]=> int(384) [1]=> int(385) [2]=> int(3) [3]=> string(24) "width="384" height="385"" ["bits"]=> int(1) ["mime"]=> string(9) "image/png" } } ---- ACTUAL OUTPUT Fatal error: Call to undefined function preg_match() in /home/oden/RPM/BUILD/php-5.1.0b1/ext/standard/tests/image/getimagesize_384x385.php on line 7 ---- FAILED ================================================================================ 001+ Fatal error: Call to undefined function preg_match() in /home/oden/RPM/BUILD/php-5.1.0b1/ext/standard/tests/image/getimagesize_384x385.php on line 7 001- array(1) { 002- ["384x385.png"]=> 003- array(6) { 004- [0]=> 005- int(384) 006- [1]=> 007- int(385) 008- [2]=> 009- int(3) 010- [3]=> 011- string(24) "width="384" height="385"" 012- ["bits"]=> 013- int(1) 014- ["mime"]=> 015- string(9) "image/png" 016- } 017- } ================================================================================ ================================================================================ BUILD ENVIRONMENT ================================================================================ OS: Linux - Linux oe.nux.tld 2.6.11-6mdksmp #1 SMP Tue Mar 22 15:40:42 CET 2005 i686 Automake: automake (GNU automake) 1.7.9 Written by Tom Tromey <tromey@redhat.com>. Copyright 2003 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. Autoconf: autoconf (GNU Autoconf) 2.59 Written by David J. MacKenzie and Akim Demaille. Copyright (C) 2003 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. Bundled Libtool: ltmain.sh (GNU libtool) 1.5.12 (1.1220.2.191 2005/02/05 15:01:15) Copyright (C) 2003 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. System Libtool: ltmain.sh (GNU libtool) 1.5.12 (1.1220.2.191 2005/02/05 15:01:15) Copyright (C) 2003 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. Compiler: N/A Bison: bison (GNU Bison) 2.0 Written by Robert Corbett and Richard Stallman. Copyright (C) 2004 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: not a dynamic executable User's E-mail: oeriksson at mandriva dot com ================================================================================ PHPINFO ================================================================================ phpinfo() PHP Version => 5.1.0b1 System => Linux oe.nux.tld 2.6.11-6mdksmp #1 SMP Tue Mar 22 15:40:42 CET 2005 i686 Build Date => Jun 16 2005 07:24:01 Configure Command => This is irrelevant, look inside the /usr/share/doc/libphp5_common5-5.1.0/configure_command file. urpmi is your friend, use it to install extensions not shown below. Server API => Command Line Interface Virtual Directory Support => disabled Configuration File (php.ini) Path => /etc Scan this dir for additional .ini files => /etc/php.d PHP API => 20041225 PHP Extension => 20041031 Zend Extension => 220050610 Debug Build => no Thread Safety => disabled Zend Memory Manager => enabled IPv6 Support => enabled Registered PHP Streams => php, file, http, ftp, compress.zlib, https, ftps Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, sslv3, sslv2, tls Registered Stream Filters => string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, zlib.* This program makes use of the Zend Scripting Language Engine: Zend Engine v2.1.0b1, Copyright (c) 1998-2004 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_globals_jit => On => On 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/lib/php/extensions => /usr/lib/php/extensions file_uploads => On => On 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 => Off => On ignore_repeated_errors => Off => Off ignore_repeated_source => Off => Off ignore_user_abort => Off => Off implicit_flush => On => Off include_path => .: => .: 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 mail.force_extra_parameters => no value => no value max_execution_time => 0 => 30 max_input_time => -1 => -1 memory_limit => 8M => 8M open_basedir => no value => no value output_buffering => 0 => 0 output_handler => no value => no value post_max_size => 8M => 8M precision => 14 => 14 realpath_cache_size => 16K => 16K realpath_cache_ttl => 120 => 120 register_argc_argv => On => On register_globals => Off => Off register_long_arrays => On => On report_memleaks => On => On report_zend_debug => Off => Off safe_mode => On => On safe_mode_exec_dir => /usr/bin => /usr/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 => EGPCS => EGPCS xmlrpc_error_number => 0 => 0 xmlrpc_errors => Off => Off y2k_compliance => On => On zend.ze1_compatibility_mode => Off => Off libxml libXML support => active libXML Version => 2.6.17 libXML streams => enabled openssl OpenSSL support => enabled OpenSSL Version => OpenSSL 0.9.7e 25 Oct 2004 SPL SPL support => enabled Interfaces => Countable, Observer, OuterIterator, RecursiveIterator, SeekableIterator, Subject Classes => AppendIterator, ArrayObject, ArrayIterator, BadFunctionCallException, CachingIterator, CachingRecursiveIterator, DirectoryIterator, DomainException, EmptyIterator, FileObject, FilterIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, NoRewindIterator, OutOfRangeException, OutOfBoundsException, OverflowException, ParentIterator, RangeException, RecursiveDirectoryIterator, RecursiveIteratorIterator, RuntimeException, UnderflowException 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 date.default_latitude => 31.7667 => 31.7667 date.default_longitude => 35.2333 => 35.2333 date.sunrise_zenith => 90.83 => 90.83 date.sunset_zenith => 90.83 => 90.83 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 zlib ZLib Support => enabled Stream Wrapper support => compress.zlib:// Stream Filter support => zlib.inflate, zlib.deflate Compiled Version => 1.2.2.2 Linked Version => 1.2.2.2 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 LC_PAPER => en_US LESSKEY => /etc/.less LC_ADDRESS => en_US KDE_MULTIHEAD => false HOSTNAME => oe.nux.tld LC_MONETARY => en_US SHELL => /bin/bash TERM => xterm HISTSIZE => 1000 LC_SOURCED => 1 TMPDIR => /home/oden/tmp GTK2_RC_FILES => /usr/share/themes/Galaxy/gtk-2.0/gtkrc:/etc/gtk-2.0/gtkrc:/home/oden/.gtkrc-2.0:/home/oden/.kde/share/config/gtkrc SSH_CLIENT => deleted GS_LIB => /home/oden/.fonts CVSROOT => /home/cvsroot GTK_RC_FILES => /usr/share/themes/Galaxy/gtk/gtkrc:/etc/gtk/gtkrc:/home/oden/.gtkrc:/home/oden/.kde/share/config/gtkrc LC_NUMERIC => en_US WINDOWID => 71303175 QTDIR => /usr/lib/qt3/ SSH_TTY => deleted KDE_FULL_SESSION => true USER => oden LC_TELEPHONE => en_US XCURSOR_SIZE => SCRIPT_FILENAME => SSH_AUTH_SOCK => deleted SESSION_MANAGER => local/oe.nux.tld:/tmp/.ICE-unix/6522 SCREENDIR => /home/oden/tmp XDG_CONFIG_DIRS => /var/lib/menu-xdg NLSPATH => /usr/share/locale/%l/%N KONSOLE_DCOP => DCOPRef(konsole-18200,konsole) PATH => /usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games:/home/oden/bin MAIL => /var/spool/mail/oden LC_MESSAGES => en_US LC_COLLATE => en_US LC_IDENTIFICATION => en_US SECURE_LEVEL => 2 PWD => /home/oden/RPM/BUILD/php-5.1.0b1 INPUTRC => /etc/inputrc KONSOLE_DCOP_SESSION => DCOPRef(konsole-18200,session-1) JAVA_HOME => /usr/lib/jre-1.4.2_07 LANG => en_US TEST_PHP_EXECUTABLE => sapi/cli/php PYTHONSTARTUP => /etc/pythonrc.py REDIRECT_STATUS => LC_MEASUREMENT => en_US CVSREAD => yes HISTIGNORE => [ ]*:&:bg:fg PATH_TRANSLATED => HISTCONTROL => ignoredups HOME => /home/oden SHLVL => 5 LANGUAGE => en_US:en CONTENT_LENGTH => GCONF_TMPDIR => /tmp XCURSOR_THEME => default LOGNAME => oden G_FILENAME_ENCODING => @locale LESS => -MM TMP => /home/oden/tmp QUERY_STRING => LC_CTYPE => en_US XDG_DATA_DIRS => /var/lib/menu-xdg:/usr/share SSH_CONNECTION => deleted DESKTOP => kde DISPLAY => :0.0 CONTENT_TYPE => LC_TIME => en_US REQUEST_METHOD => XAUTHORITY => /home/oden/.Xauthority LC_NAME => en_US COLORTERM => PHP Variables Variable => Value _SERVER["LC_PAPER"] => en_US _SERVER["LESSKEY"] => /etc/.less _SERVER["LC_ADDRESS"] => en_US _SERVER["KDE_MULTIHEAD"] => false _SERVER["HOSTNAME"] => oe.nux.tld _SERVER["LC_MONETARY"] => en_US _SERVER["SHELL"] => /bin/bash _SERVER["TERM"] => xterm _SERVER["HISTSIZE"] => 1000 _SERVER["LC_SOURCED"] => 1 _SERVER["TMPDIR"] => /home/oden/tmp _SERVER["GTK2_RC_FILES"] => /usr/share/themes/Galaxy/gtk-2.0/gtkrc:/etc/gtk-2.0/gtkrc:/home/oden/.gtkrc-2.0:/home/oden/.kde/share/config/gtkrc _SERVER["SSH_CLIENT"] => deleted _SERVER["GS_LIB"] => /home/oden/.fonts _SERVER["CVSROOT"] => /home/cvsroot _SERVER["GTK_RC_FILES"] => /usr/share/themes/Galaxy/gtk/gtkrc:/etc/gtk/gtkrc:/home/oden/.gtkrc:/home/oden/.kde/share/config/gtkrc _SERVER["LC_NUMERIC"] => en_US _SERVER["WINDOWID"] => 71303175 _SERVER["QTDIR"] => /usr/lib/qt3/ _SERVER["SSH_TTY"] => deleted _SERVER["KDE_FULL_SESSION"] => true _SERVER["USER"] => oden _SERVER["LC_TELEPHONE"] => en_US _SERVER["XCURSOR_SIZE"] => _SERVER["SCRIPT_FILENAME"] => _SERVER["SSH_AUTH_SOCK"] => deleted _SERVER["SESSION_MANAGER"] => local/oe.nux.tld:/tmp/.ICE-unix/6522 _SERVER["SCREENDIR"] => /home/oden/tmp _SERVER["XDG_CONFIG_DIRS"] => /var/lib/menu-xdg _SERVER["NLSPATH"] => /usr/share/locale/%l/%N _SERVER["KONSOLE_DCOP"] => DCOPRef(konsole-18200,konsole) _SERVER["PATH"] => /usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games:/home/oden/bin _SERVER["MAIL"] => /var/spool/mail/oden _SERVER["LC_MESSAGES"] => en_US _SERVER["LC_COLLATE"] => en_US _SERVER["LC_IDENTIFICATION"] => en_US _SERVER["SECURE_LEVEL"] => 2 _SERVER["PWD"] => /home/oden/RPM/BUILD/php-5.1.0b1 _SERVER["INPUTRC"] => /etc/inputrc _SERVER["KONSOLE_DCOP_SESSION"] => DCOPRef(konsole-18200,session-1) _SERVER["JAVA_HOME"] => /usr/lib/jre-1.4.2_07 _SERVER["LANG"] => en_US _SERVER["TEST_PHP_EXECUTABLE"] => sapi/cli/php _SERVER["PYTHONSTARTUP"] => /etc/pythonrc.py _SERVER["REDIRECT_STATUS"] => _SERVER["LC_MEASUREMENT"] => en_US _SERVER["CVSREAD"] => yes _SERVER["HISTIGNORE"] => [ ]*:&:bg:fg _SERVER["PATH_TRANSLATED"] => _SERVER["HISTCONTROL"] => ignoredups _SERVER["HOME"] => /home/oden _SERVER["SHLVL"] => 5 _SERVER["LANGUAGE"] => en_US:en _SERVER["CONTENT_LENGTH"] => _SERVER["GCONF_TMPDIR"] => /tmp _SERVER["XCURSOR_THEME"] => default _SERVER["LOGNAME"] => oden _SERVER["G_FILENAME_ENCODING"] => @locale _SERVER["LESS"] => -MM _SERVER["TMP"] => /home/oden/tmp _SERVER["QUERY_STRING"] => _SERVER["LC_CTYPE"] => en_US _SERVER["XDG_DATA_DIRS"] => /var/lib/menu-xdg:/usr/share _SERVER["SSH_CONNECTION"] => deleted _SERVER["DESKTOP"] => kde _SERVER["DISPLAY"] => :0.0 _SERVER["CONTENT_TYPE"] => _SERVER["LC_TIME"] => en_US _SERVER["REQUEST_METHOD"] => _SERVER["XAUTHORITY"] => /home/oden/.Xauthority _SERVER["LC_NAME"] => en_US _SERVER["COLORTERM"] => _SERVER["PHP_SELF"] => _SERVER["SCRIPT_NAME"] => _SERVER["DOCUMENT_ROOT"] => _SERVER["REQUEST_TIME"] => 1118901812 _SERVER["argv"] => Array ( ) _SERVER["argc"] => 0 _ENV["LC_PAPER"] => en_US _ENV["LESSKEY"] => /etc/.less _ENV["LC_ADDRESS"] => en_US _ENV["KDE_MULTIHEAD"] => false _ENV["HOSTNAME"] => oe.nux.tld _ENV["LC_MONETARY"] => en_US _ENV["SHELL"] => /bin/bash _ENV["TERM"] => xterm _ENV["HISTSIZE"] => 1000 _ENV["LC_SOURCED"] => 1 _ENV["TMPDIR"] => /home/oden/tmp _ENV["GTK2_RC_FILES"] => /usr/share/themes/Galaxy/gtk-2.0/gtkrc:/etc/gtk-2.0/gtkrc:/home/oden/.gtkrc-2.0:/home/oden/.kde/share/config/gtkrc _ENV["SSH_CLIENT"] => deleted _ENV["GS_LIB"] => /home/oden/.fonts _ENV["CVSROOT"] => /home/cvsroot _ENV["GTK_RC_FILES"] => /usr/share/themes/Galaxy/gtk/gtkrc:/etc/gtk/gtkrc:/home/oden/.gtkrc:/home/oden/.kde/share/config/gtkrc _ENV["LC_NUMERIC"] => en_US _ENV["WINDOWID"] => 71303175 _ENV["QTDIR"] => /usr/lib/qt3/ _ENV["SSH_TTY"] => deleted _ENV["KDE_FULL_SESSION"] => true _ENV["USER"] => oden _ENV["LC_TELEPHONE"] => en_US _ENV["XCURSOR_SIZE"] => _ENV["SCRIPT_FILENAME"] => _ENV["SSH_AUTH_SOCK"] => deleted _ENV["SESSION_MANAGER"] => local/oe.nux.tld:/tmp/.ICE-unix/6522 _ENV["SCREENDIR"] => /home/oden/tmp _ENV["XDG_CONFIG_DIRS"] => /var/lib/menu-xdg _ENV["NLSPATH"] => /usr/share/locale/%l/%N _ENV["KONSOLE_DCOP"] => DCOPRef(konsole-18200,konsole) _ENV["PATH"] => /usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games:/home/oden/bin _ENV["MAIL"] => /var/spool/mail/oden _ENV["LC_MESSAGES"] => en_US _ENV["LC_COLLATE"] => en_US _ENV["LC_IDENTIFICATION"] => en_US _ENV["SECURE_LEVEL"] => 2 _ENV["PWD"] => /home/oden/RPM/BUILD/php-5.1.0b1 _ENV["INPUTRC"] => /etc/inputrc _ENV["KONSOLE_DCOP_SESSION"] => DCOPRef(konsole-18200,session-1) _ENV["JAVA_HOME"] => /usr/lib/jre-1.4.2_07 _ENV["LANG"] => en_US _ENV["TEST_PHP_EXECUTABLE"] => sapi/cli/php _ENV["PYTHONSTARTUP"] => /etc/pythonrc.py _ENV["REDIRECT_STATUS"] => _ENV["LC_MEASUREMENT"] => en_US _ENV["CVSREAD"] => yes _ENV["HISTIGNORE"] => [ ]*:&:bg:fg _ENV["PATH_TRANSLATED"] => _ENV["HISTCONTROL"] => ignoredups _ENV["HOME"] => /home/oden _ENV["SHLVL"] => 5 _ENV["LANGUAGE"] => en_US:en _ENV["CONTENT_LENGTH"] => _ENV["GCONF_TMPDIR"] => /tmp _ENV["XCURSOR_THEME"] => default _ENV["LOGNAME"] => oden _ENV["G_FILENAME_ENCODING"] => @locale _ENV["LESS"] => -MM _ENV["TMP"] => /home/oden/tmp _ENV["QUERY_STRING"] => _ENV["LC_CTYPE"] => en_US _ENV["XDG_DATA_DIRS"] => /var/lib/menu-xdg:/usr/share _ENV["SSH_CONNECTION"] => deleted _ENV["DESKTOP"] => kde _ENV["DISPLAY"] => :0.0 _ENV["CONTENT_TYPE"] => _ENV["LC_TIME"] => en_US _ENV["REQUEST_METHOD"] => _ENV["XAUTHORITY"] => /home/oden/.Xauthority _ENV["LC_NAME"] => en_US _ENV["COLORTERM"] => 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.

« previous php.qa (#25019) next »