|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-04-06 03:56 UTC] val@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 13 21:00:01 2025 UTC |
Description: ------------ When bcompiler_write_file is pointed to a non-existant source file (the second parameter) it crashes PHP. Reproduce code: --------------- $fh = fopen("example.php", "w"); bcompiler_write_header($fh); bcompiler_write_file($fh, "non_existant_file.php"); bcompiler_write_footer($fh); fclose($fh); Expected result: ---------------- Error stating the source file does not exist / cannot be opened. Actual result: -------------- Crash