xref: /php-src/tests/output/gh15179.phpt (revision 67ce8759)
1--TEST--
2GH-15179 (Segmentation fault (null pointer dereference) in ext/standard/url_scanner_ex.re)
3--CREDITS--
4YuanchengJiang
5--INI--
6memory_limit=64M
7--SKIPIF--
8<?php
9if (getenv("USE_ZEND_ALLOC") === "0") die("skip requires ZendMM");
10?>
11--FILE--
12<?php
13$var = str_repeat('a', 20 * 1024 * 1024);
14
15output_add_rewrite_var($var, $var);
16?>
17--EXPECTF--
18Fatal error: Allowed memory size of %d bytes exhausted %s
19