Re: Strange behavior with parser/methods?
| From: | Richard Lynch | Date: | Thu, 08 Feb 2001 08:16:01 +0000 |
| Subject: | Re: Strange behavior with parser/methods? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-38702@lists.php.net to get a copy of this message | ||
> That is, we can have
> $TestObject->mTestMember = create_function('','echo
> "TestMember<br>";');
> but we can't do
> $TestObject->mTestMember();
>
> Can I get around this using clever placement of {}'s or ()'s?
Wild Guess:
{$TestObject->mTestMember}();
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm