From: Felipe Pena Date: Fri, 15 Feb 2008 16:55:11 +0000 (+0000) Subject: Fix tests X-Git-Tag: RELEASE_2_0_0a1~459 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=74b3151540f95feec77c7236624446063c967577;p=php Fix tests --- diff --git a/ext/pcre/tests/bug42298.phpt b/ext/pcre/tests/bug42298.phpt index 156f35677c..d53fd97712 100644 --- a/ext/pcre/tests/bug42298.phpt +++ b/ext/pcre/tests/bug42298.phpt @@ -44,3 +44,36 @@ array(1) { string(4) "€ " } } +--UEXPECT-- +array(1) { + [0]=> + array(2) { + [0]=> + unicode(3) "A£" + [1]=> + unicode(2) "BC" + } +} +array(1) { + [0]=> + array(2) { + [0]=> + unicode(3) "A£" + [1]=> + unicode(2) "BC" + } +} +array(1) { + [0]=> + array(1) { + [0]=> + unicode(4) "€ " + } +} +array(1) { + [0]=> + array(1) { + [0]=> + unicode(4) "€ " + } +} diff --git a/ext/standard/tests/array/count_variation3.phpt b/ext/standard/tests/array/count_variation3.phpt index c867837c77..36338103b4 100644 --- a/ext/standard/tests/array/count_variation3.phpt +++ b/ext/standard/tests/array/count_variation3.phpt @@ -33,10 +33,18 @@ echo "Done"; int(4) -- $mode = 1: -- + +Warning: count(): recursion detected in %s on line %d +int(12) +Done --UEXPECTF-- *** Testing count() : usage variations *** -- $mode not set: -- int(4) --- $mode = 1: -- \ No newline at end of file +-- $mode = 1: -- + +Warning: count(): recursion detected in %s on line %d +int(12) +Done