diff options
author | Jay Smith <jay@php.net> | 2003-06-06 19:00:48 +0000 |
---|---|---|
committer | Jay Smith <jay@php.net> | 2003-06-06 19:00:48 +0000 |
commit | 0efbd4f9259e1872d7ce7fea088741bc822a7c5e (patch) | |
tree | 085b045e8f1952f491aa824497c12d68c924ec91 | |
parent | 797654bde76935200a2402c25637b68e4ff7d0b6 (diff) | |
download | php-git-0efbd4f9259e1872d7ce7fea088741bc822a7c5e.tar.gz |
Namespaces are gone, and so is this test.
-rw-r--r-- | tests/lang/namespace_001.phpt | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/tests/lang/namespace_001.phpt b/tests/lang/namespace_001.phpt deleted file mode 100644 index 4d42ecf377..0000000000 --- a/tests/lang/namespace_001.phpt +++ /dev/null @@ -1,31 +0,0 @@ ---TEST-- -ZE2 namespaces ---SKIPIF-- -<?php if (version_compare(zend_version(), '2.0.0-dev', '<')) die('skip ZendEngine 2 needed'); ?> ---FILE-- -<?php - -namespace Foo { - var $bar; - - function SomeFunction() { - echo "I'm Foo::SomeFunction()! Foo::\$bar is set to: " . Foo::$bar; - } - - class SomeClass { - function __construct() { - echo "I'm Foo::SomeClass::__construct()!\n"; - echo Foo::$bar; - } - } -} - -Foo::$bar = "I'm Foo::\$bar!\n"; -Foo::SomeFunction(); -$someClass = new Foo::SomeClass; - -?> ---EXPECT-- -I'm Foo::SomeFunction()! Foo::$bar is set to: I'm Foo::$bar! -I'm Foo::SomeClass::__construct()! -I'm Foo::$bar! |