mirror of
https://github.com/php/php-src.git
synced 2026-04-21 23:18:13 +02:00
e9f783fcdd
For rationale, see #6787 Extensions migrated in part 3: * ftp * gmp * iconv * opcache * shmop
21 lines
396 B
PHP
21 lines
396 B
PHP
--TEST--
|
|
Preloading of the property info table with internal parent
|
|
--INI--
|
|
opcache.enable=1
|
|
opcache.enable_cli=1
|
|
opcache.optimization_level=-1
|
|
opcache.preload={PWD}/preload.inc
|
|
--EXTENSIONS--
|
|
opcache
|
|
--SKIPIF--
|
|
<?php
|
|
if (PHP_OS_FAMILY == 'Windows') die('skip Preloading is not supported on Windows');
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
$e = new MyException("foo");
|
|
echo $e->getMessage(), "\n";
|
|
?>
|
|
--EXPECT--
|
|
foo
|