Test results for 5.0.0b2-dev [failed]
| From: | noreply@php.net | Date: | Wed, 02 Jul 2003 16:18:28 +0000 |
| Subject: | Test results for 5.0.0b2-dev [failed] | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-14736@lists.php.net to get a copy of this message | ||
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Bug #24399: is_subclass_of() crashes when parent class doesn't exist.
[tests/classes/bug24399.phpt]
ZE2 factory and singleton, test 2 [tests/classes/factory_and_singleton_002.phpt]
Bug #22367 (weird zval allocation problem) [tests/lang/bug22367.phpt]
Bug #22510 (segfault among complex references) [tests/lang/bug22510.phpt]
Bug #24436: isset()/empty() produce errors with non-existent variables in classes
[Zend/tests/bug24436.phpt]
correct instantiation of references between variables in sessions [ext/session/tests/006.phpt]
bug compatibility: unset($c) with enabled register_globals [ext/session/tests/007.phpt]
serializing references test case using globals [ext/session/tests/019.phpt]
Bug #24392: empty namespaces causing confusion [ext/simplexml/tests/bug24392.phpt]
File type functions [ext/standard/tests/file/001.phpt]
date_sunrise() and date_sunset() functions [ext/standard/tests/general_functions/sunfuncts.phpt]
Bug #24142 (round() problems) [ext/standard/tests/math/bug24142.phpt]
serialize()/unserialize()/var_dump() [ext/standard/tests/serialize/001.phpt]
XML parser test, function callbacks [ext/xml/tests/xml001.phpt]
XML parser test, object tuple callbacks [ext/xml/tests/xml002.phpt]
XML parser test, xml_set_object callbacks [ext/xml/tests/xml003.phpt]
=====================================================================
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped : 73
Exts tested : 10
---------------------------------------------------------------------
Number of tests : 696
Tests skipped : 292 (42.0%)
Tests warned : 0 ( 0.0%)
Tests failed : 16 ( 2.3%)
Tests passed : 388 (55.7%)
---------------------------------------------------------------------
Time taken : 101 seconds
=====================================================================
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Bug #24399: is_subclass_of() crashes when parent class doesn't exist.
[tests/classes/bug24399.phpt]
ZE2 factory and singleton, test 2 [tests/classes/factory_and_singleton_002.phpt]
Bug #22367 (weird zval allocation problem) [tests/lang/bug22367.phpt]
Bug #22510 (segfault among complex references) [tests/lang/bug22510.phpt]
Bug #24436: isset()/empty() produce errors with non-existent variables in classes
[Zend/tests/bug24436.phpt]
correct instantiation of references between variables in sessions [ext/session/tests/006.phpt]
bug compatibility: unset($c) with enabled register_globals [ext/session/tests/007.phpt]
serializing references test case using globals [ext/session/tests/019.phpt]
Bug #24392: empty namespaces causing confusion [ext/simplexml/tests/bug24392.phpt]
File type functions [ext/standard/tests/file/001.phpt]
date_sunrise() and date_sunset() functions [ext/standard/tests/general_functions/sunfuncts.phpt]
Bug #24142 (round() problems) [ext/standard/tests/math/bug24142.phpt]
serialize()/unserialize()/var_dump() [ext/standard/tests/serialize/001.phpt]
XML parser test, function callbacks [ext/xml/tests/xml001.phpt]
XML parser test, object tuple callbacks [ext/xml/tests/xml002.phpt]
XML parser test, xml_set_object callbacks [ext/xml/tests/xml003.phpt]
=====================================================================
================================================================================
/mnt/pc6_c/cvs.php.net/php5-200307021330/tests/classes/bug24399.phpt
================================================================================
---- EXPECTED OUTPUT
bool(false)
---- ACTUAL OUTPUT
bool(false)
/mnt/pc6_c/cvs.php.net/php5-200307021330/Zend/zend_operators.h(206) : Freeing 0x0827C2D4 (5 bytes),
script=/mnt/pc6_c/cvs.php.net/php5-200307021330/tests/classes/bug24399.php
---- FAILED
================================================================================
002+ /mnt/pc6_c/cvs.php.net/php5-200307021330/Zend/zend_operators.h(206) : Freeing 0x0827C2D4 (5
bytes), script=/mnt/pc6_c/cvs.php.net/php5-200307021330/tests/classes/bug24399.php
================================================================================
================================================================================
/mnt/pc6_c/cvs.php.net/php5-200307021330/tests/classes/factory_and_singleton_002.phpt
================================================================================
---- EXPECTED OUTPUT
Access static members
NULL
int(0)
Create x and y
int(1)
int(1)
int(1)
int(1)
Destruct x
int(1)
int(1)
int(1)
Destruct y
int(1)
int(1)
Done
---- ACTUAL OUTPUT
Access static members
NULL
int(0)
Create x and y
int(1)
int(1)
int(1)
int(1)
Destruct x
int(1)
int(1)
int(1)
Destruct y
int(1)
int(1)
Done
Fatal error: Call to protected destructor from context '' in Unknown on line 0
[Wed Jul 2 16:35:26 2003] Script:
'/mnt/pc6_c/cvs.php.net/php5-200307021330/tests/classes/factory_and_singleton_002.php'
---------------------------------------
/mnt/pc6_c/cvs.php.net/php5-200307021330/Zend/zend_execute.h(67) : Block 0x08275C60 status:
Beginning: Overrun (magic=0x0827C328, expected=0x7312F8DC)
End: Unknown
---------------------------------------
[Wed Jul 2 16:35:26 2003] Script:
'/mnt/pc6_c/cvs.php.net/php5-200307021330/tests/classes/factory_and_singleton_002.php'
---------------------------------------
/mnt/pc6_c/cvs.php.net/php5-200307021330/Zend/zend_hash.c(514) : Block 0x0827C248 status:
Beginning: Overrun (magic=0x0827C368, expected=0x7312F8DC)
End: Unknown
---------------------------------------
[Wed Jul 2 16:35:26 2003] Script:
'/mnt/pc6_c/cvs.php.net/php5-200307021330/tests/classes/factory_and_singleton_002.php'
---------------------------------------
/mnt/pc6_c/cvs.php.net/php5-200307021330/Zend/zend_hash.c(516) : Block 0x0827BE98 status:
Beginning: Overrun (magic=0x0827C240, expected=0x7312F8DC)
End: Unknown
---------------------------------------
[Wed Jul 2 16:35:26 2003] Script:
'/mnt/pc6_c/cvs.php.net/php5-200307021330/tests/classes/factory_and_singleton_002.php'
---------------------------------------
/mnt/pc6_c/cvs.php.net/php5-200307021330/Zend/zend_compile.c(3449) : Block 0x0827C210 status:
Beginning: Overrun (magic=0x0827C5D8, expected=0x7312F8DC)
End: Unknown
---------------------------------------
[Wed Jul 2 16:35:26 2003] Script:
'/mnt/pc6_c/cvs.php.net/php5-200307021330/tests/classes/factory_and_singleton_002.php'
---------------------------------------
/mnt/pc6_c/cvs.php.net/php5-200307021330/Zend/zend_hash.c(512) : Block 0x08275C20 status:
Beginning: Overrun (magic=0x08275C58, expected=0x7312F8DC)
End: Unknown
---------------------------------------
[Wed Jul 2 16:35:26 2003] Script:
'/mnt/pc6_c/cvs.php.net/php5-200307021330/tests/classes/factory_and_singleton_002.php'
---------------------------------------
/mnt/pc6_c/cvs.php.net/php5-200307021330/Zend/zend_hash.c(514) : Block 0x0827C2A0 status:
Beginning: Overrun (magic=0x0827C368, expected=0x7312F8DC)
End: Unknown
---------------------------------------
[Wed Jul 2 16:35:26 2003] Script:
'/mnt/pc6_c/cvs.php.net/php5-200307021330/tests/classes/factory_and_singleton_002.php'
---------------------------------------
/mnt/pc6_c/cvs.php.net/php5-200307021330/Zend/zend_compile.c(3449) : Block 0x0827C330 status:
Beginning: Overrun (magic=0x0827C420, expected=0x7312F8DC)
End: Unknown
---------------------------------------
[Wed Jul 2 16:35:26 2003] Script:
'/mnt/pc6_c/cvs.php.net/php5-200307021330/tests/classes/factory_and_singleton_002.php'
---------------------------------------
/mnt/pc6_c/cvs.php.net/php5-200307021330/Zend/zend_hash.c(512) : Block 0x0827C428 status:
Beginning: Overrun (magic=0x0827C460, expected=0x7312F8DC)
End: Unknown
---------------------------------------
[Wed Jul 2 16:35:26 2003] Script:
'/mnt/pc6_c/cvs.php.net/php5-200307021330/tests/classes/factory_and_singleton_002.php'
---------------------------------------
/mnt/pc6_c/cvs.php.net/php5-200307021330/Zend/zend_hash.c(514) : Block 0x0827C3D0 status:
Beginning: Overrun (magic=0x0827C4E0, expected=0x7312F8DC)
End: Unknown
---------------------------------------
[Wed Jul 2 16:35:26 2003] Script:
'/mnt/pc6_c/cvs.php.net/php5-200307021330/tests/classes/factory_and_singleton_002.php'
---------------------------------------
/mnt/pc6_c/cvs.php.net/php5-200307021330/Zend/zend_compile.c(3449) : Block 0x0827C4A8 status:
Beginning: Overrun (magic=0x0827C598, expected=0x7312F8DC)
End: Unknown
---------------------------------------
[Wed Jul 2 16:35:26 2003] Script:
'/mnt/pc6_c/cvs.php.net/php5-200307021330/tests/classes/factory_and_singleton_002.php'
---------------------------------------
/mnt/pc6_c/cvs.php.net/php5-200307021330/Zend/zend_hash.c(512) : Block 0x0827C5A0 status:
Beginning: Overrun (magic=0x0827DF40, expected=0x7312F8DC)
End: Unknown
---------------------------------------
[Wed Jul 2 16:35:26 2003] Script:
'/mnt/pc6_c/cvs.php.net/php5-200307021330/tests/classes/factory_and_singleton_002.php'
---------------------------------------
/mnt/pc6_c/cvs.php.net/php5-200307021330/Zend/zend_hash.c(514) : Block 0x0827C548 status:
Beginning: Overrun (magic=0x0827DC18, expected=0x7312F8DC)
End: Unknown
---------------------------------------
[Wed Jul 2 16:35:26 2003] Script:
'/mnt/pc6_c/cvs.php.net/php5-200307021330/tests/classes/factory_and_singleton_002.php'
---------------------------------------
/mnt/pc6_c/cvs.php.net/php5-200307021330/Zend/zend_hash.c(516) : Block 0x0827BEE8 status:
Beginning: Overrun (magic=0x0827C240, expected=0x7312F8DC)
End: Unknown
---------------------------------------
/mnt/pc6_c/cvs.php.net/php5-200307021330/Zend/zend_hash.c(500) : ht=0x0827bf5c is being cleaned
/mnt/pc6_c/cvs.php.net/php5-200307021330/Zend/zend_hash.c(67) : Bailed out without a bailout
address!
---- FAILED
================================================================================
017+
018+ Fatal error: Call to protected destructor from context '' in Unknown on line 0
019+ [Wed Jul 2 16:35:26 2003] Script:
'/mnt/pc6_c/cvs.php.net/php5-200307021330/tests/classes/factory_and_singleton_002.php'
020+ ---------------------------------------
021+ /mnt/pc6_c/cvs.php.net/php5-200307021330/Zend/zend_execute.h(67) : Block 0x08275C60 status:
022+ Beginning: Overrun (magic=0x0827C328, expected=0x7312F8DC)
023+ End: Unknown
024+ ---------------------------------------
025+ [Wed Jul 2 16:35:26 2003] Script:
'/mnt/pc6_c/cvs.php.net/php5-200307021330/tests/classes/factory_and_singleton_002.php'
026+ ---------------------------------------
027+ /mnt/pc6_c/cvs.php.net/php5-200307021330/Zend/zend_hash.c(514) : Block 0x0827C248 status:
028+ Beginning: Overrun (magic=0x0827C368, expected=0x7312F8DC)
029+ End: Unknown
030+ ---------------------------------------
031+ [Wed Jul 2 16:35:26 2003] Script:
'/mnt/pc6_c/cvs.php.net/php5-200307021330/tests/classes/factory_and_singleton_002.php'
032+ ---------------------------------------
033+ /mnt/pc6_c/cvs.php.net/php5-200307021330/Zend/zend_hash.c(516) : Block 0x0827BE98 status:
034+ Beginning: Overrun (magic=0x0827C240, expected=0x7312F8DC)
035+ End: Unknown
036+ ---------------------------------------
037+ [Wed Jul 2 16:35:26 2003] Script:
'/mnt/pc6_c/cvs.php.net/php5-200307021330/tests/classes/factory_and_singleton_002.php'
038+ ---------------------------------------
039+ /mnt/pc6_c/cvs.php.net/php5-200307021330/Zend/zend_compile.c(3449) : Block 0x0827C210 status:
040+ Beginning: Overrun (magic=0x0827C5D8, expected=0x7312F8DC)
041+ End: Unknown
042+ ---------------------------------------
043+ [Wed Jul 2 16:35:26 2003] Script:
'/mnt/pc6_c/cvs.php.net/php5-200307021330/tests/classes/factory_and_singleton_002.php'
044+ ---------------------------------------
045+ /mnt/pc6_c/cvs.php.net/php5-200307021330/Zend/zend_hash.c(512) : Block 0x08275C20 status:
046+ Beginning: Overrun (magic=0x08275C58, expected=0x7312F8DC)
047+ End: Unknown
048+ ---------------------------------------
049+ [Wed Jul 2 16:35:26 2003] Script:
'/mnt/pc6_c/cvs.php.net/php5-200307021330/tests/classes/factory_and_singleton_002.php'
050+ ---------------------------------------
051+ /mnt/pc6_c/cvs.php.net/php5-200307021330/Zend/zend_hash.c(514) : Block 0x0827C2A0 status:
052+ Beginning: Overrun (magic=0x0827C368, expected=0x7312F8DC)
053+ End: Unknown
054+ ---------------------------------------
055+ [Wed Jul 2 16:35:26 2003] Script:
'/mnt/pc6_c/cvs.php.net/php5-200307021330/tests/classes/factory_and_singleton_002.php'
056+ ---------------------------------------
057+ /mnt/pc6_c/cvs.php.net/php5-200307021330/Zend/zend_compile.c(3449) : Block 0x0827C330 status:
058+ Beginning: Overrun (magic=0x0827C420, expected=0x7312F8DC)
059+ End: Unknown
060+ ---------------------------------------
061+ [Wed Jul 2 16:35:26 2003] Script:
'/mnt/pc6_c/cvs.php.net/php5-200307021330/tests/classes/factory_and_singleton_002.php'
062+ ---------------------------------------
063+ /mnt/pc6_c/cvs.php.net/php5-200307021330/Zend/zend_hash.c(512) : Block 0x0827C428 status:
064+ Beginning: Overrun (magic=0x0827C460, expected=0x7312F8DC)
065+ End: Unknown
066+ ---------------------------------------
067+ [Wed Jul 2 16:35:26 2003] Script:
'/mnt/pc6_c/cvs.php.net/php5-200307021330/tests/classes/factory_and_singleton_002.php'
068+ ---------------------------------------
069+ /mnt/pc6_c/cvs.php.net/php5-200307021330/Zend/zend_hash.c(514) : Block 0x0827C3D0 status:
070+ Beginning: Overrun (magic=0x0827C4E0, expected=0x7312F8DC)
071+ End: Unknown
072+ ---------------------------------------
073+ [Wed Jul 2 16:35:26 2003] Script:
'/mnt/pc6_c/cvs.php.net/php5-200307021330/tests/classes/factory_and_singleton_002.php'
074+ ---------------------------------------
075+ /mnt/pc6_c/cvs.php.net/php5-200307021330/Zend/zend_compile.c(3449) : Block 0x0827C4A8 status:
076+ Beginning: Overrun (magic=0x0827C598, expected=0x7312F8DC)
077+ End: Unknown
078+ ---------------------------------------
079+ [Wed Jul 2 16:35:26 2003] Script:
'/mnt/pc6_c/cvs.php.net/php5-200307021330/tests/classes/factory_and_singleton_002.php'
080+ ---------------------------------------
081+ /mnt/pc6_c/cvs.php.net/php5-200307021330/Zend/zend_hash.c(512) : Block 0x0827C5A0 status:
082+ Beginning: Overrun (magic=0x0827DF40, expected=0x7312F8DC)
083+ End: Unknown
084+ ---------------------------------------
085+ [Wed Jul 2 16:35:26 2003] Script:
'/mnt/pc6_c/cvs.php.net/php5-200307021330/tests/classes/factory_and_singleton_002.php'
086+ ---------------------------------------
087+ /mnt/pc6_c/cvs.php.net/php5-200307021330/Zend/zend_hash.c(514) : Block 0x0827C548 status:
088+ Beginning: Overrun (magic=0x0827DC18, expected=0x7312F8DC)
089+ End: Unknown
090+ ---------------------------------------
091+ [Wed Jul 2 16:35:26 2003] Script:
'/mnt/pc6_c/cvs.php.net/php5-200307021330/tests/classes/factory_and_singleton_002.php'
092+ ---------------------------------------
093+ /mnt/pc6_c/cvs.php.net/php5-200307021330/Zend/zend_hash.c(516) : Block 0x0827BEE8 status:
094+ Beginning: Overrun (magic=0x0827C240, expected=0x7312F8DC)
095+ End: Unknown
096+ ---------------------------------------
097+ /mnt/pc6_c/cvs.php.net/php5-200307021330/Zend/zend_hash.c(500) : ht=0x0827bf5c is being cleaned
098+ /mnt/pc6_c/cvs.php.net/php5-200307021330/Zend/zend_hash.c(67) : Bailed out without a bailout
address!
================================================================================
================================================================================
/mnt/pc6_c/cvs.php.net/php5-200307021330/tests/lang/bug22367.phpt
================================================================================
---- EXPECTED OUTPUT
int(5)
bool(false)
bool(false)
array(5) {
[0]=>
int(0)
[1]=>
int(1)
[2]=>
int(2)
[3]=>
int(3)
[4]=>
int(4)
}
array(5) {
[0]=>
int(0)
[1]=>
int(1)
[2]=>
int(2)
[3]=>
int(3)
[4]=>
int(4)
}
int(2)
bool(true)
bool(true)
array(5) {
[0]=>
int(0)
[1]=>
int(1)
[2]=>
int(2)
[3]=>
int(3)
[4]=>
int(4)
}
array(5) {
[0]=>
int(0)
[1]=>
int(1)
[2]=>
int(2)
[3]=>
int(3)
[4]=>
int(4)
}
---- ACTUAL OUTPUT
int(5)
bool(false)
bool(false)
array(5) {
[0]=>
int(4)
[1]=>
int(4)
[2]=>
int(4)
[3]=>
int(4)
[4]=>
int(4)
}
array(5) {
[0]=>
int(0)
[1]=>
int(1)
[2]=>
int(2)
[3]=>
int(3)
[4]=>
int(4)
}
int(2)
bool(true)
bool(true)
array(5) {
[0]=>
int(0)
[1]=>
int(1)
[2]=>
int(2)
[3]=>
int(3)
[4]=>
int(4)
}
array(5) {
[0]=>
int(0)
[1]=>
int(1)
[2]=>
&int(2)
[3]=>
int(3)
[4]=>
int(4)
}
/mnt/pc6_c/cvs.php.net/php5-200307021330/Zend/zend_execute.c(2751) : Freeing 0x082804C4 (16 bytes),
script=/mnt/pc6_c/cvs.php.net/php5-200307021330/tests/lang/bug22367.php
Last leak repeated 1 time
---- FAILED
================================================================================
006- int(0)
006+ int(4)
008- int(1)
008+ int(4)
010- int(2)
010+ int(4)
012- int(3)
012+ int(4)
049- int(2)
049+ &int(2)
055+ /mnt/pc6_c/cvs.php.net/php5-200307021330/Zend/zend_execute.c(2751) : Freeing 0x082804C4 (16
bytes), script=/mnt/pc6_c/cvs.php.net/php5-200307021330/tests/lang/bug22367.php
056+ Last leak repeated 1 time
================================================================================
================================================================================
/mnt/pc6_c/cvs.php.net/php5-200307021330/tests/lang/bug22510.phpt
================================================================================
---- EXPECTED OUTPUT
ok1
bar::run1
foo::method1
foo::method1
foo::finalize
done!
ok2
bar::run2
foo::method2
foo::method2
foo::finalize
done!
ok3
bar::run3
foo::method3
foo::method3
foo::finalize
done!
ouch
bar::run1
foo::method1
foo::method1
foo::finalize
I'm alive!
---- ACTUAL OUTPUT
ok1
bar::run1
foo::method1
foo::method1
foo::finalize
done!
ok2
bar::run2
foo::method2
foo::method2
foo::finalize
done!
ok3
bar::run3
foo::method3
foo::method3
foo::finalize
done!
ouch
bar::run1
foo::method1
foo::method1
foo::finalize
I'm alive!
/mnt/pc6_c/cvs.php.net/php5-200307021330/Zend/zend_execute.c(2751) : Freeing 0x08282414 (16 bytes),
script=/mnt/pc6_c/cvs.php.net/php5-200307021330/tests/lang/bug22510.php
---- FAILED
================================================================================
025+ /mnt/pc6_c/cvs.php.net/php5-200307021330/Zend/zend_execute.c(2751) : Freeing 0x08282414 (16
bytes), script=/mnt/pc6_c/cvs.php.net/php5-200307021330/tests/lang/bug22510.php
================================================================================
================================================================================
/mnt/pc6_c/cvs.php.net/php5-200307021330/Zend/tests/bug24436.phpt
================================================================================
---- EXPECTED OUTPUT
Notice: Undefined property: test::$test in /home/derick/bug24436.php on line 11test1
Notice: Undefined property: test::$test in /home/derick/bug24436.php on line 12test2
test1
test2
---- ACTUAL OUTPUT
test1
test2
test1
test2
---- FAILED
================================================================================
001- Notice: Undefined property: test::$test in /home/derick/bug24436.php on line 11test1
001+ test1
002-
002+ test2
003- Notice: Undefined property: test::$test in /home/derick/bug24436.php on line 12test2
003+ test1
004- test1
004+ test2
005- test2
================================================================================
================================================================================
/mnt/pc6_c/cvs.php.net/php5-200307021330/ext/session/tests/006.phpt
================================================================================
---- EXPECTED OUTPUT
original values:
object(a)#%d (1) {
["test"]=>
string(5) "hallo"
}
object(b)#%d (1) {
["a"]=>
&object(a)#%d (1) {
["test"]=>
string(5) "hallo"
}
}
values after session:
object(a)#%d (1) {
["test"]=>
string(5) "hallo"
}
object(b)#%d (1) {
["a"]=>
&object(a)#%d (1) {
["test"]=>
string(5) "hallo"
}
}
---- ACTUAL OUTPUT
original values:
object(a)#1 (1) {
["test"]=>
string(5) "hallo"
}
object(b)#2 (1) {
["a"]=>
&object(a)#1 (1) {
["test"]=>
string(5) "hallo"
}
}
values after session:
object(a)#3 (1) {
["test"]=>
string(5) "hallo"
}
object(b)#1 (1) {
["a"]=>
&object(a)#3 (1) {
["test"]=>
string(5) "hallo"
}
}
/mnt/pc6_c/cvs.php.net/php5-200307021330/ext/standard/var_unserializer.c(165) : Freeing 0x0827D794
(16 bytes), script=/mnt/pc6_c/cvs.php.net/php5-200307021330/ext/session/tests/006.php
---- FAILED
================================================================================
002- object(a)#%d (1) {
002+ object(a)#1 (1) {
006- object(b)#%d (1) {
006+ object(b)#2 (1) {
008- &object(a)#%d (1) {
008+ &object(a)#1 (1) {
014- object(a)#%d (1) {
014+ object(a)#3 (1) {
018- object(b)#%d (1) {
018+ object(b)#1 (1) {
020- &object(a)#%d (1) {
020+ &object(a)#3 (1) {
025+ /mnt/pc6_c/cvs.php.net/php5-200307021330/ext/standard/var_unserializer.c(165) : Freeing
0x0827D794 (16 bytes), script=/mnt/pc6_c/cvs.php.net/php5-200307021330/ext/session/tests/006.php
================================================================================
================================================================================
/mnt/pc6_c/cvs.php.net/php5-200307021330/ext/session/tests/007.phpt
================================================================================
---- EXPECTED OUTPUT
float(3.14)
array(1) {
["c"]=>
&float(3.14)
}
float(3.14)
array(1) {
["c"]=>
&float(3.14)
}
---- ACTUAL OUTPUT
float(3.14)
array(1) {
["c"]=>
&float(3.14)
}
float(3.14)
array(1) {
["c"]=>
&float(3.14)
}
/mnt/pc6_c/cvs.php.net/php5-200307021330/ext/standard/var_unserializer.c(165) : Freeing 0x0827BAC4
(16 bytes), script=/mnt/pc6_c/cvs.php.net/php5-200307021330/ext/session/tests/007.php
---- FAILED
================================================================================
011+ /mnt/pc6_c/cvs.php.net/php5-200307021330/ext/standard/var_unserializer.c(165) : Freeing
0x0827BAC4 (16 bytes), script=/mnt/pc6_c/cvs.php.net/php5-200307021330/ext/session/tests/007.php
================================================================================
================================================================================
/mnt/pc6_c/cvs.php.net/php5-200307021330/ext/session/tests/019.phpt
================================================================================
---- EXPECTED OUTPUT
array(2) {
["o1"]=>
&object(tfoo)#1 (1) {
["c"]=>
int(42)
}
["o2"]=>
&object(tfoo)#1 (1) {
["c"]=>
int(42)
}
}
array(2) {
["o1"]=>
&object(tfoo)#1 (1) {
["c"]=>
int(44)
}
["o2"]=>
&object(tfoo)#1 (1) {
["c"]=>
int(44)
}
}
---- ACTUAL OUTPUT
array(2) {
["o1"]=>
&object(tfoo)#1 (1) {
["c"]=>
int(42)
}
["o2"]=>
&object(tfoo)#1 (1) {
["c"]=>
int(42)
}
}
array(2) {
["o1"]=>
&object(tfoo)#1 (1) {
["c"]=>
int(44)
}
["o2"]=>
&object(tfoo)#1 (1) {
["c"]=>
int(44)
}
}
/mnt/pc6_c/cvs.php.net/php5-200307021330/ext/session/session.c(490) : Freeing 0x0827B664 (16
bytes), script=/mnt/pc6_c/cvs.php.net/php5-200307021330/ext/session/tests/019.php
---- FAILED
================================================================================
025+ /mnt/pc6_c/cvs.php.net/php5-200307021330/ext/session/session.c(490) : Freeing 0x0827B664 (16
bytes), script=/mnt/pc6_c/cvs.php.net/php5-200307021330/ext/session/tests/019.php
================================================================================
================================================================================
/mnt/pc6_c/cvs.php.net/php5-200307021330/ext/simplexml/tests/bug24392.phpt
================================================================================
---- EXPECTED OUTPUT
EU Parliament to Vote on New Patent Rules
Most Powerful Amateur Rocket in Canada
GF FX 5900 Ultra vs. ATi Radeon 9800 Pro
PHP 5 Beta 1
Engaging with the OSS Community
Pure Math, Pure Joy
Windows Tech Writer Looks at Linux
US Cell Phone Users Discover SMS Spam
Verizon Sues Nextel For Espionage
Introduction to Debian
---- ACTUAL OUTPUT
EU Parliament to Vote on New Patent Rules
Most Powerful Amateur Rocket in Canada
GF FX 5900 Ultra vs. ATi Radeon 9800 Pro
PHP 5 Beta 1
Engaging with the OSS Community
Pure Math, Pure Joy
Windows Tech Writer Looks at Linux
US Cell Phone Users Discover SMS Spam
Verizon Sues Nextel For Espionage
Introduction to Debian
/mnt/pc6_c/cvs.php.net/php5-200307021330/ext/simplexml/simplexml.c(275) : Freeing 0x0827AD74 (4
bytes), script=/mnt/pc6_c/cvs.php.net/php5-200307021330/ext/simplexml/tests/bug24392.php
---- FAILED
================================================================================
011+ /mnt/pc6_c/cvs.php.net/php5-200307021330/ext/simplexml/simplexml.c(275) : Freeing 0x0827AD74
(4 bytes), script=/mnt/pc6_c/cvs.php.net/php5-200307021330/ext/simplexml/tests/bug24392.php
================================================================================
================================================================================
/mnt/pc6_c/cvs.php.net/php5-200307021330/ext/standard/tests/file/001.phpt
================================================================================
---- EXPECTED OUTPUT
test.file does not exist
test.file exists
test.link exists
test.file is not a symlink
test.link is a symlink
test.file exists
test.link lstat and stat differ at element 1
test.link lstat and stat differ at element 2
test.link lstat and stat differ at element 7
test.link lstat and stat differ at element 8
test.link lstat and stat differ at element 9
test.link lstat and stat differ at element 10
test.file is file
test.link is link
test.file permissions are 0744
test.file size is 0
test.file is writeable
test.file is readable
test.file is executable
test.file is a regular file
test.link is a regular file
test.link is not a directory
../file is a directory
test.file is not a directory
test.file does not exist
test.file does not exist
---- ACTUAL OUTPUT
test.file does not exist
test.file exists
Warning: symlink(): Operation not permitted in
/mnt/pc6_c/cvs.php.net/php5-200307021330/ext/standard/tests/file/001.php on line 18
test.link does not exist
test.file is not a symlink
test.link is not a symlink
test.file exists
Notice: stat(): Stat failed for test.link (errno=2 - No such file or directory) in
/mnt/pc6_c/cvs.php.net/php5-200307021330/ext/standard/tests/file/001.php on line 46
Notice: lstat(): Lstat failed for (null) (errno=2 - No such file or directory) in
/mnt/pc6_c/cvs.php.net/php5-200307021330/ext/standard/tests/file/001.php on line 47
test.file is file
Notice: filetype(): Lstat failed for (null) (errno=2 - No such file or directory) in
/mnt/pc6_c/cvs.php.net/php5-200307021330/ext/standard/tests/file/001.php on line 54
test.link is
test.file permissions are 0744
test.file size is 0
test.file is writeable
test.file is readable
test.file is executable
test.file is a regular file
test.link is not a regular file
test.link is not a directory
../file is a directory
test.file is not a directory
Warning: unlink(test.link): No such file or directory in
/mnt/pc6_c/cvs.php.net/php5-200307021330/ext/standard/tests/file/001.php on line 98
test.file does not exist
test.file does not exist
---- FAILED
================================================================================
003- test.link exists
003+
004- test.file is not a symlink
004+ Warning: symlink(): Operation not permitted in
/mnt/pc6_c/cvs.php.net/php5-200307021330/ext/standard/tests/file/001.php on line 18
005- test.link is a symlink
005+ test.link does not exist
006- test.file exists
006+ test.file is not a symlink
007- test.link lstat and stat differ at element 1
007+ test.link is not a symlink
008- test.link lstat and stat differ at element 2
008+ test.file exists
009- test.link lstat and stat differ at element 7
009+
010- test.link lstat and stat differ at element 8
010+ Notice: stat(): Stat failed for test.link (errno=2 - No such file or directory) in
/mnt/pc6_c/cvs.php.net/php5-200307021330/ext/standard/tests/file/001.php on line 46
011- test.link lstat and stat differ at element 9
011+
012- test.link lstat and stat differ at element 10
012+ Notice: lstat(): Lstat failed for (null) (errno=2 - No such file or directory) in
/mnt/pc6_c/cvs.php.net/php5-200307021330/ext/standard/tests/file/001.php on line 47
014- test.link is link
014+
015- test.file permissions are 0744
015+ Notice: filetype(): Lstat failed for (null) (errno=2 - No such file or directory) in
/mnt/pc6_c/cvs.php.net/php5-200307021330/ext/standard/tests/file/001.php on line 54
016- test.file size is 0
016+ test.link is
017- test.file is writeable
017+ test.file permissions are 0744
018- test.file is readable
018+ test.file size is 0
019- test.file is executable
019+ test.file is writeable
020- test.file is a regular file
020+ test.file is readable
021- test.link is a regular file
021+ test.file is executable
022- test.link is not a directory
022+ test.file is a regular file
023- ../file is a directory
023+ test.link is not a regular file
024- test.file is not a directory
024+ test.link is not a directory
025- test.file does not exist
025+ ../file is a directory
026- test.file does not exist
026+ test.file is not a directory
027+
028+ Warning: unlink(test.link): No such file or directory in
/mnt/pc6_c/cvs.php.net/php5-200307021330/ext/standard/tests/file/001.php on line 98
029+ test.file does not exist
030+ test.file does not exist
================================================================================
================================================================================
/mnt/pc6_c/cvs.php.net/php5-200307021330/ext/standard/tests/general_functions/sunfuncts.phpt
================================================================================
---- EXPECTED OUTPUT
1041293199 06:39 6.6524557618962
1041293806 16:46 16.769374867459
1043971592 06:32 6.5453702926602
1043972233 17:13 17.217524708736
1046390766 06:06 6.1156526756851
1046391456 17:36 17.6108549623
1049069128 05:28 5.4727420290691
1049069878 17:58 17.972552584375
1051661094 04:54 4.9012299828593
1051661898 18:18 18.313688769483
1054339474 04:34 4.5744292894498
1054340319 18:39 18.656400943241
1056931476 04:36 4.6161204505189
1056932328 18:48 18.808871657766
1059609894 04:54 4.9068825098364
1059610715 18:35 18.599286002028
1062288314 05:14 5.2368895570738
1062289083 18:03 18.060541787879
1064880332 05:32 5.542366581139
1064881044 17:24 17.411505614917
1067558754 05:54 5.9162088420581
1067559410 16:50 16.833698570628
1070150780 06:20 6.3462215520697
1070151395 16:35 16.583589055537
---- ACTUAL OUTPUT
1041293199 06:39 6.6524557618962
1041293806 16:46 16.769374867459
1043971592 06:32 6.5453702926602
1043972233 17:13 17.217524708736
1046390766 06:06 6.1156526756851
1046391456 17:36 17.6108549623
1049069128 05:28 5.4727420290691
1049069878 17:58 17.972552584375
1051661094 04:54 4.9012299828593
1051661898 18:18 18.313688769483
1054339474 04:34 4.5744292894498
1054340319 18:39 18.656400943241
1056931476 04:36 4.6161204505189
1056932328 18:48 18.808871657766
1059609894 04:54 4.9068825098365
1059610715 18:35 18.599286002028
1062288314 05:14 5.2368895570738
1062289083 18:03 18.060541787879
1064880332 05:32 5.542366581139
1064881044 17:24 17.411505614917
1067558754 05:54 5.9162088420581
1067559410 16:50 16.833698570628
1070150780 06:20 6.3462215520697
1070151395 16:35 16.583589055537
---- FAILED
================================================================================
015- 1059609894 04:54 4.9068825098364
015+ 1059609894 04:54 4.9068825098365
================================================================================
================================================================================
/mnt/pc6_c/cvs.php.net/php5-200307021330/ext/standard/tests/math/bug24142.phpt
================================================================================
---- EXPECTED OUTPUT
5.04
5.05
---- ACTUAL OUTPUT
5.05
5.06
---- FAILED
================================================================================
001- 5.04
001+ 5.05
002- 5.05
002+ 5.06
================================================================================
================================================================================
/mnt/pc6_c/cvs.php.net/php5-200307021330/ext/standard/tests/serialize/001.phpt
================================================================================
---- EXPECTED OUTPUT
N;
b:1;
b:0;
i:1;
i:0;
i:-1;
i:2147483647;
i:-2147483647;
d:1.123456789000000011213842299184761941432952880859375;
d:1;
d:0;
d:-1;
d:-1.123456789000000011213842299184761941432952880859375;
s:5:"hallo";
a:6:{i:0;i:1;i:1;d:1.100000000000000088817841970012523233890533447265625;i:2;s:5:"hallo";i:3;N;i:4;b:1;i:5;a:0:{}}
O:1:"t":1:{s:1:"a";s:5:"hallo";}
object(t)#%d (1) {
["a"]=>
string(5) "hallo"
}
__sleep called
O:1:"s":2:{s:1:"a";s:5:"hallo";s:1:"c";s:5:"world";}
__wakeup called
object(s)#%d (3) {
["a"]=>
string(5) "hallo"
["b"]=>
NULL
["c"]=>
string(5) "world"
}
array(2) {
["a"]=>
&string(4) "test"
["b"]=>
&string(4) "test"
}
a:2:{s:1:"a";s:4:"test";s:1:"b";R:2;}
array(2) {
["a"]=>
&string(4) "test"
["b"]=>
&string(4) "test"
}
---- ACTUAL OUTPUT
N;
b:1;
b:0;
i:1;
i:0;
i:-1;
i:2147483647;
i:-2147483647;
d:1.123456789000000011213842299184761941432952880859375;
d:1;
d:0;
d:-1;
d:-1.123456789000000011213842299184761941432952880859375;
s:5:"hallo";
a:6:{i:0;i:1;i:1;d:1.100000000000000088817841970012523233890533447265625;i:2;s:5:"hallo";i:3;N;i:4;b:1;i:5;a:0:{}}
O:1:"t":1:{s:1:"a";s:5:"hallo";}
object(t)#2 (1) {
["a"]=>
string(5) "hallo"
}
__sleep called
O:1:"s":2:{s:1:"a";s:5:"hallo";s:1:"c";s:5:"world";}
__wakeup called
object(s)#2 (3) {
["a"]=>
string(5) "hallo"
["b"]=>
NULL
["c"]=>
string(5) "world"
}
array(2) {
["a"]=>
&string(4) "test"
["b"]=>
&string(4) "test"
}
a:2:{s:1:"a";s:4:"test";s:1:"b";R:2;}
array(2) {
["a"]=>
&string(4) "test"
["b"]=>
&string(4) "test"
}
/mnt/pc6_c/cvs.php.net/php5-200307021330/ext/standard/var_unserializer.c(165) : Freeing 0x0826B30C
(16 bytes), script=/mnt/pc6_c/cvs.php.net/php5-200307021330/ext/standard/tests/serialize/001.php
---- FAILED
================================================================================
017- object(t)#%d (1) {
017+ object(t)#2 (1) {
024- object(s)#%d (3) {
024+ object(s)#2 (3) {
045+ /mnt/pc6_c/cvs.php.net/php5-200307021330/ext/standard/var_unserializer.c(165) : Freeing
0x0826B30C (16 bytes),
script=/mnt/pc6_c/cvs.php.net/php5-200307021330/ext/standard/tests/serialize/001.php
================================================================================
================================================================================
/mnt/pc6_c/cvs.php.net/php5-200307021330/ext/xml/tests/xml001.phpt
================================================================================
---- EXPECTED OUTPUT
{?[<?xml version="1.0" encoding="ISO-8859-1"?>]}{?[
]}{?[<!DOCTYPE]}{?[ ]}{?[phptest]}{?[ ]}{?[SYSTEM]}{?[ ]}{?["notfound.dtd"]}{?[
]}{?[[]}{?[
]}{?[<!ENTITY]}{?[ ]}{?[%]}{?[ ]}{?[incent]}{?[ ]}{?[SYSTEM]}{?[
]}{?["inc.ent"]}{?[>]}{?[
]}{?[%incent;]}{?[
]}{?[]]}{?[>]}{?[
]}{ROOT ID="elem1"}{CDATA[
]}{CDATA[ Plain text.]}{CDATA[
]}{CDATA[ ]}{ELEM1}{CDATA[
]}{CDATA[ ]}{?[<!-- comment -->]}{CDATA[
]}{CDATA[ ]}{ELEM2}{CDATA[
]}{CDATA[ ]}{?[<![CDATA[]}{CDATA[CDATA block]}{?[]]>]}{CDATA[
]}{CDATA[ ]}{ELEM3}{CDATA[
]}{CDATA[ ]}{ENTREF[&included-entity;]}{CDATA[
]}{CDATA[ ]}{ELEM4}{CDATA[
]}{CDATA[ ]}{PI[test,processing instruction ]}{CDATA[
]}{CDATA[ ]}{/ELEM4}{CDATA[
]}{CDATA[ ]}{/ELEM3}{CDATA[
]}{CDATA[ ]}{/ELEM2}{CDATA[
]}{CDATA[ ]}{/ELEM1}{CDATA[
]}{/ROOT}{?[
]}parse complete
---- ACTUAL OUTPUT
{EXTENTREF[incent,,,inc.ent]}
{ROOT ID="elem1"}{CDATA[
Plain text.
]}{ELEM1}{CDATA[
]}{?[<-- comment -->]}{CDATA[
]}{ELEM2}{CDATA[
]}{CDATA[CDATA block]}{CDATA[
]}{ELEM3}{CDATA[
]}{ENTREF[&included-entity;]}{CDATA[
]}{ELEM4}{CDATA[
]}{PI[test,processing instruction ]}{CDATA[
]}{/ELEM4}{CDATA[
]}{/ELEM3}{CDATA[
]}{/ELEM2}{CDATA[
]}{/ELEM1}{CDATA[
]}{/ROOT}XML error: Undeclared entity warning at line 21
---- FAILED
================================================================================
001- {?[<?xml version="1.0" encoding="ISO-8859-1"?>]}{?[
001+ {EXTENTREF[incent,,,inc.ent]}
002- ]}{?[<!DOCTYPE]}{?[ ]}{?[phptest]}{?[ ]}{?[SYSTEM]}{?[ ]}{?["notfound.dtd"]}{?[
]}{?[[]}{?[
002+ {ROOT ID="elem1"}{CDATA[
003- ]}{?[<!ENTITY]}{?[ ]}{?[%]}{?[ ]}{?[incent]}{?[ ]}{?[SYSTEM]}{?[
]}{?["inc.ent"]}{?[>]}{?[
003+ Plain text.
004- ]}{?[%incent;]}{?[
004+ ]}{ELEM1}{CDATA[
005- ]}{?[]]}{?[>]}{?[
005+ ]}{?[<-- comment -->]}{CDATA[
006- ]}{ROOT ID="elem1"}{CDATA[
006+ ]}{ELEM2}{CDATA[
007- ]}{CDATA[ Plain text.]}{CDATA[
007+ ]}{CDATA[CDATA block]}{CDATA[
008- ]}{CDATA[ ]}{ELEM1}{CDATA[
008+ ]}{ELEM3}{CDATA[
009- ]}{CDATA[ ]}{?[<!-- comment -->]}{CDATA[
009+ ]}{ENTREF[&included-entity;]}{CDATA[
010- ]}{CDATA[ ]}{ELEM2}{CDATA[
010+ ]}{ELEM4}{CDATA[
011- ]}{CDATA[ ]}{?[<![CDATA[]}{CDATA[CDATA block]}{?[]]>]}{CDATA[
011+ ]}{PI[test,processing instruction ]}{CDATA[
012- ]}{CDATA[ ]}{ELEM3}{CDATA[
012+ ]}{/ELEM4}{CDATA[
013- ]}{CDATA[ ]}{ENTREF[&included-entity;]}{CDATA[
013+ ]}{/ELEM3}{CDATA[
014- ]}{CDATA[ ]}{ELEM4}{CDATA[
014+ ]}{/ELEM2}{CDATA[
015- ]}{CDATA[ ]}{PI[test,processing instruction ]}{CDATA[
015+ ]}{/ELEM1}{CDATA[
016- ]}{CDATA[ ]}{/ELEM4}{CDATA[
016+ ]}{/ROOT}XML error: Undeclared entity warning at line 21
017- ]}{CDATA[ ]}{/ELEM3}{CDATA[
018- ]}{CDATA[ ]}{/ELEM2}{CDATA[
019- ]}{CDATA[ ]}{/ELEM1}{CDATA[
020- ]}{/ROOT}{?[
021- ]}parse complete
================================================================================
================================================================================
/mnt/pc6_c/cvs.php.net/php5-200307021330/ext/xml/tests/xml002.phpt
================================================================================
---- EXPECTED OUTPUT
{?[<?xml version="1.0" encoding="ISO-8859-1"?>]}{?[
]}{?[<!DOCTYPE]}{?[ ]}{?[phptest]}{?[ ]}{?[SYSTEM]}{?[ ]}{?["notfound.dtd"]}{?[
]}{?[[]}{?[
]}{?[<!ENTITY]}{?[ ]}{?[%]}{?[ ]}{?[incent]}{?[ ]}{?[SYSTEM]}{?[
]}{?["inc.ent"]}{?[>]}{?[
]}{?[%incent;]}{?[
]}{?[]]}{?[>]}{?[
]}{ROOT ID="elem1"}{CDATA[
]}{CDATA[ Plain text.]}{CDATA[
]}{CDATA[ ]}{ELEM1}{CDATA[
]}{CDATA[ ]}{?[<!-- comment -->]}{CDATA[
]}{CDATA[ ]}{ELEM2}{CDATA[
]}{CDATA[ ]}{?[<![CDATA[]}{CDATA[CDATA block]}{?[]]>]}{CDATA[
]}{CDATA[ ]}{ELEM3}{CDATA[
]}{CDATA[ ]}{ENTREF[&included-entity;]}{CDATA[
]}{CDATA[ ]}{ELEM4}{CDATA[
]}{CDATA[ ]}{PI[test,processing instruction ]}{CDATA[
]}{CDATA[ ]}{/ELEM4}{CDATA[
]}{CDATA[ ]}{/ELEM3}{CDATA[
]}{CDATA[ ]}{/ELEM2}{CDATA[
]}{CDATA[ ]}{/ELEM1}{CDATA[
]}{/ROOT}{?[
]}parse complete
---- ACTUAL OUTPUT
{EXTENTREF[incent,,,inc.ent]}
{ROOT ID="elem1"}{CDATA[
Plain text.
]}{ELEM1}{CDATA[
]}{?[<-- comment -->]}{CDATA[
]}{ELEM2}{CDATA[
]}{CDATA[CDATA block]}{CDATA[
]}{ELEM3}{CDATA[
]}{ENTREF[&included-entity;]}{CDATA[
]}{ELEM4}{CDATA[
]}{PI[test,processing instruction ]}{CDATA[
]}{/ELEM4}{CDATA[
]}{/ELEM3}{CDATA[
]}{/ELEM2}{CDATA[
]}{/ELEM1}{CDATA[
]}{/ROOT}XML error: Undeclared entity warning at line 21
---- FAILED
================================================================================
001- {?[<?xml version="1.0" encoding="ISO-8859-1"?>]}{?[
001+ {EXTENTREF[incent,,,inc.ent]}
002- ]}{?[<!DOCTYPE]}{?[ ]}{?[phptest]}{?[ ]}{?[SYSTEM]}{?[ ]}{?["notfound.dtd"]}{?[
]}{?[[]}{?[
002+ {ROOT ID="elem1"}{CDATA[
003- ]}{?[<!ENTITY]}{?[ ]}{?[%]}{?[ ]}{?[incent]}{?[ ]}{?[SYSTEM]}{?[
]}{?["inc.ent"]}{?[>]}{?[
003+ Plain text.
004- ]}{?[%incent;]}{?[
004+ ]}{ELEM1}{CDATA[
005- ]}{?[]]}{?[>]}{?[
005+ ]}{?[<-- comment -->]}{CDATA[
006- ]}{ROOT ID="elem1"}{CDATA[
006+ ]}{ELEM2}{CDATA[
007- ]}{CDATA[ Plain text.]}{CDATA[
007+ ]}{CDATA[CDATA block]}{CDATA[
008- ]}{CDATA[ ]}{ELEM1}{CDATA[
008+ ]}{ELEM3}{CDATA[
009- ]}{CDATA[ ]}{?[<!-- comment -->]}{CDATA[
009+ ]}{ENTREF[&included-entity;]}{CDATA[
010- ]}{CDATA[ ]}{ELEM2}{CDATA[
010+ ]}{ELEM4}{CDATA[
011- ]}{CDATA[ ]}{?[<![CDATA[]}{CDATA[CDATA block]}{?[]]>]}{CDATA[
011+ ]}{PI[test,processing instruction ]}{CDATA[
012- ]}{CDATA[ ]}{ELEM3}{CDATA[
012+ ]}{/ELEM4}{CDATA[
013- ]}{CDATA[ ]}{ENTREF[&included-entity;]}{CDATA[
013+ ]}{/ELEM3}{CDATA[
014- ]}{CDATA[ ]}{ELEM4}{CDATA[
014+ ]}{/ELEM2}{CDATA[
015- ]}{CDATA[ ]}{PI[test,processing instruction ]}{CDATA[
015+ ]}{/ELEM1}{CDATA[
016- ]}{CDATA[ ]}{/ELEM4}{CDATA[
016+ ]}{/ROOT}XML error: Undeclared entity warning at line 21
017- ]}{CDATA[ ]}{/ELEM3}{CDATA[
018- ]}{CDATA[ ]}{/ELEM2}{CDATA[
019- ]}{CDATA[ ]}{/ELEM1}{CDATA[
020- ]}{/ROOT}{?[
021- ]}parse complete
================================================================================
================================================================================
/mnt/pc6_c/cvs.php.net/php5-200307021330/ext/xml/tests/xml003.phpt
================================================================================
---- EXPECTED OUTPUT
{?[<?xml version="1.0" encoding="ISO-8859-1"?>]}{?[
]}{?[<!DOCTYPE]}{?[ ]}{?[phptest]}{?[ ]}{?[SYSTEM]}{?[ ]}{?["notfound.dtd"]}{?[
]}{?[[]}{?[
]}{?[<!ENTITY]}{?[ ]}{?[%]}{?[ ]}{?[incent]}{?[ ]}{?[SYSTEM]}{?[
]}{?["inc.ent"]}{?[>]}{?[
]}{?[%incent;]}{?[
]}{?[]]}{?[>]}{?[
]}{ROOT ID="elem1"}{CDATA[
]}{CDATA[ Plain text.]}{CDATA[
]}{CDATA[ ]}{ELEM1}{CDATA[
]}{CDATA[ ]}{?[<!-- comment -->]}{CDATA[
]}{CDATA[ ]}{ELEM2}{CDATA[
]}{CDATA[ ]}{?[<![CDATA[]}{CDATA[CDATA block]}{?[]]>]}{CDATA[
]}{CDATA[ ]}{ELEM3}{CDATA[
]}{CDATA[ ]}{ENTREF[&included-entity;]}{CDATA[
]}{CDATA[ ]}{ELEM4}{CDATA[
]}{CDATA[ ]}{PI[test,processing instruction ]}{CDATA[
]}{CDATA[ ]}{/ELEM4}{CDATA[
]}{CDATA[ ]}{/ELEM3}{CDATA[
]}{CDATA[ ]}{/ELEM2}{CDATA[
]}{CDATA[ ]}{/ELEM1}{CDATA[
]}{/ROOT}{?[
]}parse complete
---- ACTUAL OUTPUT
{EXTENTREF[incent,,,inc.ent]}
{ROOT ID="elem1"}{CDATA[
Plain text.
]}{ELEM1}{CDATA[
]}{?[<-- comment -->]}{CDATA[
]}{ELEM2}{CDATA[
]}{CDATA[CDATA block]}{CDATA[
]}{ELEM3}{CDATA[
]}{ENTREF[&included-entity;]}{CDATA[
]}{ELEM4}{CDATA[
]}{PI[test,processing instruction ]}{CDATA[
]}{/ELEM4}{CDATA[
]}{/ELEM3}{CDATA[
]}{/ELEM2}{CDATA[
]}{/ELEM1}{CDATA[
]}{/ROOT}XML error: Undeclared entity warning at line 21
---- FAILED
================================================================================
001- {?[<?xml version="1.0" encoding="ISO-8859-1"?>]}{?[
001+ {EXTENTREF[incent,,,inc.ent]}
002- ]}{?[<!DOCTYPE]}{?[ ]}{?[phptest]}{?[ ]}{?[SYSTEM]}{?[ ]}{?["notfound.dtd"]}{?[
]}{?[[]}{?[
002+ {ROOT ID="elem1"}{CDATA[
003- ]}{?[<!ENTITY]}{?[ ]}{?[%]}{?[ ]}{?[incent]}{?[ ]}{?[SYSTEM]}{?[
]}{?["inc.ent"]}{?[>]}{?[
003+ Plain text.
004- ]}{?[%incent;]}{?[
004+ ]}{ELEM1}{CDATA[
005- ]}{?[]]}{?[>]}{?[
005+ ]}{?[<-- comment -->]}{CDATA[
006- ]}{ROOT ID="elem1"}{CDATA[
006+ ]}{ELEM2}{CDATA[
007- ]}{CDATA[ Plain text.]}{CDATA[
007+ ]}{CDATA[CDATA block]}{CDATA[
008- ]}{CDATA[ ]}{ELEM1}{CDATA[
008+ ]}{ELEM3}{CDATA[
009- ]}{CDATA[ ]}{?[<!-- comment -->]}{CDATA[
009+ ]}{ENTREF[&included-entity;]}{CDATA[
010- ]}{CDATA[ ]}{ELEM2}{CDATA[
010+ ]}{ELEM4}{CDATA[
011- ]}{CDATA[ ]}{?[<![CDATA[]}{CDATA[CDATA block]}{?[]]>]}{CDATA[
011+ ]}{PI[test,processing instruction ]}{CDATA[
012- ]}{CDATA[ ]}{ELEM3}{CDATA[
012+ ]}{/ELEM4}{CDATA[
013- ]}{CDATA[ ]}{ENTREF[&included-entity;]}{CDATA[
013+ ]}{/ELEM3}{CDATA[
014- ]}{CDATA[ ]}{ELEM4}{CDATA[
014+ ]}{/ELEM2}{CDATA[
015- ]}{CDATA[ ]}{PI[test,processing instruction ]}{CDATA[
015+ ]}{/ELEM1}{CDATA[
016- ]}{CDATA[ ]}{/ELEM4}{CDATA[
016+ ]}{/ROOT}XML error: Undeclared entity warning at line 21
017- ]}{CDATA[ ]}{/ELEM3}{CDATA[
018- ]}{CDATA[ ]}{/ELEM2}{CDATA[
019- ]}{CDATA[ ]}{/ELEM1}{CDATA[
020- ]}{/ROOT}{?[
021- ]}parse complete
================================================================================
================================================================================
BUILD ENVIRONMENT
================================================================================
OS:
Linux - Linux Knoppix 2.4.20-xfs #1 SMP Mit Mär 26 15:37:36 CET 2003 i686
Automake:
automake (GNU automake) 1.7.4
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.57
Written by David J. MacKenzie and Akim Demaille.
Copyright 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Libtool:
ltmain.sh (GNU libtool) 1.4.3 (1.922.2.110 2002/10/23 01:39:54)
Compiler:
Reading specs from /usr/lib/gcc-lib/i386-linux/3.2.3/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,objc,ada --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.2
--enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit
--enable-clocale=gnu --enable-java-gc=boehm --enable-objc-gc i386-linux
Thread model: posix
gcc version 3.2.3
Bison:
bison (GNU Bison) 1.875a
Geschrieben von Robert Corbett und Richard Stallman.
Copyright © 2003 Free Software Foundation, Inc.
Dies ist freie Software; die Kopierbedingungen stehen in den Quellen. Es
gibt keine Garantie; auch nicht für VERKAUFBARKEIT oder FÜR SPEZIELLE ZWECKE.
Libraries:
libcrypt.so.1 => /lib/libcrypt.so.1 (0x40020000)
libresolv.so.2 => /lib/libresolv.so.2 (0x4004d000)
libm.so.6 => /lib/libm.so.6 (0x4005d000)
libdl.so.2 => /lib/libdl.so.2 (0x4007e000)
libnsl.so.1 => /lib/libnsl.so.1 (0x40081000)
libz.so.1 => /lib/libz.so.1 (0x40094000)
libxml2.so.2 => /mnt/pc6_c/cvs.php.net/php_builds/lib/libxml2.so.2 (0x400a1000)
libpthread.so.0 => /lib/libpthread.so.0 (0x40188000)
libc.so.6 => /lib/libc.so.6 (0x401d7000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
User's E-mail: christian at freemails dot at
================================================================================
PHPINFO
================================================================================
phpinfo()
PHP Version => 5.0.0b2-dev
System => Linux Knoppix 2.4.20-xfs #1 SMP Mit Mär 26 15:37:36 CET 2003 i686
Build Date => Jul 2 2003 16:25:48
Configure Command => './configure' '--prefix=/root/php5'
'--enable-cli' '--enable-embed=shared' '--disable-cgi'
'--enable-force-cgi-redirect' '--enable-discard-path'
'--enable-path-info-check' '--enable-debug' '--enable-versioning'
'--with-config-file-path=/root/php5'
'--with-libxml-dir=/mnt/pc6_c/cvs.php.net/php5_builds' '--without-pear'
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /root/php5
PHP API => 20030518
PHP Extension => 20020429
Zend Extension => 90021012
Debug Build => yes
Thread Safety => disabled
Registered PHP Streams => php, http, ftp
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.0.0-dev, Copyright (c) 1998-2003 Zend Technologies
_______________________________________________________________________
Configuration
PHP Core
Directive => Local Value => Master Value
allow_call_time_pass_reference => On => On
allow_url_fopen => On => On
always_populate_raw_post_data => Off => Off
arg_separator.input => & => &
arg_separator.output => & => &
asp_tags => Off => Off
auto_append_file => no value => no value
auto_prepend_file => no value => no value
browscap => no value => no value
default_charset => no value => no value
default_mimetype => text/html => text/html
define_syslog_variables => Off => Off
disable_classes => no value => no value
disable_functions => no value => no value
display_errors => On => On
display_startup_errors => Off => Off
doc_root => no value => no value
docref_ext => no value => no value
docref_root => no value => no value
enable_dl => On => On
error_append_string => no value => no value
error_log => no value => no value
error_prepend_string => no value => no value
error_reporting => no value => no value
expose_php => On => On
extension_dir => /root/php5/lib/php/extensions/debug-non-zts-20020429 =>
/root/php5/lib/php/extensions/debug-non-zts-20020429
file_uploads => On => On
gpc_order => GPC => GPC
highlight.bg => #FFFFFF => #FFFFFF
highlight.comment => #FF8000 => #FF8000
highlight.default => #0000BB => #0000BB
highlight.html => #000000 => #000000
highlight.keyword => #007700 => #007700
highlight.string => #DD0000 => #DD0000
html_errors => On => On
ignore_repeated_errors => Off => Off
ignore_repeated_source => Off => Off
ignore_user_abort => Off => Off
implicit_flush => Off => Off
include_path => .: => .:
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 => 30 => 30
max_input_time => -1 => -1
open_basedir => no value => no value
output_buffering => 0 => 0
output_handler => no value => no value
post_max_size => 8M => 8M
precision => 14 => 14
register_argc_argv => On => On
register_globals => Off => Off
register_long_arrays => On => On
report_memleaks => On => On
report_zend_debug => Off => Off
safe_mode => Off => Off
safe_mode_exec_dir => /usr/local/php/bin => /usr/local/php/bin
safe_mode_gid => Off => Off
safe_mode_include_dir => no value => no value
sendmail_from => no value => no value
sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i
serialize_precision => 100 => 100
short_open_tag => On => On
SMTP => localhost => localhost
smtp_port => 25 => 25
sql.safe_mode => Off => Off
track_errors => Off => Off
unserialize_callback_func => no value => no value
upload_max_filesize => 2M => 2M
upload_tmp_dir => no value => no value
user_dir => no value => no value
variables_order => no value => no value
xmlrpc_error_number => 0 => 0
xmlrpc_errors => Off => Off
y2k_compliance => On => On
zend2.implicit_clone => no value => no value
ctype
ctype functions => enabled
dom
DOM/XML => enabled
DOM/XML API Version => 20030413
libxml Version => 2.5.7
HTML Support => enabled
XPath Support => enabled
XPointer Support => enabled
pcre
PCRE (Perl Compatible Regular Expressions) Support => enabled
PCRE Library Version => 4.3 21-May-2003
posix
Revision => $Revision: 1.56 $
session
Session Support => enabled
Registered save handlers => files user sqlite
Directive => Local Value => Master Value
session.auto_start => Off => Off
session.bug_compat_42 => On => On
session.bug_compat_warn => On => On
session.cache_expire => 180 => 180
session.cache_limiter => nocache => nocache
session.cookie_domain => no value => no value
session.cookie_lifetime => 0 => 0
session.cookie_path => / => /
session.cookie_secure => Off => Off
session.entropy_file => no value => no value
session.entropy_length => 0 => 0
session.gc_divisor => 100 => 100
session.gc_maxlifetime => 1440 => 1440
session.gc_probability => 1 => 1
session.hash_bits_per_character => 4 => 4
session.hash_function => 0 => 0
session.name => PHPSESSID => PHPSESSID
session.referer_check => no value => no value
session.save_handler => files => files
session.save_path => /tmp => /tmp
session.serialize_handler => php => php
session.use_cookies => On => On
session.use_only_cookies => Off => Off
session.use_trans_sid => Off => Off
simplexml
Simplexml support => enabled
Revision => $Revision: 1.47 $
sqlite
SQLite support => enabled
PECL Module version => 1.1-dev $Id: sqlite.c,v 1.69 2003/07/01 17:55:32 helly Exp $
SQLite Library => 2.8.3
SQLite Encoding => iso8859
Directive => Local Value => Master Value
sqlite.assoc_case => 0 => 0
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
tokenizer
Tokenizer Support => enabled
xml
XML Support => active
XML Namespace Support => active
libxml2 Version => 2.5.7
Additional Modules
Module Name
Environment
Variable => Value
TEST_PHP_SRCDIR => /mnt/pc6_c/cvs.php.net/php5-200307021330
SHELL => /bin/sh
TERM => xterm
MAKEFLAGS =>
SSH_CLIENT => deleted
SSH_TTY => deleted
USER => root
SCRIPT_FILENAME =>
SSH_AUTH_SOCK => deleted
MAKELEVEL => 1
MFLAGS =>
PATH => /sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/games
MAIL => /var/mail/root
_ => /mnt/pc6_c/cvs.php.net/php5-200307021330/sapi/cli/php
PWD => /mnt/pc6_c/cvs.php.net/php5-200307021330
LANG => de_DE@euro
TEST_PHP_EXECUTABLE => /mnt/pc6_c/cvs.php.net/php5-200307021330/sapi/cli/php
REDIRECT_STATUS =>
PATH_TRANSLATED =>
HOME => /root
SHLVL => 3
CONTENT_LENGTH =>
LANGUAGE => de
LOGNAME => root
QUERY_STRING =>
SSH_CONNECTION => 192.168.1.202 4330 192.168.1.200 22
CONTENT_TYPE =>
CC => gcc
REQUEST_METHOD =>
PHP Variables
Variable => Value
_SERVER["TEST_PHP_SRCDIR"] => /mnt/pc6_c/cvs.php.net/php5-200307021330
_SERVER["SHELL"] => /bin/sh
_SERVER["TERM"] => xterm
_SERVER["MAKEFLAGS"] =>
_SERVER["SSH_CLIENT"] => deleted
_SERVER["SSH_TTY"] => deleted
_SERVER["USER"] => root
_SERVER["SCRIPT_FILENAME"] =>
_SERVER["SSH_AUTH_SOCK"] => deleted
_SERVER["MAKELEVEL"] => 1
_SERVER["MFLAGS"] =>
_SERVER["PATH"] =>
/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/games
_SERVER["MAIL"] => /var/mail/root
_SERVER["_"] => /mnt/pc6_c/cvs.php.net/php5-200307021330/sapi/cli/php
_SERVER["PWD"] => /mnt/pc6_c/cvs.php.net/php5-200307021330
_SERVER["LANG"] => de_DE@euro
_SERVER["TEST_PHP_EXECUTABLE"] => /mnt/pc6_c/cvs.php.net/php5-200307021330/sapi/cli/php
_SERVER["REDIRECT_STATUS"] =>
_SERVER["PATH_TRANSLATED"] =>
_SERVER["HOME"] => /root
_SERVER["SHLVL"] => 3
_SERVER["CONTENT_LENGTH"] =>
_SERVER["LANGUAGE"] => de
_SERVER["LOGNAME"] => root
_SERVER["QUERY_STRING"] =>
_SERVER["SSH_CONNECTION"] => 192.168.1.202 4330 192.168.1.200 22
_SERVER["CONTENT_TYPE"] =>
_SERVER["CC"] => gcc
_SERVER["REQUEST_METHOD"] =>
_SERVER["PHP_SELF"] =>
_SERVER["SCRIPT_NAME"] =>
_SERVER["DOCUMENT_ROOT"] =>
_SERVER["argv"] => Array
(
)
_SERVER["argc"] => 0
_ENV["TEST_PHP_SRCDIR"] => /mnt/pc6_c/cvs.php.net/php5-200307021330
_ENV["SHELL"] => /bin/sh
_ENV["TERM"] => xterm
_ENV["MAKEFLAGS"] =>
_ENV["SSH_CLIENT"] => deleted
_ENV["SSH_TTY"] => deleted
_ENV["USER"] => root
_ENV["SCRIPT_FILENAME"] =>
_ENV["SSH_AUTH_SOCK"] => deleted
_ENV["MAKELEVEL"] => 1
_ENV["MFLAGS"] =>
_ENV["PATH"] =>
/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/games
_ENV["MAIL"] => /var/mail/root
_ENV["_"] => /mnt/pc6_c/cvs.php.net/php5-200307021330/sapi/cli/php
_ENV["PWD"] => /mnt/pc6_c/cvs.php.net/php5-200307021330
_ENV["LANG"] => de_DE@euro
_ENV["TEST_PHP_EXECUTABLE"] => /mnt/pc6_c/cvs.php.net/php5-200307021330/sapi/cli/php
_ENV["REDIRECT_STATUS"] =>
_ENV["PATH_TRANSLATED"] =>
_ENV["HOME"] => /root
_ENV["SHLVL"] => 3
_ENV["CONTENT_LENGTH"] =>
_ENV["LANGUAGE"] => de
_ENV["LOGNAME"] => root
_ENV["QUERY_STRING"] =>
_ENV["SSH_CONNECTION"] => 192.168.1.202 4330 192.168.1.200 22
_ENV["CONTENT_TYPE"] =>
_ENV["CC"] => gcc
_ENV["REQUEST_METHOD"] =>
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.