Re: function return references to nothing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2016-02-26 3:47 GMT+05:00 Aziz Saleh <azizsaleh@xxxxxxxxx>:
> Is your code working as expected? In the second call it found matches when
> there are no keys matching "ddd"?


yes, I wanted to show that if not found leaf ['aaa', 'bbb', 'ddd']
then $found variable will be no initialized when function return by
reference nothing.




--
Best Regards,
Mike Gavrilov.

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




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux