Bug #69069 [Csd]: Unable to load class in output buffer handler after parse error

From: Date: Fri, 27 Aug 2021 15:54:48 +0000
Subject: Bug #69069 [Csd]: Unable to load class in output buffer handler after parse error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-236126@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69069&edit=1 ID: 69069 Updated by: cmb@php.net Reported by: david at grudl dot com Summary: Unable to load class in output buffer handler after parse error Status: Closed Type: Bug Package: Output Control PHP Version: 5.6.5 Assigned To: cmb Block user comment: N Private report: N New Comment: Thanks for the swift confirmation! Previous Comments: ------------------------------------------------------------------------ [2021-08-27 15:51:12] david at grudl dot com I can't reproduce it anymore either. ------------------------------------------------------------------------ [2021-08-25 15:48:27] cmb@php.net I cannot reproduce this with PHP-7.4. Is this still an issue with any of the actively supported PHP versions[1] for you? [1] <https://www.php.net/supported-versions.php> ------------------------------------------------------------------------ [2015-02-19 16:08:31] david at grudl dot com Parse error (in other file) generates and sends to output buffer string "PHP Parse error: syntax error etc. etc" and output buffer handler is unable to find class Environment (although is inside this class) and sends to output next error "PHP Fatal error: Class 'Environment' not found". ------------------------------------------------------------------------ [2015-02-18 07:06:34] rasmus@php.net I don't understand your bug description. You have your output_handler set to what? Generally if we can't compile the script, then we can't execute it. If you have a parse-error in your Test script, then there will be nothing to execute. ------------------------------------------------------------------------ [2015-02-18 05:13:11] david at grudl dot com parse-error.php file is any file containing parse error. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=69069 -- Edit this bug report at https://bugs.php.net/bug.php?id=69069&edit=1

« previous php.bugs (#236126) next »