From: Jani Taskinen Date: Wed, 20 Aug 2008 01:11:06 +0000 (+0000) Subject: MFH: test for bug #42737 X-Git-Tag: php-5.2.7RC1~94 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=244b57f27265bf2ebb73a121aef77ee9d46ba591;p=php MFH: test for bug #42737 --- diff --git a/ext/pcre/tests/bug42737.phpt b/ext/pcre/tests/bug42737.phpt new file mode 100644 index 0000000000..8d9dd52b31 --- /dev/null +++ b/ext/pcre/tests/bug42737.phpt @@ -0,0 +1,19 @@ +--TEST-- +Bug #42737 (preg_split('//u') triggers a E_NOTICE with newlines) +--FILE-- + +--EXPECT-- +array(2) { + [0]=> + int(13) + [1]=> + int(10) +}