Girgias / php-rfc-bool-string-deprecation

PHP RFC to deprecate boolean to string coercion
1 stars 1 forks source link

Coercion code paths #3

Open iluuu1994 opened 3 years ago

iluuu1994 commented 3 years ago

All these functions use the coercion of zvals to string. We need to figure out where the deprecation is relevant (where it can occur) and where it is intended.

Girgias commented 3 years ago

For zend_get_callable_name_ex() I don't think it can ever be anything else other than string/array/object, probably would want to replace the default branch. Spoiler I was wrong