mirror of
https://github.com/php/php-src.git
synced 2026-03-24 16:22:37 +01:00
For rationale, see #6787 Extensions migrated in part 3: * ftp * gmp * iconv * opcache * shmop
19 lines
446 B
PHP
19 lines
446 B
PHP
--TEST--
|
|
Parse error in preload script
|
|
--INI--
|
|
opcache.enable=1
|
|
opcache.enable_cli=1
|
|
opcache.optimization_level=-1
|
|
opcache.preload={PWD}/preload_parse_error.inc
|
|
--EXTENSIONS--
|
|
opcache
|
|
--SKIPIF--
|
|
<?php
|
|
if (PHP_OS_FAMILY == 'Windows') die('skip Preloading is not supported on Windows');
|
|
if (getenv('SKIP_ASAN')) die('xfail Startup failure leak');
|
|
?>
|
|
--FILE--
|
|
OK
|
|
--EXPECTF--
|
|
Parse error: syntax error, unexpected identifier "error" in %s on line %d
|