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? Quote 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(", "); Quote 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. Quote 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. Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.