Hi,

I'm trying to get the first element of a value returned by a function ..

== example ==
function return_Array() {
        return ('one', 'zwei', 'kolm', 'vier');
}

print return_Array()[0];
==/ example ==

Now i'd like this script to print 'one' for me .. can it be done without
creating a temporary variable?

Thanks,
Wouter

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to