summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2007-08-13 21:20:18 +0000
committerStanislav Malyshev <stas@php.net>2007-08-13 21:20:18 +0000
commit848b1cbb9115258052943863c8b34134d6dd2e3d (patch)
tree60e118e9a4141d90ddfa790b7eec344680a9fb45
parentc8f090c13ee5c2aa28b87f16dde528c0dfa4b27f (diff)
downloadphp-git-848b1cbb9115258052943863c8b34134d6dd2e3d.tar.gz
revert variable class support for 5.2
-rw-r--r--tests/lang/041.phpt20
-rw-r--r--tests/lang/042.phpt19
-rw-r--r--tests/lang/043.phpt19
-rw-r--r--tests/lang/044.phpt21
4 files changed, 0 insertions, 79 deletions
diff --git a/tests/lang/041.phpt b/tests/lang/041.phpt
deleted file mode 100644
index 930e912f6d..0000000000
--- a/tests/lang/041.phpt
+++ /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
index 4e29d4afba..0000000000
--- a/tests/lang/042.phpt
+++ /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
index d3cd6c163e..0000000000
--- a/tests/lang/043.phpt
+++ /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
index 1fb48b0b54..0000000000
--- a/tests/lang/044.phpt
+++ /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