monkeybidz Posted September 30, 2007 Share Posted September 30, 2007 Can this $msg[] be passed as is and = $msg[] when passed or will it just =$msg? Link to comment https://forums.phpfreaks.com/topic/71205-passing-variable-with-brackets/ Share on other sites More sharing options...
Barand Posted September 30, 2007 Share Posted September 30, 2007 $msg[] is meaningless unless you are assigning a value to it. $msg[] = 'Some value'; In which case it is equivalent to array_push($msg,'Some value'); Link to comment https://forums.phpfreaks.com/topic/71205-passing-variable-with-brackets/#findComment-358176 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.