|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2018-11-21 18:02 UTC] cmb@php.net
  [2018-11-22 11:26 UTC] benjamin dot morel at gmail dot com
  [2019-12-13 10:17 UTC] nikic@php.net
 
-Status: Open
+Status: Duplicate
  [2019-12-13 10:17 UTC] nikic@php.net
 | |||||||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 00:00:01 2025 UTC | 
Description: ------------ Even though it does not make sense to call opcache_compile_file() (i.e. attempting to run a preload script) on the CLI, it would make sense to add a specific error message. Currently I get a segfault: Test script: --------------- php -r "opcache_compile_file('test.php');" Expected result: ---------------- An error message Actual result: -------------- Segmentation fault (core dumped)