Returnng Object

php.internals

Chris Cranford

21 years ago
I have been able to create objects in a function call in my extension and use them in my php page; however I would rather do something like: $myobj = myfunc(); echo $myobj->property; How am I suppose to return an object from a function?