]> granicus.if.org Git - php/commitdiff
Namespaces are gone, and so is this test.
authorJay Smith <jay@php.net>
Fri, 6 Jun 2003 19:00:48 +0000 (19:00 +0000)
committerJay Smith <jay@php.net>
Fri, 6 Jun 2003 19:00:48 +0000 (19:00 +0000)
tests/lang/namespace_001.phpt [deleted file]

diff --git a/tests/lang/namespace_001.phpt b/tests/lang/namespace_001.phpt
deleted file mode 100644 (file)
index 4d42ecf..0000000
+++ /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!