cvs: pear /PHP_Compat/tests/function strripos.phpt

From: Date: Tue, 31 May 2005 08:55:26 +0000
Subject: cvs: pear /PHP_Compat/tests/function strripos.phpt
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-32268@lists.php.net to get a copy of this message
aidan Tue May 31 04:55:26 2005 EDT Modified files: /pear/PHP_Compat/tests/function strripos.phpt Log: Added extra tests for negative offsets http://cvs.php.net/diff.php/pear/PHP_Compat/tests/function/strripos.phpt?r1=1.4&r2=1.5&ty=u Index: pear/PHP_Compat/tests/function/strripos.phpt diff -u pear/PHP_Compat/tests/function/strripos.phpt:1.4 pear/PHP_Compat/tests/function/strripos.phpt:1.5 --- pear/PHP_Compat/tests/function/strripos.phpt:1.4 Mon May 30 16:42:36 2005 +++ pear/PHP_Compat/tests/function/strripos.phpt Tue May 31 04:55:26 2005 @@ -27,6 +27,7 @@ // Test for negative offset scanning bug var_dump(strripos('abcdef', 'bc', -5)); +var_dump(strripos('aaafrogaa', 'frog', -5)); ?> --EXPECT-- int(41) @@ -38,4 +39,5 @@ int(11) bool(false) bool(false) -int(1) \ No newline at end of file +int(1) +int(3) \ No newline at end of file

« previous php.pear.cvs (#32268) next »