On 03.01.2022 01:13, Jordan LeDoux wrote:
https://wiki.php.net/rfc/user_defined_operator_overloads. The voting will
close on 2022-01-17.
- what is the performance impact?
- why "[public] operator" and not "operator function"?
- what about precedence, i.e. what happens with $a + $b * $c? there's no
clear answer
- why not allow the tilde operator to be used in a different context?,
e.g. in PostgreSQL it is used as a regular expression match, e.g.
$a ~ '^[a-z]+$'
- the Implied Operators table does not mention ~= operation.
- I don't like the Reflection API changes
--
Aleksander Machniak
Kolab Groupware Developer [https://kolab.org]
Roundcube Webmail Developer [https://roundcube.net]
----------------------------------------------------
PGP: 19359DC1 # Blog: https://kolabian.wordpress.com
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php