com php-src: Fixed test: ext/reflection/tests/ReflectionClass _getInterfaces_003.phpt
| From: | Dmitry Stogov | Date: | Sun, 02 Mar 2014 13:38:00 +0000 |
| Subject: | com php-src: Fixed test: ext/reflection/tests/ReflectionClass _getInterfaces_003.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-77823@lists.php.net to get a copy of this message | ||
Commit: 81271854e899ca888dbd538d4cfaf90ed5af9c4e
Author: Xinchen Hui <laruence@gmail.com> Sun, 2 Mar 2014 21:38:00 +0800
Parents: 30c20084d78e7a3c02d1b74ebda0975624d5f9bd
Branches: phpng
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=81271854e899ca888dbd538d4cfaf90ed5af9c4e
Log:
Fixed test
Changed paths:
M ext/reflection/tests/ReflectionClass_getInterfaces_003.phpt
Diff:
diff --git a/ext/reflection/tests/ReflectionClass_getInterfaces_003.phpt
b/ext/reflection/tests/ReflectionClass_getInterfaces_003.phpt
index bfe4835...f1cac44 100644
--- a/ext/reflection/tests/ReflectionClass_getInterfaces_003.phpt
+++ b/ext/reflection/tests/ReflectionClass_getInterfaces_003.phpt
@@ -34,13 +34,13 @@ var_dump($a);
An object is in an array and is referenced. As expected, var_dumping the array shows
'&':
array(1) {
[0]=>
- object(stdClass)#%d (0) {
+ &object(stdClass)#%d (0) {
}
}
Naturally, this remains true if we modify the object:
array(1) {
[0]=>
- object(stdClass)#%d (1) {
+ &object(stdClass)#%d (1) {
["x"]=>
int(1)
}
@@ -66,4 +66,4 @@ array(1) {
["x"]=>
int(1)
}
-}
\ No newline at end of file
+}