note 51710 deleted from language.oop5.magic by felipe
| From: | felipe@php.net | Date: | Sun, 30 Dec 2007 21:41:11 +0000 |
| Subject: | note 51710 deleted from language.oop5.magic by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-134550@lists.php.net to get a copy of this message | ||
Note Submitter: Gedoon-S
----
I just thought it was worth mentioning that __toString works also with <?= $class ?>. It calls
__toString and echoes what was returned just like <?php echo $class; ?> does, but it's
shorter.