mirror of
https://github.com/php/php-src.git
synced 2026-04-05 07:02:33 +02:00
All these tests are meant to run with OPcache available, and some will even fail inevitably without it, so we add OPcache as SKIPIF requirement.
25 lines
447 B
PHP
25 lines
447 B
PHP
--TEST--
|
|
Bug #75893: file_get_contents $http_response_header variable bugged with opcache
|
|
--INI--
|
|
opcache.enable_cli=1
|
|
track_errors=1
|
|
--SKIPIF--
|
|
<?php require_once('skipif.inc'); ?>
|
|
--FILE--
|
|
<?php
|
|
|
|
function test() {
|
|
echo $undef;
|
|
$foo = $php_errormsg;
|
|
var_dump($foo[0]);
|
|
}
|
|
|
|
test();
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
|
|
|
|
Notice: Undefined variable: undef in %s on line %d
|
|
string(1) "U"
|