Skip to content

Commit 8a4c692

Browse files
committed
review: added assert for deprecation
1 parent 66489f6 commit 8a4c692

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Zend/tests/grammar/semi_reserved_005.phpt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
--TEST--
22
Test semi-reserved words as class constants
3-
--INI--
4-
error_reporting=E_ALL&~E_DEPRECATED
53
--FILE--
64
<?php
75

@@ -162,7 +160,9 @@ echo Obj::__NAMESPACE__, PHP_EOL;
162160

163161
echo "\nDone\n";
164162
?>
165-
--EXPECT--
163+
--EXPECTF--
164+
Deprecated: Declaring class constant called 'namespace' is deprecated in %s on line %d
165+
166166
empty
167167
callable
168168
trait

0 commit comments

Comments
 (0)