|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-09-18 17:35 UTC] shire@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 08 09:00:01 2025 UTC |
Description: ------------ When apc_compile_file() is attempted on a file with parse errors, the function doesn't return false but instead exits the process. Reproduce code: --------------- <?php file_put_contents($n = tempnam("/tmp", "FOO"),'<?php a(; ?>'); var_dump(@apc_compile_file($n)); echo "Done\n"; ?> Expected result: ---------------- bool(false) Done Actual result: -------------- [Wed Sep 12 15:30:32 2007] [apc-error] Error compiling /tmp/FOOLropkc in apc_compile_file.