Hi Kentaro,

The case you presented certainly confuses us very much. Although it is outside 
the scope of this discussion, it certainly seems like it would be better to 
improve it from a safety perspective.

BOOL probably has the most problems; for example, when you pass str, the 
boolean value will be false only in sqlite. This happens because str is 
converted to long and then to bool.

At least for this kind of behavior, I don't think it's necessary to maintain 
compatibility.

Regards.

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

Reply via email to