mirror of
https://github.com/php/php-src.git
synced 2026-04-27 01:48:26 +02:00
61a38bb274
As TYPE_CHECK is the only opcode where we do something like this, I'm adding this hack.
18 lines
297 B
PHP
18 lines
297 B
PHP
--TEST--
|
|
SCCP 030: TYPE_CHECK inferred from type inference info
|
|
--INI--
|
|
opcache.enable=1
|
|
opcache.enable_cli=1
|
|
opcache.optimization_level=-1
|
|
opcache.opt_debug_level=0
|
|
--SKIPIF--
|
|
<?php require_once('skipif.inc'); ?>
|
|
--FILE--
|
|
<?php
|
|
|
|
var_dump(is_string(sys_get_temp_dir()));
|
|
|
|
?>
|
|
--EXPECT--
|
|
bool(true)
|