summaryrefslogtreecommitdiff
path: root/Zend/tests/grammar/semi_reserved_005.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/grammar/semi_reserved_005.phpt')
-rw-r--r--Zend/tests/grammar/semi_reserved_005.phpt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Zend/tests/grammar/semi_reserved_005.phpt b/Zend/tests/grammar/semi_reserved_005.phpt
index 2cf7709b15..3e74024ecc 100644
--- a/Zend/tests/grammar/semi_reserved_005.phpt
+++ b/Zend/tests/grammar/semi_reserved_005.phpt
@@ -55,6 +55,7 @@ class Obj
const SWITCH = 'switch';
const YIELD = 'yield';
const FUNCTION = 'function';
+ const FN = 'fn';
const IF = 'if';
const ENDSWITCH = 'endswitch';
const FINALLY = 'finally';
@@ -131,6 +132,7 @@ echo Obj::CONTINUE, PHP_EOL;
echo Obj::SWITCH, PHP_EOL;
echo Obj::YIELD, PHP_EOL;
echo Obj::FUNCTION, PHP_EOL;
+echo Obj::FN, PHP_EOL;
echo Obj::IF, PHP_EOL;
echo Obj::ENDSWITCH, PHP_EOL;
echo Obj::FINALLY, PHP_EOL;
@@ -208,6 +210,7 @@ continue
switch
yield
function
+fn
if
endswitch
finally