From: Ulf Wendel Date: Fri, 29 May 2009 13:02:43 +0000 (+0000) Subject: MFH - 1) The wording of a message can differ by version and by libmysql vs. mysqlnd... X-Git-Tag: php-5.3.0RC3~81 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f3f1256332864ea20c3cab4f0c0e21191589a5f4;p=php MFH - 1) The wording of a message can differ by version and by libmysql vs. mysqlnd. 2) %i is better than %s --- diff --git a/ext/mysqli/tests/057.phpt b/ext/mysqli/tests/057.phpt index b291bbb94b..d4203b44fa 100644 --- a/ext/mysqli/tests/057.phpt +++ b/ext/mysqli/tests/057.phpt @@ -67,7 +67,7 @@ bool(true) bool(true) object(mysqli_stmt)#%d (%d) { [%u|b%"affected_rows"]=> - int(%s) + int(%i) [%u|b%"insert_id"]=> int(0) [%u|b%"num_rows"]=> diff --git a/ext/mysqli/tests/bug34810.phpt b/ext/mysqli/tests/bug34810.phpt index cd348ef450..ed98e1e5a1 100644 --- a/ext/mysqli/tests/bug34810.phpt +++ b/ext/mysqli/tests/bug34810.phpt @@ -52,7 +52,7 @@ object(mysqli)#%d (%d) { [%u|b%"field_count"]=> int(0) [%u|b%"host_info"]=> - %unicode|string%(%d) "MySQL host info: %s via %s%s" + %unicode|string%(%d) "%s" [%u|b%"info"]=> NULL [%u|b%"insert_id"]=>