Re: Class Auto-Assigning to Variable
| From: | Brian Smither | Date: | Wed, 07 Aug 2013 19:45:28 +0000 |
| Subject: | Re: Class Auto-Assigning to Variable | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-321809@lists.php.net to get a copy of this message | ||
>I cannot replicate this.
I don't expect anyone to be able to replicate this behavior. The example shows an
extraordinarily stripped-down sequence of statements that informs what should work, but do to some
unknown agent, which, therefore, cannot be included in the example, produces unexpected output.
This conceptual example is not a 'sample' or 'excerpt' of the actual
application. There is much, much more code. None of it is an apparent likely suspect in causing this
behavior.
I am hoping for a, "Oh, yeah! I've seen that happen before. It's caused by..."
Let us focus on the central question:
Would there be a PHP function that would do [what the example describes] as a side-effect?