Test results for 5.1.0b1 [failed]
| From: | noreply@php.net | Date: | Wed, 15 Jun 2005 20:35:28 +0000 |
| Subject: | Test results for 5.1.0b1 [failed] | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-25006@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 726
Tests borked : 1 ( 0.1%) --------
Tests skipped : 1122 ( 60.7%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 19 ( 1.0%) ( 2.6%)
Tests passed : 707 ( 38.2%) ( 97.4%)
---------------------------------------------------------------------
Time taken : 64 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
€: 3
: 1
h: 1
i: 1
: 1
t: 1
h: 1
e: 1
r: 1
e: 1
€: 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- €: 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- €: 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 n5.mandrakesoft.com 2.6.10-3mdksmp #1 SMP Tue Feb 22 00:28:30 CET 2005 i686
Automake:
automake (GNU automake) 1.9.4
Written by Tom Tromey <tromey@redhat.com>.
Copyright 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.
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 n5.mandrakesoft.com 2.6.10-3mdksmp #1 SMP Tue Feb 22 00:28:30 CET 2005 i686
Build Date => Jun 15 2005 22:02:22
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.19
libXML streams => enabled
openssl
OpenSSL support => enabled
OpenSSL Version => OpenSSL 0.9.7g 11 Apr 2005
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
LESSKEY => /etc/.less
HOSTNAME => n5.mandrakesoft.com
PVM_RSH => /usr/bin/rsh
SHELL => /bin/bash
TERM => xterm
HISTSIZE => 10000
MPIRUN_HOME => /usr/bin
SSH_CLIENT => deleted
GNUSTEP_LOCAL_ROOT => /usr/GNUstep/Local
CVSROOT => /home/oden/cvsroot
QTDIR => /usr/lib/qt3/
SSH_TTY => deleted
ICECREAMDIR => /usr/lib/icecream
GNUSTEP_HOST => i686-pc-linux-gnu
USER => oden
LD_LIBRARY_PATH =>
/home/oden/GNUstep/Library/Libraries:/usr/GNUstep/Local/Library/Libraries:/usr/GNUstep/System/Library/Libraries
GUILE_LOAD_PATH =>
/home/oden/GNUstep/Library/Libraries/Guile:/usr/GNUstep/Local/Library/Libraries/Guile:/usr/GNUstep/System/Library/Libraries/Guile
FLASH_GTK_LIBRARY => libgtk-x11-2.0.so.0
SCRIPT_FILENAME =>
GNUSTEP_MAKEFILES => /usr/GNUstep/System/Library/Makefiles
GNUSTEP_NETWORK_ROOT => /usr/GNUstep/Local
GNUSTEP_ROOT => /usr/GNUstep
GNUSTEP_FLATTENED => yes
PVM_ROOT => /usr/share/pvm3
SSH_AUTH_SOCK => deleted
GNUSTEP_HOST_OS => linux-gnu
SCREENDIR => /home/oden/tmp
MOZ_PLUGIN_PATH => /usr/lib/mozilla/plugins:/home/oden/.mozilla/plugins
XDG_CONFIG_DIRS => /var/lib/menu-xdg
NLSPATH => /usr/share/locale/%l/%N
GNUSTEP_HOST_VENDOR => pc
PATH => /usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games:/home/oden/bin
MAIL => /var/spool/mail/oden
PWD => /home/oden/RPM/BUILD/php-5.1.0b1
INPUTRC => /etc/inputrc
PVM_TMP => /var/run/pvm3
TEST_PHP_EXECUTABLE => sapi/cli/php
PYTHONSTARTUP => /etc/pythonrc.py
REDIRECT_STATUS =>
CVSREAD => yes
GNUSTEP_HOST_CPU => ix86
HISTIGNORE => [ ]*:&:bg:fg
PATH_TRANSLATED =>
HISTCONTROL => ignoredups
HOME => /home/oden
SHLVL => 2
LESSCHARSET => koi8-r
XPVM_ROOT => /usr/X11R6/lib/xpvm/
CONTENT_LENGTH =>
GNUSTEP_USER_ROOT => /home/oden/GNUstep
GCONF_TMPDIR => /tmp
GNUSTEP_SYSTEM_ROOT => /usr/GNUstep/System
LOGNAME => oden
G_FILENAME_ENCODING => @locale
LESS => -MM
GNUSTEP_PATHLIST => /home/oden/GNUstep:/usr/GNUstep/Local:/usr/GNUstep/System
QUERY_STRING =>
SSH_CONNECTION => deleted
CLASSPATH =>
/home/oden/GNUstep/Library/Libraries/Java:/usr/GNUstep/Local/Library/Libraries/Java:/usr/GNUstep/System/Library/Libraries/Java
XDG_DATA_DIRS => /var/lib/menu-xdg:/usr/share
LIBRARY_COMBO => gnu-gnu-gnu
LESSOPEN => |/usr/bin/lesspipe.sh %s
CONTENT_TYPE =>
LADSPA_PATH => /usr/lib/ladspa/
REQUEST_METHOD =>
PVMD_NOHOLD => ON
PHP Variables
Variable => Value
_SERVER["LESSKEY"] => /etc/.less
_SERVER["HOSTNAME"] => n5.mandrakesoft.com
_SERVER["PVM_RSH"] => /usr/bin/rsh
_SERVER["SHELL"] => /bin/bash
_SERVER["TERM"] => xterm
_SERVER["HISTSIZE"] => 10000
_SERVER["MPIRUN_HOME"] => /usr/bin
_SERVER["SSH_CLIENT"] => deleted
_SERVER["GNUSTEP_LOCAL_ROOT"] => /usr/GNUstep/Local
_SERVER["CVSROOT"] => /home/oden/cvsroot
_SERVER["QTDIR"] => /usr/lib/qt3/
_SERVER["SSH_TTY"] => deleted
_SERVER["ICECREAMDIR"] => /usr/lib/icecream
_SERVER["GNUSTEP_HOST"] => i686-pc-linux-gnu
_SERVER["USER"] => oden
_SERVER["LD_LIBRARY_PATH"] =>
/home/oden/GNUstep/Library/Libraries:/usr/GNUstep/Local/Library/Libraries:/usr/GNUstep/System/Library/Libraries
_SERVER["GUILE_LOAD_PATH"] =>
/home/oden/GNUstep/Library/Libraries/Guile:/usr/GNUstep/Local/Library/Libraries/Guile:/usr/GNUstep/System/Library/Libraries/Guile
_SERVER["FLASH_GTK_LIBRARY"] => libgtk-x11-2.0.so.0
_SERVER["SCRIPT_FILENAME"] =>
_SERVER["GNUSTEP_MAKEFILES"] => /usr/GNUstep/System/Library/Makefiles
_SERVER["GNUSTEP_NETWORK_ROOT"] => /usr/GNUstep/Local
_SERVER["GNUSTEP_ROOT"] => /usr/GNUstep
_SERVER["GNUSTEP_FLATTENED"] => yes
_SERVER["PVM_ROOT"] => /usr/share/pvm3
_SERVER["SSH_AUTH_SOCK"] => deleted
_SERVER["GNUSTEP_HOST_OS"] => linux-gnu
_SERVER["SCREENDIR"] => /home/oden/tmp
_SERVER["MOZ_PLUGIN_PATH"] => /usr/lib/mozilla/plugins:/home/oden/.mozilla/plugins
_SERVER["XDG_CONFIG_DIRS"] => /var/lib/menu-xdg
_SERVER["NLSPATH"] => /usr/share/locale/%l/%N
_SERVER["GNUSTEP_HOST_VENDOR"] => pc
_SERVER["PATH"] =>
/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games:/home/oden/bin
_SERVER["MAIL"] => /var/spool/mail/oden
_SERVER["PWD"] => /home/oden/RPM/BUILD/php-5.1.0b1
_SERVER["INPUTRC"] => /etc/inputrc
_SERVER["PVM_TMP"] => /var/run/pvm3
_SERVER["TEST_PHP_EXECUTABLE"] => sapi/cli/php
_SERVER["PYTHONSTARTUP"] => /etc/pythonrc.py
_SERVER["REDIRECT_STATUS"] =>
_SERVER["CVSREAD"] => yes
_SERVER["GNUSTEP_HOST_CPU"] => ix86
_SERVER["HISTIGNORE"] => [ ]*:&:bg:fg
_SERVER["PATH_TRANSLATED"] =>
_SERVER["HISTCONTROL"] => ignoredups
_SERVER["HOME"] => /home/oden
_SERVER["SHLVL"] => 2
_SERVER["LESSCHARSET"] => koi8-r
_SERVER["XPVM_ROOT"] => /usr/X11R6/lib/xpvm/
_SERVER["CONTENT_LENGTH"] =>
_SERVER["GNUSTEP_USER_ROOT"] => /home/oden/GNUstep
_SERVER["GCONF_TMPDIR"] => /tmp
_SERVER["GNUSTEP_SYSTEM_ROOT"] => /usr/GNUstep/System
_SERVER["LOGNAME"] => oden
_SERVER["G_FILENAME_ENCODING"] => @locale
_SERVER["LESS"] => -MM
_SERVER["GNUSTEP_PATHLIST"] =>
/home/oden/GNUstep:/usr/GNUstep/Local:/usr/GNUstep/System
_SERVER["QUERY_STRING"] =>
_SERVER["SSH_CONNECTION"] => deleted
_SERVER["CLASSPATH"] =>
/home/oden/GNUstep/Library/Libraries/Java:/usr/GNUstep/Local/Library/Libraries/Java:/usr/GNUstep/System/Library/Libraries/Java
_SERVER["XDG_DATA_DIRS"] => /var/lib/menu-xdg:/usr/share
_SERVER["LIBRARY_COMBO"] => gnu-gnu-gnu
_SERVER["LESSOPEN"] => |/usr/bin/lesspipe.sh %s
_SERVER["CONTENT_TYPE"] =>
_SERVER["LADSPA_PATH"] => /usr/lib/ladspa/
_SERVER["REQUEST_METHOD"] =>
_SERVER["PVMD_NOHOLD"] => ON
_SERVER["PHP_SELF"] =>
_SERVER["SCRIPT_NAME"] =>
_SERVER["DOCUMENT_ROOT"] =>
_SERVER["REQUEST_TIME"] => 1118867719
_SERVER["argv"] => Array
(
)
_SERVER["argc"] => 0
_ENV["LESSKEY"] => /etc/.less
_ENV["HOSTNAME"] => n5.mandrakesoft.com
_ENV["PVM_RSH"] => /usr/bin/rsh
_ENV["SHELL"] => /bin/bash
_ENV["TERM"] => xterm
_ENV["HISTSIZE"] => 10000
_ENV["MPIRUN_HOME"] => /usr/bin
_ENV["SSH_CLIENT"] => deleted
_ENV["GNUSTEP_LOCAL_ROOT"] => /usr/GNUstep/Local
_ENV["CVSROOT"] => /home/oden/cvsroot
_ENV["QTDIR"] => /usr/lib/qt3/
_ENV["SSH_TTY"] => deleted
_ENV["ICECREAMDIR"] => /usr/lib/icecream
_ENV["GNUSTEP_HOST"] => i686-pc-linux-gnu
_ENV["USER"] => oden
_ENV["LD_LIBRARY_PATH"] =>
/home/oden/GNUstep/Library/Libraries:/usr/GNUstep/Local/Library/Libraries:/usr/GNUstep/System/Library/Libraries
_ENV["GUILE_LOAD_PATH"] =>
/home/oden/GNUstep/Library/Libraries/Guile:/usr/GNUstep/Local/Library/Libraries/Guile:/usr/GNUstep/System/Library/Libraries/Guile
_ENV["FLASH_GTK_LIBRARY"] => libgtk-x11-2.0.so.0
_ENV["SCRIPT_FILENAME"] =>
_ENV["GNUSTEP_MAKEFILES"] => /usr/GNUstep/System/Library/Makefiles
_ENV["GNUSTEP_NETWORK_ROOT"] => /usr/GNUstep/Local
_ENV["GNUSTEP_ROOT"] => /usr/GNUstep
_ENV["GNUSTEP_FLATTENED"] => yes
_ENV["PVM_ROOT"] => /usr/share/pvm3
_ENV["SSH_AUTH_SOCK"] => deleted
_ENV["GNUSTEP_HOST_OS"] => linux-gnu
_ENV["SCREENDIR"] => /home/oden/tmp
_ENV["MOZ_PLUGIN_PATH"] => /usr/lib/mozilla/plugins:/home/oden/.mozilla/plugins
_ENV["XDG_CONFIG_DIRS"] => /var/lib/menu-xdg
_ENV["NLSPATH"] => /usr/share/locale/%l/%N
_ENV["GNUSTEP_HOST_VENDOR"] => pc
_ENV["PATH"] => /usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games:/home/oden/bin
_ENV["MAIL"] => /var/spool/mail/oden
_ENV["PWD"] => /home/oden/RPM/BUILD/php-5.1.0b1
_ENV["INPUTRC"] => /etc/inputrc
_ENV["PVM_TMP"] => /var/run/pvm3
_ENV["TEST_PHP_EXECUTABLE"] => sapi/cli/php
_ENV["PYTHONSTARTUP"] => /etc/pythonrc.py
_ENV["REDIRECT_STATUS"] =>
_ENV["CVSREAD"] => yes
_ENV["GNUSTEP_HOST_CPU"] => ix86
_ENV["HISTIGNORE"] => [ ]*:&:bg:fg
_ENV["PATH_TRANSLATED"] =>
_ENV["HISTCONTROL"] => ignoredups
_ENV["HOME"] => /home/oden
_ENV["SHLVL"] => 2
_ENV["LESSCHARSET"] => koi8-r
_ENV["XPVM_ROOT"] => /usr/X11R6/lib/xpvm/
_ENV["CONTENT_LENGTH"] =>
_ENV["GNUSTEP_USER_ROOT"] => /home/oden/GNUstep
_ENV["GCONF_TMPDIR"] => /tmp
_ENV["GNUSTEP_SYSTEM_ROOT"] => /usr/GNUstep/System
_ENV["LOGNAME"] => oden
_ENV["G_FILENAME_ENCODING"] => @locale
_ENV["LESS"] => -MM
_ENV["GNUSTEP_PATHLIST"] => /home/oden/GNUstep:/usr/GNUstep/Local:/usr/GNUstep/System
_ENV["QUERY_STRING"] =>
_ENV["SSH_CONNECTION"] => deleted
_ENV["CLASSPATH"] =>
/home/oden/GNUstep/Library/Libraries/Java:/usr/GNUstep/Local/Library/Libraries/Java:/usr/GNUstep/System/Library/Libraries/Java
_ENV["XDG_DATA_DIRS"] => /var/lib/menu-xdg:/usr/share
_ENV["LIBRARY_COMBO"] => gnu-gnu-gnu
_ENV["LESSOPEN"] => |/usr/bin/lesspipe.sh %s
_ENV["CONTENT_TYPE"] =>
_ENV["LADSPA_PATH"] => /usr/lib/ladspa/
_ENV["REQUEST_METHOD"] =>
_ENV["PVMD_NOHOLD"] => ON
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.