Fixed test

This commit is contained in:
Ilia Alshanetsky 2007-11-04 16:12:13 +00:00
parent c1ce41ac34
commit d689a10f3a

View file

@ -84,27 +84,27 @@ array(3) {
object(TestBase)#%d (3) { object(TestBase)#%d (3) {
["id"]=> ["id"]=>
string(1) "1" string(1) "1"
["val:protected"]=> ["val":protected]=>
string(1) "A" string(1) "A"
["val2:private"]=> ["val2":"TestBase":private]=>
string(2) "AA" string(2) "AA"
} }
[1]=> [1]=>
object(TestBase)#%d (3) { object(TestBase)#%d (3) {
["id"]=> ["id"]=>
string(1) "2" string(1) "2"
["val:protected"]=> ["val":protected]=>
string(1) "B" string(1) "B"
["val2:private"]=> ["val2":"TestBase":private]=>
string(2) "BB" string(2) "BB"
} }
[2]=> [2]=>
object(TestBase)#%d (3) { object(TestBase)#%d (3) {
["id"]=> ["id"]=>
string(1) "3" string(1) "3"
["val:protected"]=> ["val":protected]=>
string(1) "C" string(1) "C"
["val2:private"]=> ["val2":"TestBase":private]=>
string(2) "CC" string(2) "CC"
} }
} }
@ -114,41 +114,41 @@ TestDerived::__construct(2,3)
array(3) { array(3) {
[0]=> [0]=>
object(TestDerived)#%d (5) { object(TestDerived)#%d (5) {
["row:protected"]=> ["row":protected]=>
int(0) int(0)
["id"]=> ["id"]=>
string(1) "1" string(1) "1"
["val:protected"]=> ["val":protected]=>
string(1) "A" string(1) "A"
["val2:private"]=> ["val2":"TestBase":private]=>
NULL NULL
["val2"]=> ["val2"]=>
string(2) "AA" string(2) "AA"
} }
[1]=> [1]=>
object(TestDerived)#%d (5) { object(TestDerived)#%d (5) {
["row:protected"]=> ["row":protected]=>
int(1) int(1)
["id"]=> ["id"]=>
string(1) "2" string(1) "2"
["val:protected"]=> ["val":protected]=>
string(1) "B" string(1) "B"
["val2:private"]=> ["val2":"TestBase":private]=>
NULL NULL
["val2"]=> ["val2"]=>
string(2) "BB" string(2) "BB"
} }
[2]=> [2]=>
object(TestDerived)#%d (5) { object(TestDerived)#%d (5) {
["row:protected"]=> ["row":protected]=>
int(2) int(2)
["id"]=> ["id"]=>
string(1) "3" string(1) "3"
["val:protected"]=> ["val":protected]=>
string(1) "C" string(1) "C"
["val2:private"]=> ["val2":"TestBase":private]=>
NULL NULL
["val2"]=> ["val2"]=>
string(2) "CC" string(2) "CC"
} }
} }