From efab4bb920a11587fe9ae4d759cb86951b9f836d Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Sat, 1 Sep 2007 18:57:54 +0000 Subject: [PATCH] mention that the offset can be negative git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@242056 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../strings/functions/substr-compare.xml | 30 +++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/reference/strings/functions/substr-compare.xml b/reference/strings/functions/substr-compare.xml index 9925dc92b1..c2851be4d5 100644 --- a/reference/strings/functions/substr-compare.xml +++ b/reference/strings/functions/substr-compare.xml @@ -1,5 +1,5 @@ - + substr_compare @@ -45,7 +45,8 @@ offset - The start position for the comparison. + The start position for the comparison. If negative, it starts counting + from the end of the string. @@ -82,6 +83,30 @@ + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 5.1.0 + + Added the possibility to use a negative offset. + + + + + + + + &reftitle.examples; @@ -91,6 +116,7 @@