summaryrefslogtreecommitdiff
path: root/tests/basic
diff options
context:
space:
mode:
authorMárcio Almada <marcio3w@gmail.com>2015-03-07 02:29:16 -0300
committerMárcio Almada <marcio3w@gmail.com>2015-04-30 03:03:29 -0300
commita54e1237ec7d51e063f8bbf7c94241245573dd9e (patch)
tree96bbeacfc1e505c8f74910eca14a07aa92b08717 /tests/basic
parent972e94a24d46ccabb0b78623c1598c4998c26a76 (diff)
downloadphp-git-a54e1237ec7d51e063f8bbf7c94241245573dd9e.tar.gz
add tests for semi reserved words and remove obsolete ones
Diffstat (limited to 'tests/basic')
-rw-r--r--tests/basic/bug51709_1.phpt16
-rw-r--r--tests/basic/bug51709_2.phpt16
2 files changed, 0 insertions, 32 deletions
diff --git a/tests/basic/bug51709_1.phpt b/tests/basic/bug51709_1.phpt
deleted file mode 100644
index 3f2d544e54..0000000000
--- a/tests/basic/bug51709_1.phpt
+++ /dev/null
@@ -1,16 +0,0 @@
---TEST--
-Bug #51709 (Can't use keywords as method names)
---FILE--
-<?php
-
-class foo {
- static function for() {
- echo "1";
- }
-}
-
-?>
-===DONE===
-<?php exit(0); ?>
---EXPECTF--
-Parse error: syntax error, unexpected %s, expecting %s in %sbug51709_1.php on line %d
diff --git a/tests/basic/bug51709_2.phpt b/tests/basic/bug51709_2.phpt
deleted file mode 100644
index bb1f91cc4c..0000000000
--- a/tests/basic/bug51709_2.phpt
+++ /dev/null
@@ -1,16 +0,0 @@
---TEST--
-Bug #51709 (Can't use keywords as method names)
---FILE--
-<?php
-
-class foo {
- static function goto() {
- echo "1";
- }
-}
-
-?>
-===DONE===
-<?php exit(0); ?>
---EXPECTF--
-Parse error: syntax error, unexpected %s, expecting %s in %sbug51709_2.php on line %d