Edit report at http://bugs.php.net/bug.php?id=53671&edit=1

 ID:                 53671
 Updated by:         [email protected]
 Reported by:        dicugeorge1987 at yahoo dot com
 Summary:            if I lose the line 6 : var_dump($bar); i`ll get the
                     error
-Status:             Open
+Status:             Bogus
 Type:               Bug
 Package:            Scripting Engine problem
 Operating System:   Windows 7 64bit
 PHP Version:        5.3.4
 Block user comment: N
 Private report:     N

 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.




Previous Comments:
------------------------------------------------------------------------
[2011-01-06 16:07:56] dicugeorge1987 at yahoo dot com

Description:
------------
When I try that code does not work, but if I add on line 5 or 6
var_dump($bar) does not give me any error but the code does not work and
only var_dump  is working!

Test script:
---------------
<?php

$bar = <<<'EOD'

$foo is a variable 

EOD;

Expected result:
----------------
$foo is a variable

Actual result:
--------------
Parse error: syntax error, unexpected $end, expecting T_VARIABLE or
T_END_HEREDOC or T_DOLLAR_OPEN_CURLY_BRACES or T_CURLY_OPEN in
J:\webdev\apache\htdocs\salut2.php on line 4


------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=53671&edit=1

Reply via email to