xref: /PHP-7.2/ext/opcache/tests/bug75893.phpt (revision 75bc3446)
1--TEST--
2Bug #75893: file_get_contents $http_response_header variable bugged with opcache
3--INI--
4opcache.enable_cli=1
5track_errors=1
6--SKIPIF--
7<?php require_once('skipif.inc'); ?>
8--FILE--
9<?php
10
11function test() {
12    echo $undef;
13    $foo = $php_errormsg;
14    var_dump($foo[0]);
15}
16
17test();
18
19?>
20--EXPECTF--
21Deprecated: Directive 'track_errors' is deprecated in Unknown on line 0
22
23Notice: Undefined variable: undef in %s on line %d
24string(1) "U"
25