]> granicus.if.org Git - php/commitdiff
revert variable class support for 5.2
authorStanislav Malyshev <stas@php.net>
Mon, 13 Aug 2007 21:20:18 +0000 (21:20 +0000)
committerStanislav Malyshev <stas@php.net>
Mon, 13 Aug 2007 21:20:18 +0000 (21:20 +0000)
tests/lang/041.phpt [deleted file]
tests/lang/042.phpt [deleted file]
tests/lang/043.phpt [deleted file]
tests/lang/044.phpt [deleted file]

diff --git a/tests/lang/041.phpt b/tests/lang/041.phpt
deleted file mode 100644 (file)
index 930e912..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
---TEST--
-Dynamic access of static members
---FILE--
-<?php
-class A {
-    public    static $b = 'foo';
-}
-
-$classname       =  'A';
-$wrongClassname  =  'B';
-
-echo $classname::$b."\n";
-echo $wrongClassname::$b."\n";
-
-?> 
-===DONE===
---EXPECTF--
-foo
-
-Fatal error: Class 'B' not found in %s041.php on line %d
diff --git a/tests/lang/042.phpt b/tests/lang/042.phpt
deleted file mode 100644 (file)
index 4e29d4a..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
---TEST--
-Dynamic access of constants
---FILE--
-<?php
-class A {
-    const B = 'foo';
-}
-
-$classname       =  'A';
-$wrongClassname  =  'B';
-
-echo $classname::B."\n";
-echo $wrongClassname::B."\n";
-?> 
-===DONE===
---EXPECTF--
-foo
-
-Fatal error: Class 'B' not found in %s042.php on line %d
diff --git a/tests/lang/043.phpt b/tests/lang/043.phpt
deleted file mode 100644 (file)
index d3cd6c1..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
---TEST--
-Dynamic call for static methods
---FILE--
-<?php
-class A {
-    static function foo() { return 'foo'; }
-}
-
-$classname       =  'A';
-$wrongClassname  =  'B';
-
-echo $classname::foo()."\n";
-echo $wrongClassname::foo()."\n";
-?> 
-===DONE===
---EXPECTF--
-foo
-
-Fatal error: Class 'B' not found in %s043.php on line %d
diff --git a/tests/lang/044.phpt b/tests/lang/044.phpt
deleted file mode 100644 (file)
index 1fb48b0..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
---TEST--
-Dynamic call for static methods dynamically named
---FILE--
-<?php
-class A {
-    static function foo() { return 'foo'; }
-}
-$classname        =  'A';
-$wrongClassname   =  'B';
-
-$methodname       =  'foo';
-
-echo $classname::$methodname()."\n";
-
-echo $wrongClassname::$methodname()."\n";
-?> 
-===DONE===
---EXPECTF--
-foo
-
-Fatal error: Class 'B' not found in %s044.php on line %d