note 22805 deleted from functions by zak

From: Date: Tue, 02 Jul 2002 19:11:30 +0000
Subject: note 22805 deleted from functions by zak
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-32518@lists.php.net to get a copy of this message
function bla() { $str[0] = "zero"; $str[1] = "one"; return $str; } $hello = bla(); echo $hello[1]; why does echo returns an empty string?? any help much appreciated

« previous php.notes (#32518) next »