Hi all,

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:

$a=$user->uid;
$this = userHasProfile($a);

The method gets the variable value as supposed.

In normal php the application works without a hitch.

-huima


_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to