Bug #12036: Error compiling if there is blank line before <?php
| From: | jimmi at sancerta dot com | Date: | Wed, 11 Jul 2001 07:36:12 +0000 |
| Subject: | Bug #12036: Error compiling if there is blank line before <?php | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-59657@lists.php.net to get a copy of this message | ||
From: jimmi@sancerta.com
Operating system: Red Hat Linux 7
PHP version: 4.0.4
PHP Bug Type: *Compile Issues
Bug description: Error compiling if there is blank line before <?php
Hi,
Do you know that if we have a blank line in top of code (before <?php) php
can't process that code ?
OK.. this's the code sample:
1. First lets write a code like this
-----------------------
<?php
print "bla..bla...";
?>
-----------------------
and of course it will running well
2. Lets add one blank line in the first line
-----------------------
<?php
print "bla..bla...";
?>
-----------------------
And this one will running well too
3. Lets add session feature
-----------------------
<?php
session_start();
print "bla..bla..";
?>
-----------------------
Ops.. we got an error here... !!!
I'm not sure my php version, maybe php4.0.1... i don't know... so i'm sorry
if this problem has been fixed in recent version
Best Regards
Jimmi A. Kembaren
--
Edit bug report at: http://bugs.php.net/?id=12036&edit=1