xref: /PHP-7.4/ext/opcache/tests/bug65510.phpt (revision b3f74b0b)
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--SKIPIF--
8<?php require_once('skipif.inc'); ?>
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--EXPECT--
20Deprecated: Directive 'allow_url_include' is deprecated in Unknown on line 0
21ok
22