Re: Question about adding !function_identifier

From: Date: Wed, 03 Apr 2019 20:24:18 +0000
Subject: Re: Question about adding !function_identifier
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.internals 
Request: Send a blank email to internals+get-105063@lists.php.net to get a copy of this message
Hello, I don't really see the point of it as you self said this wouldn't add a runtime check, so in what is it different to a comment? More so reusing ! for this will, in my opinion, just lead to confusion as people will think it negates the function, this is what I would expect it to do at first glance. Also comparing it to the nullable question mark is quite bizarre I find, why not choose the ampersand for references instead? At least it would cover the same "scope", as types have nothing to do with how a function behaves. Best regards George P. Banyard

« previous php.internals (#105063) next »