[php-src] Issue #11018: Allow class constants in strings
From: KapitanOczywisty Date: Wed, 05 Apr 2023 10:50:14 +0000 Subject: [php-src] Issue #11018: Allow class constants in strings Groups: php.bugs Request: Send a blank email to php-bugs+get-244111@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/11018 Author: KapitanOczywisty ### Description Strings should allow class constants (andclass) https://3v4l.org/hTnNv ```php <?php echo "{$foo::$Bar}\n"; // ok echo "{$foo::Bar}\n"; // parse error echo "{$foo::class}\n"; // parse error ```
Thread (1 message)
| « previous | php.bugs (#244111) | next » |
|---|