xref: /PHP-8.2/ext/opcache/tests/bug65510.phpt (revision e9f783fc)
1--TEST--
2Bug #65510 (5.5.2 crashes in _get_zval_ptr_ptr_var)
3--INI--
4allow_url_include=1
5opcache.enable=1
6opcache.enable_cli=1
7--EXTENSIONS--
8opcache
9--FILE--
10<?php
11function parseQuery() {
12    $m = array("l", "a", "r", "u", "e", "n", "c", "e");
13    foreach($m as $n) {
14        @list($a, $b) = $n;
15    }
16}
17parseQuery();
18echo "ok\n";
19?>
20--EXPECT--
21Deprecated: Directive 'allow_url_include' is deprecated in Unknown on line 0
22ok
23