Re: function return references to nothing
| From: | Михаил Гаврилов | Date: | Fri, 26 Feb 2016 03:00:17 +0000 |
| Subject: | Re: function return references to nothing | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-325421@lists.php.net to get a copy of this message | ||
2016-02-26 3:47 GMT+05:00 Aziz Saleh <azizsaleh@gmail.com>:
> 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.