note 17821 added to function.virtual
| From: | php-general at lists dot php dot net | Date: | Thu, 27 Dec 2001 05:55:30 +0000 |
| Subject: | note 17821 added to function.virtual | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-23855@lists.php.net to get a copy of this message | ||
The 'virtual' include *does* seem to properly parse php script that is written within the
file being included (contrary to the manpage). eg:
test.php:
<?php @virtual ("/footer.php"); ?>
footer.php:
<?php echo "hallo" ?>
When test.php is called, it will echo "hallo".
Did I miss something? :)
--
http://www.php.net/manual/en/function.virtual.php
http://master.php.net/manage/user-notes.php?action=edit+17821
http://master.php.net/manage/user-notes.php?action=delete+17821
http://master.php.net/manage/user-notes.php?action=reject+17821