diff options
| author | Bob Weinand <bobwei9@hotmail.com> | 2015-05-25 18:38:40 +0200 |
|---|---|---|
| committer | Bob Weinand <bobwei9@hotmail.com> | 2015-05-25 18:38:40 +0200 |
| commit | 886cbea94f7f823f5b7afbbafe023a9068f069e5 (patch) | |
| tree | 7eaa8f7476aa704c69a72ad951e1afe7ae46ecd1 /tests/basic | |
| parent | 18cd4b17cc66df57d7806b7b574aff0f518aabf4 (diff) | |
| parent | c2f3091b987dd7e0fc7a5400dca2395c3eb25d9f (diff) | |
| download | php-git-886cbea94f7f823f5b7afbbafe023a9068f069e5.tar.gz | |
Merge context sensitive lexer RFC
Diffstat (limited to 'tests/basic')
| -rw-r--r-- | tests/basic/bug51709_1.phpt | 16 | ||||
| -rw-r--r-- | tests/basic/bug51709_2.phpt | 16 |
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 |
