Would be very nice to have since PHP v5. Guys?
--- Maxim Maletsky [EMAIL PROTECTED] www.PHPBeginner.com // PHP for Beginners www.maxim.cx // my Home // my Wish List: ( Get me something! ) http://www.amazon.com/exec/obidos/registry/2IXE7SMI5EDI3 Adam Voigt <[EMAIL PROTECTED]> wrote... : > Ok, the other day a friend of mine showed me where you > could address a position in an array in perl, before you > even had the array returned. Essentially it would be > this in php: > > echo explode(",",$somearray)[0]; > > Which would give you the first position of what was returned > from the explode function without having to set it to a variable. > I know PHP doesn't support this, but my question is, are you > going to add it? I just ask because I have seen several cases > were I would have liked that ability but wasn't able to. > > Adam Voigt > [EMAIL PROTECTED] > > P.S. Thanks for PHP by the way, I hesitate to think about programming > without it. > > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php