Hi,

On Monday 24 July 2006 17:52, Rishad Omar wrote:
>     getArray($p = array());

Here you are relying on undefined behavior. It is not defined wether $p = 
array() or the function call getarray($p) should be executed first so the 
order might always change.

You should always use the two lines
     $p = array();
     getArray($p);
to be safe.

johannes

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to