Class name resolution for \array::class

From: Date: Sun, 30 Sep 2018 23:30:36 +0000
Subject: Class name resolution for \array::class
Groups: php.internals 
Request: Send a blank email to internals+get-103290@lists.php.net to get a copy of this message
Currently, class name resolution supports all types except an array. https://3v4l.org/OXFMW In fact, it is syntactically invalid since the parser fails to recognize array::class as an array expression: Parse error: syntax error, unexpected 'array' (T_ARRAY), expecting > identifier (T_STRING) > https://3v4l.org/5IOoI Is possible to change the grammar to support array also? - Marcos

« previous php.internals (#103290) next »