1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00
Files
archived-php-src/ext/mbstring/tests/bug73646.phpt
2021-06-11 14:00:43 +02:00

16 lines
385 B
PHP

--TEST--
Bug #73646 (mb_ereg_search_init null pointer dereference)
--EXTENSIONS--
mbstring
--SKIPIF--
<?php
if (!function_exists('mb_ereg')) die('skip mbregex support not available');
?>
--FILE--
<?php
var_dump(mb_ereg_search_init(NULL));
?>
--EXPECTF--
Deprecated: mb_ereg_search_init(): Passing null to parameter #1 ($string) of type string is deprecated in %s on line %d
bool(true)