xref: /PHP-8.2/Zend/tests/bug79919.phpt (revision 691ff9f8)
1--TEST--
2Bug #79919 (Stack use-after-scope in define())
3--INI--
4error_log=
5--EXTENSIONS--
6simplexml
7--FILE--
8<?php
9$b = error_log(0);
10$b = simplexml_load_string('<xml/>', null, $b);
11define(0, $b);
12?>
13--EXPECT--
140
15