source: src/router/php7/ext/mbstring/tests/bug73646.phpt @ 31874

Last change on this file since 31874 was 31874, checked in by brainslayer, 3 months ago

update php

File size: 275 bytes
Line 
1--TEST--
2Bug #73646 (mb_ereg_search_init null pointer dereference)
3--FILE--
4<?php
5
6$v1=str_repeat("#", -1);
7var_dump(mb_ereg_search_init($v1));
8?>
9--EXPECTF--
10Warning: str_repeat(): Second argument has to be greater than or equal to 0 in %sbug73646.php on line %d
11bool(true)
Note: See TracBrowser for help on using the repository browser.