blob: 22099f6104fa72fc512eb74bad63df78174d3755 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--TEST--
Cannot access self::class when no class scope is active
--FILE--
<?php
var_dump(self::class);
?>
--EXPECTF--
Fatal error: Uncaught Error: Cannot use "self" when no class scope is active in %s:3
Stack trace:
#0 {main}
thrown in %s on line 3
|