]> granicus.if.org Git - php/commitdiff
- Fixed tests
authorFelipe Pena <felipe@php.net>
Wed, 25 Jun 2008 22:51:53 +0000 (22:51 +0000)
committerFelipe Pena <felipe@php.net>
Wed, 25 Jun 2008 22:51:53 +0000 (22:51 +0000)
Zend/tests/is_a.phpt
Zend/tests/magic_by_ref_008.phpt
Zend/tests/magic_by_ref_009.phpt

index f11f884fa96344e46d2f0d5ae8a4f7c4455207ca..a074194c4d446e290c57d03e9fdc6be3af05875e 100755 (executable)
@@ -30,17 +30,10 @@ var_dump(is_subclass_of($a, "INT"));
 
 var_dump(is_subclass_of("X1", "X2"));
 ?>
---EXPECTF--
-Deprecated: Function is_a() is deprecated in %sis_a.php on line 17
+--EXPECT--
 bool(false)
-
-Deprecated: Function is_a() is deprecated in %sis_a.php on line 18
 bool(true)
-
-Deprecated: Function is_a() is deprecated in %sis_a.php on line 19
 bool(true)
-
-Deprecated: Function is_a() is deprecated in %sis_a.php on line 20
 bool(true)
 bool(false)
 bool(false)
index 1de2d6b461d4715274c2da6e574135d9f8c18c5e..c67f8d373d4a422813ab74091a09f7fe416f4666 100644 (file)
@@ -4,7 +4,7 @@ passing first parameter of __callstatic() by ref
 <?php
 
 class test {
-    function __callstatic(&$name, $args) { }
+    static function __callstatic(&$name, $args) { }
 }
 
 $t = new test;
index 93bd17dae57b7195add715e558b6971fb2eb1ea7..4028eeddfce622acb5dcb2895020712ed76da028 100644 (file)
@@ -4,7 +4,7 @@ passing second parameter of __callstatic() by ref
 <?php
 
 class test {
-    function __callstatic($name, &$args) { }
+    static function __callstatic($name, &$args) { }
 }
 
 $t = new test;