com web/qa: %i also matches integers without sign: phpt_detai ls.php
| From: | Christoph Michael Becker | Date: | Wed, 03 Jun 2020 08:37:02 +0000 |
| Subject: | com web/qa: %i also matches integers without sign: phpt_detai ls.php | ||
| Groups: | php.qa | ||
| Request: | Send a blank email to php-qa+get-68884@lists.php.net to get a copy of this message | ||
Commit: 47acc3ff0405c81249c407edf0e35269859acb83
Author: Christoph M. Becker <cmbecker69@gmx.de> Wed, 3 Jun 2020 10:37:02 +0200
Parents: 91e5e833a1a59a3636df8f90e14e325af9219482
Branches: master
Link: http://git.php.net/?p=web/qa.git;a=commitdiff;h=47acc3ff0405c81249c407edf0e35269859acb83
Log:
%i also matches integers without sign
Changed paths:
M phpt_details.php
Diff:
diff --git a/phpt_details.php b/phpt_details.php
index de1cbaa..9066bc2 100644
--- a/phpt_details.php
+++ b/phpt_details.php
@@ -755,7 +755,7 @@ when run on different platforms.</p>
<li>%A: Zero or more of anything (character or white space) including the end of line
character.</li>
<li>%w: Zero or more white space characters.</li>
-<li>%i: A signed integer value, for example +3142, -3142.</li>
+<li>%i: A signed integer value, for example +3142, -3142, 3142.</li>
<li>%d: An unsigned integer value, for example 123456.</li>
<li>%x: One or more hexadecimal character. That is, characters in the range 0-9, a-f,
A-F.</li>