note 73196 deleted from function.include by danbrown
| From: | danbrown@php.net | Date: | Mon, 18 May 2009 01:00:27 +0000 |
| Subject: | note 73196 deleted from function.include by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-155466@lists.php.net to get a copy of this message | ||
Note Submitter: anon
----
Be careful using the <?= / ?> start and end tags with include / require.
A lovely feature/bug/misunderstanding meant that the result of
<?=include(filename)?>
was to get the contents of the file, suffixed with a '1'. I can only assume that the one
is the return code of the include.
hopefully my pain can help somebody else :D
cheers,
coldflame