com php-src: Add class to semi_reserved tests: NEWS Z end/tests/grammar/semi_reserved_001.phpt Zend/tes ts/grammar/semi_reserved_002.phpt

From: Date: Mon, 25 May 2015 21:07:37 +0000
Subject: com php-src: Add class to semi_reserved tests: NEWS Z end/tests/grammar/semi_reserved_001.phpt Zend/tes ts/grammar/semi_reserved_002.phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-86927@lists.php.net to get a copy of this message
Commit: 8cd62071abc3defd8d5f9a2dc3a788d8692af3c0 Author: Bob Weinand <bobwei9@hotmail.com> Mon, 25 May 2015 23:07:37 +0200 Parents: e67a129ea670e65eed64002812f0b61a81205bdd Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8cd62071abc3defd8d5f9a2dc3a788d8692af3c0 Log: Add class to semi_reserved tests Changed paths: M NEWS M Zend/tests/grammar/semi_reserved_001.phpt M Zend/tests/grammar/semi_reserved_002.phpt Diff: diff --git a/NEWS b/NEWS index e2e0bf4..6ae7dc1 100644 --- a/NEWS +++ b/NEWS @@ -78,7 +78,7 @@ . Implemented the RFC Fix "foreach" behavior. (Dmitry) . Implemented the RFC Generator Delegation. (Bob) . Implemented the RFC Anonymous Class Support. (Joe, Nikita, Dmitry) - . Implemented the RFC Context Sensitive Lexer. (Marc Almada) + . Implemented the RFC Context Sensitive Lexer. (Marcio Almada) . Fixed bug #69511 (Off-by-one buffer overflow in php_sys_readlink). (Jan Starke, Anatol) diff --git a/Zend/tests/grammar/semi_reserved_001.phpt b/Zend/tests/grammar/semi_reserved_001.phpt index aa40249..c6bfd46 100644 --- a/Zend/tests/grammar/semi_reserved_001.phpt +++ b/Zend/tests/grammar/semi_reserved_001.phpt @@ -68,6 +68,7 @@ class Obj function static(){ echo __METHOD__, PHP_EOL; } function abstract(){ echo __METHOD__, PHP_EOL; } function final(){ echo __METHOD__, PHP_EOL; } + function class(){ echo __METHOD__, PHP_EOL; } } $obj = new Obj; @@ -135,6 +136,7 @@ $obj->private(); $obj->static(); $obj->abstract(); $obj->final(); +$obj->class(); echo "\nDone\n"; @@ -202,5 +204,6 @@ Obj::private Obj::static Obj::abstract Obj::final +Obj::class Done diff --git a/Zend/tests/grammar/semi_reserved_002.phpt b/Zend/tests/grammar/semi_reserved_002.phpt index 924e82a..b2c2002 100644 --- a/Zend/tests/grammar/semi_reserved_002.phpt +++ b/Zend/tests/grammar/semi_reserved_002.phpt @@ -68,6 +68,7 @@ class Obj static function static(){ echo __METHOD__, PHP_EOL; } static function abstract(){ echo __METHOD__, PHP_EOL; } static function final(){ echo __METHOD__, PHP_EOL; } + static function class(){ echo __METHOD__, PHP_EOL; } } Obj::empty(); @@ -133,6 +134,7 @@ Obj::private(); Obj::static(); Obj::abstract(); Obj::final(); +Obj::class(); echo "\nDone\n"; @@ -200,5 +202,6 @@ Obj::private Obj::static Obj::abstract Obj::final +Obj::class Done

« previous php.cvs (#86927) next »