https://bugs.php.net/bug.php?id=65410
above feate bug my implement the syntax think, request master of PHP
internals developer help complete
my submit code learn the foreach
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have a situation where, for some unknown reason, where each class that
finishes its __contruct{} function, that class gets automatically assigned to a
variable - other than the variable I specify.
Conceptually:
class Hello { private $_world = 'World'; __construct(){} }
$clsHello = new Hello(
2013/8/7 Brian Smither
> I have a situation where, for some unknown reason, where each class that
> finishes its __contruct{} function, that class gets automatically assigned
> to a variable - other than the variable I specify.
>
> Conceptually:
>
> class Hello { private $_world = 'World'; __cons
Second go around:
I have a situation where, for some unknown reason, where each class that
finishes its __contruct{} function, that class gets automatically assigned to a
variable - other than the variable I specify.
Conceptually (a little bit better on the conceptualizing):
class Hello {
priv
On Wed, 2013-08-07 at 13:11 -0600, Brian Smither wrote:
> Second go around:
>
> I have a situation where, for some unknown reason, where each class that
> finishes its __contruct{} function, that class gets automatically assigned to
> a variable - other than the variable I specify.
>
> Concept
>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
On 7 Aug 2013, at 20:45, "Brian Smither" wrote:
>> 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, therefo
On Wed, 2013-08-07 at 21:02 +0100, Stuart Dallas wrote:
> On 7 Aug 2013, at 20:45, "Brian Smither" wrote:
>
> >> 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 info
> $hello = $clsHello;
If that conceptual statement (or any occurance of the conceptual $hello) were
in the code, then my (really good) Find feature of my code editor would have
found it.
> There are only a few variables that get assigned as side effects of
> functions, but they have very spe
>I have two dozen classes in this application. In every case, there will
>be a variable, the name of which is a lowercase variant of the class
>name, to which is assigned an instance of the class, when the class's
>construct() function completes. The example informs you of this.
>
Actually, as
>Your example does _not_ show this, it works
>as expected and throws a notice, from which can be inferred there is other
>code doing this
Or relevant code having a side-effect not currently realized.
>Is your class maybe inheriting from another one and that contains the code
>causing this issue?
On Wed, 2013-08-07 at 19:02 -0600, Brian Smither wrote:
> >Your example does _not_ show this, it works
> >as expected and throws a notice, from which can be inferred there is other
> >code doing this
>
> Or relevant code having a side-effect not currently realized.
No, you just didn't post rele
12 matches
Mail list logo