From 87455002a75b3308d9abbd4be7b47fbd9040d471 Mon Sep 17 00:00:00 2001 From: Adam Harvey Date: Mon, 12 Nov 2012 02:14:56 +0000 Subject: [PATCH] Add a note about position specifiers respecting PHP_INT_MAX. Fixes doc bug #61531 (Integer Overflow in all printf functions). git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328312 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/strings/functions/sprintf.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/reference/strings/functions/sprintf.xml b/reference/strings/functions/sprintf.xml index 2516c994ea..70b4ef0efe 100644 --- a/reference/strings/functions/sprintf.xml +++ b/reference/strings/functions/sprintf.xml @@ -245,6 +245,13 @@ The tree contains 0005 monkeys + + + Attempting to use a position specifier greater than + PHP_INT_MAX will result in + sprintf generating warnings. + +