it seems that I stumbled into a small bug that surfaces itself only in
larger application when I try to use an objects member as a parameter
to a function.
I made a smaller testcase, where this behaviour does not show itself -
but in my larger application it comes up.
If I try to call a method like this:
$this = userHasProfile($user->uid);
The method gets empty variable.
However if I assign the member first to a local variable:
$this = userHasProfile($a);
The method gets the variable value as supposed.
In normal php the application works without a hitch.
resin-interest mailing list