note 64723 deleted from function.include by bjori
| From: | bjori@php.net | Date: | Thu, 20 Apr 2006 07:43:00 +0000 |
| Subject: | note 64723 deleted from function.include by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-108769@lists.php.net to get a copy of this message | ||
Note Submitter:
----
below example:
vars.php
<?php
$color = 'green';
$fruit = 'apple';
?>
test.php
<?php
echo "A $color $fruit"; // A
include 'vars.php';
echo "A $color $fruit"; // A green apple
?>
above example on my computer when running results :
vars.php test.php A green appleA green
apple.
Obviously
it's not right!
why ?