Re: Re: Should hash comments be deprecated?

From: Date: Fri, 21 Aug 2020 21:13:42 +0000
Subject: Re: Re: Should hash comments be deprecated?
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-111677@lists.php.net to get a copy of this message
Hi Andrea > There is a critical use-case for comments beginning with the hash > symbol, namely UNIX shebang lines. In theory we could special-case those > and disallow the symbol in every other use, but… well, that seems like a > bit of a shame. Correct me if I'm wrong, but the shebang goes before the PHP opening tag <?php and thus this is not relevant. In fact, shebang is already a special case. https://github.com/php/php-src/blob/f32653accc0fc2401aca91f9590272b8d95ef426/Zend/zend_language_scanner.l#L2155 Ilija

« previous php.internals (#111677) next »