|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #66449 Syntax error generate Internal Server Error
Submitted: 2014-01-09 11:45 UTC Modified: 2014-01-09 12:19 UTC
From: smougel at idiway dot fr Assigned:
Status: Not a bug Package: Output Control
PHP Version: 5.5.7 OS: Gentoo
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: smougel at idiway dot fr
New email:
PHP Version: OS:


 [2014-01-09 11:45 UTC] smougel at idiway dot fr
Following the upgrade to PHP 5.5.7, a script error as $test = 'foo' ||'';, will generate a "Internal Server Error" if output_bufferring is enabled.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2014-01-09 12:19 UTC]
-Status: Open +Status: Not a bug
 [2014-01-09 12:19 UTC]
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at and the instructions on how to report
a bug at

This is deliberate. If there has been no output, PHP will send a HTTP 500 status to signal that something went wrong. PHP can not do this if out has already been sent, so you will only see this HTTP 500 error in case there was no output yet — and output buffering facilitates that.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Apr 01 20:03:35 2023 UTC