Link to home
Create AccountLog in
Avatar of Easyrider43
Easyrider43Flag for United States of America

asked on

explain why people do this

how do programmers write functions where they can call functions within other functions for example...

$className->functionName->anotherFunction->PassVariable('something');

is that even a class or am I looking at something wrong maybe its an array someone please explain this to me so I can get new ideas on coding..

Thanks Experts
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

Start your learning adventures here:
http://php.net/manual/en/language.oop5.php
ASKER CERTIFIED SOLUTION
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of Easyrider43

ASKER

very nice explanation, I love it.
Thanks for the points, ~Ray