cvs: ZendEngine2 /tests array_type_hint_001.phpt php-src/tests/classes type_hinting_001.phpt php-src/tests/lang bug24658.phpt
catchable_error_001.phpt catchable_error_002.phpt type_hints_001.phpt
| From: | Dmitry Stogov | Date: | Fri, 16 Sep 2005 15:24:50 +0000 |
| Subject: | cvs: ZendEngine2 /tests array_type_hint_001.phpt php-src/tests/classes type_hinting_001.phpt php-src/tests/lang bug24658.phpt catchable_error_001.phpt catchable_error_002.phpt type_hints_001.phpt |
||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-4133@lists.php.net to get a copy of this message | ||
dmitry Fri Sep 16 11:24:50 2005 EDT
Modified files:
/php-src/tests/classes type_hinting_001.phpt
/php-src/tests/lang bug24658.phpt catchable_error_001.phpt
catchable_error_002.phpt type_hints_001.phpt
/ZendEngine2/tests array_type_hint_001.phpt
Log:
Fixed tests
http://cvs.php.net/diff.php/php-src/tests/classes/type_hinting_001.phpt?r1=1.4&r2=1.5&ty=u
Index: php-src/tests/classes/type_hinting_001.phpt
diff -u php-src/tests/classes/type_hinting_001.phpt:1.4
php-src/tests/classes/type_hinting_001.phpt:1.5
--- php-src/tests/classes/type_hinting_001.phpt:1.4 Thu Sep 15 12:19:48 2005
+++ php-src/tests/classes/type_hinting_001.phpt Fri Sep 16 11:24:50 2005
@@ -35,4 +35,4 @@
?>
--EXPECTF--
-Catchable fatal error: Argument 1 must implement interface Foo, called in %s on line 27 and defined
in %s on line 12
+Catchable fatal error: Argument 1 passed to FooBar::a() must implement interface Foo, called in %s
on line 27 and defined in %s on line 12
http://cvs.php.net/diff.php/php-src/tests/lang/bug24658.phpt?r1=1.4&r2=1.5&ty=u
Index: php-src/tests/lang/bug24658.phpt
diff -u php-src/tests/lang/bug24658.phpt:1.4 php-src/tests/lang/bug24658.phpt:1.5
--- php-src/tests/lang/bug24658.phpt:1.4 Thu Sep 15 12:19:48 2005
+++ php-src/tests/lang/bug24658.phpt Fri Sep 16 11:24:50 2005
@@ -53,4 +53,4 @@
object(foo)#%d (0) {
}
-Catchable fatal error: Argument 1 must be an object of class foo in %s on line %d
+Catchable fatal error: Argument 1 passed to typehint() must be an object of class foo in %s on line
%d
http://cvs.php.net/diff.php/php-src/tests/lang/catchable_error_001.phpt?r1=1.1&r2=1.2&ty=u
Index: php-src/tests/lang/catchable_error_001.phpt
diff -u php-src/tests/lang/catchable_error_001.phpt:1.1
php-src/tests/lang/catchable_error_001.phpt:1.2
--- php-src/tests/lang/catchable_error_001.phpt:1.1 Thu Sep 15 12:20:06 2005
+++ php-src/tests/lang/catchable_error_001.phpt Fri Sep 16 11:24:50 2005
@@ -19,4 +19,4 @@
echo "ALIVE!\n";
?>
--EXPECTF--
-Catchable fatal error: Argument 1 must be an instance of Foo, called in %scatchable_error_001.php
on line 15 and defined in %scatchable_error_001.php on line 5
+Catchable fatal error: Argument 1 passed to blah() must be an instance of Foo, called in
%scatchable_error_001.php on line 15 and defined in %scatchable_error_001.php on line 5
http://cvs.php.net/diff.php/php-src/tests/lang/catchable_error_002.phpt?r1=1.1&r2=1.2&ty=u
Index: php-src/tests/lang/catchable_error_002.phpt
diff -u php-src/tests/lang/catchable_error_002.phpt:1.1
php-src/tests/lang/catchable_error_002.phpt:1.2
--- php-src/tests/lang/catchable_error_002.phpt:1.1 Thu Sep 15 12:20:06 2005
+++ php-src/tests/lang/catchable_error_002.phpt Fri Sep 16 11:24:50 2005
@@ -25,7 +25,7 @@
[0]=>
int(4096)
[1]=>
- string(%d) "Argument 1 must be an instance of Foo, called in %scatchable_error_002.php on
line 17 and defined"
+ string(%d) "Argument 1 passed to blah() must be an instance of Foo, called in
%scatchable_error_002.php on line 17 and defined"
[2]=>
string(%d) "%scatchable_error_002.php"
[3]=>
http://cvs.php.net/diff.php/php-src/tests/lang/type_hints_001.phpt?r1=1.4&r2=1.5&ty=u
Index: php-src/tests/lang/type_hints_001.phpt
diff -u php-src/tests/lang/type_hints_001.phpt:1.4 php-src/tests/lang/type_hints_001.phpt:1.5
--- php-src/tests/lang/type_hints_001.phpt:1.4 Thu Sep 15 12:19:48 2005
+++ php-src/tests/lang/type_hints_001.phpt Fri Sep 16 11:24:50 2005
@@ -23,4 +23,4 @@
?>
--EXPECTF--
-Catchable fatal error: Argument 1 must be an instance of Foo, called in %s on line 16 and defined
in %s on line 9
+Catchable fatal error: Argument 1 passed to type_hint_foo() must be an instance of Foo, called in
%s on line 16 and defined in %s on line 9
http://cvs.php.net/diff.php/ZendEngine2/tests/array_type_hint_001.phpt?r1=1.3&r2=1.4&ty=u
Index: ZendEngine2/tests/array_type_hint_001.phpt
diff -u ZendEngine2/tests/array_type_hint_001.phpt:1.3
ZendEngine2/tests/array_type_hint_001.phpt:1.4
--- ZendEngine2/tests/array_type_hint_001.phpt:1.3 Thu Sep 15 12:19:43 2005
+++ ZendEngine2/tests/array_type_hint_001.phpt Fri Sep 16 11:24:50 2005
@@ -12,4 +12,4 @@
--EXPECTF--
3
-Catchable fatal error: Argument 1 must be an array, called in %sarray_type_hint_001.php on line 7
and defined in %sarray_type_hint_001.php on line 2
+Catchable fatal error: Argument 1 passed to foo() must be an array, called in
%sarray_type_hint_001.php on line 7 and defined in %sarray_type_hint_001.php on line 2