summaryrefslogtreecommitdiff
path: root/Zend/tests/bug79919.phpt
blob: c1357226755c788c959dd4c6a968a0438028928f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--TEST--
Bug #79919 (Stack use-after-scope in define())
--SKIPIF--
<?php
if (!extension_loaded('simplexml')) die('skip simplexml extension not available');
?>
--FILE--
<?php
$b = error_log(0);
$b = simplexml_load_string('<xml/>', null, $b);
define(0, $b);
?>
--EXPECT--
0