Subject: | Script execution ends |
Date: | Thu, 14 Sep 2006 11:36:16 +0200 |
To: | bug-PHP-Include [...] rt.cpan.org |
From: | "Juga Paazmaya" <olavic [...] gmail.com> |
Hello,
I have:
perl, v5.8.8 built for linux
Linux tozd 2.6.17.9try3 #1 Tue Aug 22 09:16:41 UTC 2006 i686 athlon-4
i386 GNU/Linux
PHP-Include-0.2
While trying to run "test.pl":
-----------------------
#!/usr/bin/perl -w
use PHP::Include(DEBUG => 1);
include_php_vars('test.php');
print 'halloo';
------------------------
Using "test.php":
------------------------
<?php
$one = "two";
$five = 7;
?>
------------------------
The word "halloo" does not print out.
If I comment include_php_vars out, using #, it is still included
except now getting error:
Unterminated <> operator at ./test.pl line 6.
whereas the commented line is number 5.
So it seems that the variables are indeed included, but the script
does not continue prosessing after the variable inclusion.
Jukka Paasonen