I've been looking at PHP 5.3 today, never really touched it before since prior to what I'm doing this moment, everything had to be reasonably compatible, which meant being less bleeding edge, but what I'm working on tonight is something I'm running myself so I thought I'd look at PHP 5.3.
Overall, vs 5.2 there's little there I think I'd use but it's nice to see some of what they're adding. What did catch my eye however, was this: http://uk2.php.net/manual/en/control-structures.goto.php
The picture at the bottom for one, but more relevantly, why the hell did PHP's devs think adding goto was a GOOD idea?! Seriously... I haven't yet found a situation in PHP where a goto would be the truly best answer.
I foresee this causing lots of bad mojo with PHP which it was doing so well at shaking off.
Overall, vs 5.2 there's little there I think I'd use but it's nice to see some of what they're adding. What did catch my eye however, was this: http://uk2.php.net/manual/en/control-structures.goto.php
The picture at the bottom for one, but more relevantly, why the hell did PHP's devs think adding goto was a GOOD idea?! Seriously... I haven't yet found a situation in PHP where a goto would be the truly best answer.
I foresee this causing lots of bad mojo with PHP which it was doing so well at shaking off.