summaryrefslogtreecommitdiff
path: root/ext/opcache/tests/bug75893.phpt
blob: 670993c50c2019371896828532b21f56507d9faa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--TEST--
Bug #75893: file_get_contents $http_response_header variable bugged with opcache
--INI--
opcache.enable_cli=1
track_errors=1
--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"