summaryrefslogtreecommitdiff
path: root/Zend/tests/ns_054.phpt
diff options
context:
space:
mode:
authorSVN Migration <svn@php.net>2008-12-03 20:30:45 +0000
committerSVN Migration <svn@php.net>2008-12-03 20:30:45 +0000
commit2876046398950e59c3b3c460e67e6fec7ff2ba3c (patch)
tree33b2b8b4b859960a6446ad19d0ada1c55f9cfcda /Zend/tests/ns_054.phpt
parent3fb86b0b9e79e6a3312b694f30ee627e2e1b325c (diff)
downloadphp-git-php-5.3.0alpha2.tar.gz
This commit was manufactured by cvs2svn to create tag 'php_5_3_0alpha2'.php-5.3.0alpha2
Diffstat (limited to 'Zend/tests/ns_054.phpt')
-rwxr-xr-xZend/tests/ns_054.phpt12
1 files changed, 6 insertions, 6 deletions
diff --git a/Zend/tests/ns_054.phpt b/Zend/tests/ns_054.phpt
index 54ab958611..0eb9e0448f 100755
--- a/Zend/tests/ns_054.phpt
+++ b/Zend/tests/ns_054.phpt
@@ -4,21 +4,21 @@
<?php if (!extension_loaded("spl")) die("skip SPL is no available"); ?>
--FILE--
<?php
-namespace test\ns1;
+namespace test::ns1;
-class Foo implements \SplObserver {
- function update(\SplSubject $x) {
+class Foo implements SplObserver {
+ function update(::SplSubject $x) {
echo "ok\n";
}
}
-class Bar implements \SplSubject {
- function attach(\SplObserver $x) {
+class Bar implements SplSubject {
+ function attach(::SplObserver $x) {
echo "ok\n";
}
function notify() {
}
- function detach(\SplObserver $x) {
+ function detach(::SplObserver $x) {
}
}
$foo = new Foo();