cvs: pear /PHP_Compat/Compat/Function stripos.php

From: Date: Mon, 30 May 2005 20:33:04 +0000
Subject: cvs: pear /PHP_Compat/Compat/Function stripos.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-32255@lists.php.net to get a copy of this message
aidan Mon May 30 16:33:04 2005 EDT Modified files: /pear/PHP_Compat/Compat/Function stripos.php Log: Anal change of == to === http://cvs.php.net/diff.php/pear/PHP_Compat/Compat/Function/stripos.php?r1=1.12&r2=1.13&ty=u Index: pear/PHP_Compat/Compat/Function/stripos.php diff -u pear/PHP_Compat/Compat/Function/stripos.php:1.12 pear/PHP_Compat/Compat/Function/stripos.php:1.13 --- pear/PHP_Compat/Compat/Function/stripos.php:1.12 Tue Jan 25 23:55:13 2005 +++ pear/PHP_Compat/Compat/Function/stripos.php Mon May 30 16:33:03 2005 @@ -15,7 +15,7 @@ // | Authors: Aidan Lister <aidan@php.net> | // +----------------------------------------------------------------------+ // -// $Id: stripos.php,v 1.12 2005/01/26 04:55:13 aidan Exp $ +// $Id: stripos.php,v 1.13 2005/05/30 20:33:03 aidan Exp $ /** @@ -25,7 +25,7 @@ * @package PHP_Compat * @link http://php.net/function.stripos * @author Aidan Lister <aidan@php.net> - * @version $Revision: 1.12 $ + * @version $Revision: 1.13 $ * @since PHP 5 * @require PHP 4.0.0 (user_error) */ @@ -61,7 +61,7 @@ $segments = explode(strtolower($needle), strtolower($haystack), 2); // Check there was a match - if (count($segments) == 1) { + if (count($segments) === 1) { return false; }

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