>   - settype


AFAICS, there is no easy replacement for settype(). If the second argument is a 
string literal, you can use type coercion + assignment at the price of 
duplicating the occurrence of the first argument. If the second argument is not 
known at compile time, you have to resort to a switch statement or something 
similar.


>  - deprecate array function creation (array())

Here, I was really wondering why you didn’t mention function-like destructuring 
as well (list()). (Not that I think it is a good idea.)

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

Reply via email to