cvs: ZendEngine2 /tests is_a.phpt magic_by_ref_008.phpt magic_by_ref_009.phpt
"Felipe Pena" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.zend |
|---|---|
| Message-ID | <cvsfelipe1214434313@cvsserver> |
felipe Wed Jun 25 22:51:53 2008 UTC
Modified files:
/ZendEngine2/tests is_a.phpt magic_by_ref_008.phpt
magic_by_ref_009.phpt
Log:
- Fixed tests
http://cvs.php.net/viewvc.cgi/ZendEngine2/tests/is_a.phpt?r1=1.6&r2=1.7&diff_format=u
Index: ZendEngine2/tests/is_a.phpt
diff -u ZendEngine2/tests/is_a.phpt:1.6 ZendEngine2/tests/is_a.phpt:1.7
--- ZendEngine2/tests/is_a.phpt:1.6 Sat May 24 15:13:08 2008
+++ ZendEngine2/tests/is_a.phpt Wed Jun 25 22:51:53 2008
@@ -30,17 +30,10 @@
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)
http://cvs.php.net/viewvc.cgi/ZendEngine2/tests/magic_by_ref_008.phpt?r1=1.2&r2=1.3&diff_format=u
Index: ZendEngine2/tests/magic_by_ref_008.phpt
diff -u ZendEngine2/tests/magic_by_ref_008.phpt:1.2 ZendEngine2/tests/magic_by_ref_008.phpt:1.3
--- ZendEngine2/tests/magic_by_ref_008.phpt:1.2 Mon May 26 14:33:43 2008
+++ ZendEngine2/tests/magic_by_ref_008.phpt Wed Jun 25 22:51:53 2008
@@ -4,7 +4,7 @@
<?php
class test {
- function __callstatic(&$name, $args) { }
+ static function __callstatic(&$name, $args) { }
}
$t = new test;
http://cvs.php.net/viewvc.cgi/ZendEngine2/tests/magic_by_ref_009.phpt?r1=1.2&r2=1.3&diff_format=u
Index: ZendEngine2/tests/magic_by_ref_009.phpt
diff -u ZendEngine2/tests/magic_by_ref_009.phpt:1.2 ZendEngine2/tests/magic_by_ref_009.phpt:1.3
--- ZendEngine2/tests/magic_by_ref_009.phpt:1.2 Mon May 26 14:33:43 2008
+++ ZendEngine2/tests/magic_by_ref_009.phpt Wed Jun 25 22:51:53 2008
@@ -4,7 +4,7 @@
<?php
class test {
- function __callstatic($name, &$args) { }
+ static function __callstatic($name, &$args) { }
}
$t = new test;
--
Zend Engine CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php