Den 2017-11-18 kl. 10:17, skrev Sara Golemon:
https://3v4l.org/kRON7

https://github.com/php/php-src/commit/f00d1c72b4dbaf3532569d20efc1da7c408605d6

The above patch optimizes calls to gettype() into an opcode, however the 
strings returned for closed resources has changed relative to 7.1 and earlier.

The newer output is objectively better, but it's technically a BC break.

Was this intentional, and are we fine letting this change stand?

-Sara
It's intentional and in my eyes it should stand.

Alternative to write an RFC and / or wait for 8.0 seems a bit
more far fetched.

r//Björn Larsson

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to