mirror of
https://github.com/php/php-src.git
synced 2026-04-29 11:13:36 +02:00
14c42c6961
If the property info comes from an internal parent, we won't have an xlat entry for it. Leave it alone in that case.
20 lines
401 B
PHP
20 lines
401 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
|
|
--SKIPIF--
|
|
<?php
|
|
require_once('skipif.inc');
|
|
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
|