summaryrefslogtreecommitdiff
path: root/ext/opcache/tests/bug76446.phpt
blob: dfb676f4baf321c00330f6600dd1da0b02396a24 (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 #76446 (zend_variables.c:73: zend_string_destroy: Assertion `!(zval_gc_flags((str)->gc)
--INI--
opcache.enable=1
opcache.enable_cli=1
opcache.optimization_level=-1
--SKIPIF--
<?php require_once('skipif.inc'); ?>
--FILE--
<?php
function test()
{
	$openmenu = '';
	$openstr2 = "&amp;openmenu={$openmenu}{$addlang}\"";
	return 0;
}

var_dump(test());
?>
--EXPECTF--
Notice: Undefined variable: addlang in %sbug76446.php on line %d
int(0)