mirror of
https://github.com/php/php-src.git
synced 2026-03-24 16:22:37 +01:00
Fixed tests, reflection doesn't return reference anymore
This commit is contained in:
@@ -28,63 +28,63 @@ object(ReflectionClass)#%d (1) {
|
||||
..and get names of all its methods
|
||||
array(9) {
|
||||
[0]=>
|
||||
&object(ReflectionMethod)#%d (2) {
|
||||
object(ReflectionMethod)#%d (2) {
|
||||
["name"]=>
|
||||
string(11) "__construct"
|
||||
["class"]=>
|
||||
string(12) "DateTimeZone"
|
||||
}
|
||||
[1]=>
|
||||
&object(ReflectionMethod)#%d (2) {
|
||||
object(ReflectionMethod)#%d (2) {
|
||||
["name"]=>
|
||||
string(8) "__wakeup"
|
||||
["class"]=>
|
||||
string(12) "DateTimeZone"
|
||||
}
|
||||
[2]=>
|
||||
&object(ReflectionMethod)#%d (2) {
|
||||
object(ReflectionMethod)#%d (2) {
|
||||
["name"]=>
|
||||
string(11) "__set_state"
|
||||
["class"]=>
|
||||
string(12) "DateTimeZone"
|
||||
}
|
||||
[3]=>
|
||||
&object(ReflectionMethod)#%d (2) {
|
||||
object(ReflectionMethod)#%d (2) {
|
||||
["name"]=>
|
||||
string(7) "getName"
|
||||
["class"]=>
|
||||
string(12) "DateTimeZone"
|
||||
}
|
||||
[4]=>
|
||||
&object(ReflectionMethod)#%d (2) {
|
||||
object(ReflectionMethod)#%d (2) {
|
||||
["name"]=>
|
||||
string(9) "getOffset"
|
||||
["class"]=>
|
||||
string(12) "DateTimeZone"
|
||||
}
|
||||
[5]=>
|
||||
&object(ReflectionMethod)#%d (2) {
|
||||
object(ReflectionMethod)#%d (2) {
|
||||
["name"]=>
|
||||
string(14) "getTransitions"
|
||||
["class"]=>
|
||||
string(12) "DateTimeZone"
|
||||
}
|
||||
[6]=>
|
||||
&object(ReflectionMethod)#%d (2) {
|
||||
object(ReflectionMethod)#%d (2) {
|
||||
["name"]=>
|
||||
string(11) "getLocation"
|
||||
["class"]=>
|
||||
string(12) "DateTimeZone"
|
||||
}
|
||||
[7]=>
|
||||
&object(ReflectionMethod)#%d (2) {
|
||||
object(ReflectionMethod)#%d (2) {
|
||||
["name"]=>
|
||||
string(17) "listAbbreviations"
|
||||
["class"]=>
|
||||
string(12) "DateTimeZone"
|
||||
}
|
||||
[8]=>
|
||||
&object(ReflectionMethod)#%d (2) {
|
||||
object(ReflectionMethod)#%d (2) {
|
||||
["name"]=>
|
||||
string(15) "listIdentifiers"
|
||||
["class"]=>
|
||||
|
||||
@@ -29,126 +29,126 @@ object(ReflectionClass)#%d (1) {
|
||||
..and get names of all its methods
|
||||
array(18) {
|
||||
[0]=>
|
||||
&object(ReflectionMethod)#%d (2) {
|
||||
object(ReflectionMethod)#%d (2) {
|
||||
["name"]=>
|
||||
string(11) "__construct"
|
||||
["class"]=>
|
||||
string(8) "DateTime"
|
||||
}
|
||||
[1]=>
|
||||
&object(ReflectionMethod)#%d (2) {
|
||||
object(ReflectionMethod)#%d (2) {
|
||||
["name"]=>
|
||||
string(8) "__wakeup"
|
||||
["class"]=>
|
||||
string(8) "DateTime"
|
||||
}
|
||||
[2]=>
|
||||
&object(ReflectionMethod)#%d (2) {
|
||||
object(ReflectionMethod)#%d (2) {
|
||||
["name"]=>
|
||||
string(11) "__set_state"
|
||||
["class"]=>
|
||||
string(8) "DateTime"
|
||||
}
|
||||
[3]=>
|
||||
&object(ReflectionMethod)#%d (2) {
|
||||
object(ReflectionMethod)#%d (2) {
|
||||
["name"]=>
|
||||
string(16) "createFromFormat"
|
||||
["class"]=>
|
||||
string(8) "DateTime"
|
||||
}
|
||||
[4]=>
|
||||
&object(ReflectionMethod)#%d (2) {
|
||||
object(ReflectionMethod)#%d (2) {
|
||||
["name"]=>
|
||||
string(13) "getLastErrors"
|
||||
["class"]=>
|
||||
string(8) "DateTime"
|
||||
}
|
||||
[5]=>
|
||||
&object(ReflectionMethod)#%d (2) {
|
||||
object(ReflectionMethod)#%d (2) {
|
||||
["name"]=>
|
||||
string(6) "format"
|
||||
["class"]=>
|
||||
string(8) "DateTime"
|
||||
}
|
||||
[6]=>
|
||||
&object(ReflectionMethod)#%d (2) {
|
||||
object(ReflectionMethod)#%d (2) {
|
||||
["name"]=>
|
||||
string(6) "modify"
|
||||
["class"]=>
|
||||
string(8) "DateTime"
|
||||
}
|
||||
[7]=>
|
||||
&object(ReflectionMethod)#%d (2) {
|
||||
object(ReflectionMethod)#%d (2) {
|
||||
["name"]=>
|
||||
string(3) "add"
|
||||
["class"]=>
|
||||
string(8) "DateTime"
|
||||
}
|
||||
[8]=>
|
||||
&object(ReflectionMethod)#%d (2) {
|
||||
object(ReflectionMethod)#%d (2) {
|
||||
["name"]=>
|
||||
string(3) "sub"
|
||||
["class"]=>
|
||||
string(8) "DateTime"
|
||||
}
|
||||
[9]=>
|
||||
&object(ReflectionMethod)#%d (2) {
|
||||
object(ReflectionMethod)#%d (2) {
|
||||
["name"]=>
|
||||
string(11) "getTimezone"
|
||||
["class"]=>
|
||||
string(8) "DateTime"
|
||||
}
|
||||
[10]=>
|
||||
&object(ReflectionMethod)#%d (2) {
|
||||
object(ReflectionMethod)#%d (2) {
|
||||
["name"]=>
|
||||
string(11) "setTimezone"
|
||||
["class"]=>
|
||||
string(8) "DateTime"
|
||||
}
|
||||
[11]=>
|
||||
&object(ReflectionMethod)#%d (2) {
|
||||
object(ReflectionMethod)#%d (2) {
|
||||
["name"]=>
|
||||
string(9) "getOffset"
|
||||
["class"]=>
|
||||
string(8) "DateTime"
|
||||
}
|
||||
[12]=>
|
||||
&object(ReflectionMethod)#%d (2) {
|
||||
object(ReflectionMethod)#%d (2) {
|
||||
["name"]=>
|
||||
string(7) "setTime"
|
||||
["class"]=>
|
||||
string(8) "DateTime"
|
||||
}
|
||||
[13]=>
|
||||
&object(ReflectionMethod)#%d (2) {
|
||||
object(ReflectionMethod)#%d (2) {
|
||||
["name"]=>
|
||||
string(7) "setDate"
|
||||
["class"]=>
|
||||
string(8) "DateTime"
|
||||
}
|
||||
[14]=>
|
||||
&object(ReflectionMethod)#%d (2) {
|
||||
object(ReflectionMethod)#%d (2) {
|
||||
["name"]=>
|
||||
string(10) "setISODate"
|
||||
["class"]=>
|
||||
string(8) "DateTime"
|
||||
}
|
||||
[15]=>
|
||||
&object(ReflectionMethod)#%d (2) {
|
||||
object(ReflectionMethod)#%d (2) {
|
||||
["name"]=>
|
||||
string(12) "setTimestamp"
|
||||
["class"]=>
|
||||
string(8) "DateTime"
|
||||
}
|
||||
[16]=>
|
||||
&object(ReflectionMethod)#%d (2) {
|
||||
object(ReflectionMethod)#%d (2) {
|
||||
["name"]=>
|
||||
string(12) "getTimestamp"
|
||||
["class"]=>
|
||||
string(8) "DateTime"
|
||||
}
|
||||
[17]=>
|
||||
&object(ReflectionMethod)#%d (2) {
|
||||
object(ReflectionMethod)#%d (2) {
|
||||
["name"]=>
|
||||
string(4) "diff"
|
||||
["class"]=>
|
||||
|
||||
Reference in New Issue
Block a user