note 19060 deleted from language.functions by googleguy
| From: | googleguy@php.net | Date: | Mon, 24 Aug 2015 10:00:56 +0000 |
| Subject: | note 19060 deleted from language.functions by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-203435@lists.php.net to get a copy of this message | ||
Note Submitter: fabio at city dot ac dot uk
----
As a corollary to other people's contributions in this section, you have to be careful when
transforming a piece of code in to a function (say F1). If this piece of code contains calls to
another function (say F2), then each variable used in F2 and defined in F1 must be declared as
GLOBAL both in F1 and F2. This is tricky.