php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16388 empty output with "echo <<<..."
Submitted: 2002-04-02 05:34 UTC Modified: 2003-02-08 00:51 UTC
From: tp at thopre dot de Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.2.3 OS: Linux
Private report: No CVE-ID: None
 [2002-04-02 05:34 UTC] tp at thopre dot de
If you try to output nothing with this construct:

echo <<<END
END;

the output "hangs". that means no output at all is delivered with these statements and the page cannot be displayed.

If you insert a blank line to be echoed, like

echo <<<END

END;

then everything is OK

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-02 05:42 UTC] mfischer@php.net
Which browser?
 [2002-04-05 13:01 UTC] tp at thopre dot de
Browser was Mozilla 0.9.9
 [2002-06-06 20:22 UTC] sniper@php.net
Reproduced with latest CVS.

#0  0x403e9d40 in _efree (ptr=0x0, __zend_filename=0x404e2100 "/usr/src/web/php/php4/Zend/zend_hash.c",
    __zend_lineno=550, __zend_orig_filename=0x0, __zend_orig_lineno=0) at /usr/src/web/php/php4/Zend/zend_alloc.c:222
#1  0x40405a14 in zend_hash_destroy (ht=0x81ff314) at /usr/src/web/php/php4/Zend/zend_hash.c:550
#2  0x403fd899 in _zval_dtor (zvalue=0xbfffe040,
    __zend_filename=0x404e2ea0 "/usr/src/web/php/php4/Zend/zend_execute.c", __zend_lineno=1221)
    at /usr/src/web/php/php4/Zend/zend_variables.c:51
#3  0x4041041c in execute (op_array=0x81f9fc4) at /usr/src/web/php/php4/Zend/zend_execute.c:1221
#4  0x403ff904 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /usr/src/web/php/php4/Zend/zend.c:810

 [2003-02-08 00:50 UTC] sniper@php.net
Thank you for your bug report. This issue has already been fixed
in the latest released version of PHP, which you can download at 
http://www.php.net/downloads.php


 [2003-02-08 00:51 UTC] sniper@php.net
correct version..

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 23 00:00:03 2025 UTC