Mchl Posted December 9, 2009 Share Posted December 9, 2009 Primitive types actually being objects as in Ruby would be great. Aren't SPL types something along these lines? Link to comment https://forums.phpfreaks.com/topic/182665-future-of-php/page/2/#findComment-974013 Share on other sites More sharing options...
448191 Posted December 9, 2009 Share Posted December 9, 2009 Not unless you can now do "foo, bar"->explode(", "); Link to comment https://forums.phpfreaks.com/topic/182665-future-of-php/page/2/#findComment-974022 Share on other sites More sharing options...
Mchl Posted December 9, 2009 Share Posted December 9, 2009 Ah ok. I see what you mean now. Link to comment https://forums.phpfreaks.com/topic/182665-future-of-php/page/2/#findComment-974028 Share on other sites More sharing options...
Daniel0 Posted December 9, 2009 Share Posted December 9, 2009 One way they could do it without breaking BC is by implementing the automatic boxing/unboxing of primitives like in Java. There are already classes like SplBool. Link to comment https://forums.phpfreaks.com/topic/182665-future-of-php/page/2/#findComment-974041 Share on other sites More sharing options...
Brandon_R Posted December 9, 2009 Share Posted December 9, 2009 There is definitely a future for PHP. I see many new OOP features added onto it as the current is quite young. Link to comment https://forums.phpfreaks.com/topic/182665-future-of-php/page/2/#findComment-974380 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.