Annotation of embedaddon/php/ext/mbstring/tests/empty_pattern.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: Check for empty pattern
! 3: --SKIPIF--
! 4: <?php extension_loaded('mbstring') or die('skip mbstring not available'); ?>
! 5: --FILE--
! 6: <?php
! 7:
! 8: mb_ereg_search_init("","","");
! 9: mb_split("","");
! 10: mb_ereg_search_regs();
! 11:
! 12: ?>
! 13: --EXPECTF--
! 14: Warning: mb_ereg_search_init(): Empty pattern in %s on line %d
! 15:
! 16: Warning: mb_split(): Empty regular expression in %s on line %d
! 17:
! 18: Warning: mb_ereg_search_regs(): No regex given in %s on line %d
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>