mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
Fixed test
This commit is contained in:
parent
c1ce41ac34
commit
d689a10f3a
1 changed files with 16 additions and 16 deletions
|
@ -84,27 +84,27 @@ array(3) {
|
|||
object(TestBase)#%d (3) {
|
||||
["id"]=>
|
||||
string(1) "1"
|
||||
["val:protected"]=>
|
||||
["val":protected]=>
|
||||
string(1) "A"
|
||||
["val2:private"]=>
|
||||
["val2":"TestBase":private]=>
|
||||
string(2) "AA"
|
||||
}
|
||||
[1]=>
|
||||
object(TestBase)#%d (3) {
|
||||
["id"]=>
|
||||
string(1) "2"
|
||||
["val:protected"]=>
|
||||
["val":protected]=>
|
||||
string(1) "B"
|
||||
["val2:private"]=>
|
||||
["val2":"TestBase":private]=>
|
||||
string(2) "BB"
|
||||
}
|
||||
[2]=>
|
||||
object(TestBase)#%d (3) {
|
||||
["id"]=>
|
||||
string(1) "3"
|
||||
["val:protected"]=>
|
||||
["val":protected]=>
|
||||
string(1) "C"
|
||||
["val2:private"]=>
|
||||
["val2":"TestBase":private]=>
|
||||
string(2) "CC"
|
||||
}
|
||||
}
|
||||
|
@ -114,39 +114,39 @@ TestDerived::__construct(2,3)
|
|||
array(3) {
|
||||
[0]=>
|
||||
object(TestDerived)#%d (5) {
|
||||
["row:protected"]=>
|
||||
["row":protected]=>
|
||||
int(0)
|
||||
["id"]=>
|
||||
string(1) "1"
|
||||
["val:protected"]=>
|
||||
["val":protected]=>
|
||||
string(1) "A"
|
||||
["val2:private"]=>
|
||||
["val2":"TestBase":private]=>
|
||||
NULL
|
||||
["val2"]=>
|
||||
string(2) "AA"
|
||||
}
|
||||
[1]=>
|
||||
object(TestDerived)#%d (5) {
|
||||
["row:protected"]=>
|
||||
["row":protected]=>
|
||||
int(1)
|
||||
["id"]=>
|
||||
string(1) "2"
|
||||
["val:protected"]=>
|
||||
["val":protected]=>
|
||||
string(1) "B"
|
||||
["val2:private"]=>
|
||||
["val2":"TestBase":private]=>
|
||||
NULL
|
||||
["val2"]=>
|
||||
string(2) "BB"
|
||||
}
|
||||
[2]=>
|
||||
object(TestDerived)#%d (5) {
|
||||
["row:protected"]=>
|
||||
["row":protected]=>
|
||||
int(2)
|
||||
["id"]=>
|
||||
string(1) "3"
|
||||
["val:protected"]=>
|
||||
["val":protected]=>
|
||||
string(1) "C"
|
||||
["val2:private"]=>
|
||||
["val2":"TestBase":private]=>
|
||||
NULL
|
||||
["val2"]=>
|
||||
string(2) "CC"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue