Recent content by Alexandr A

  1. A

    PHP classes behave themselves strangely?

    Hi. The code below outputs "firstsecond", although it means to output "firstfirst". I though that $a->d() and $a->q->c() are identical calls but it turns out that when calling a method d() from class b the variables have taken from class b. Why? How I am suppose to take $v from class a instead...
Back
Top