xref: /PHP-7.0/Zend/tests/bug67368.phpt (revision 9d49492f)
1--TEST--
2Bug #67368 (Memory leak with immediately dereferenced array in class constant)
3--INI--
4report_memleaks=1
5--FILE--
6<?php
7class FooBar {
8		const bar = ["bar" => 3]["bar"];
9}
10echo "okey";
11--EXPECTF--
12okey
13