str_replace: boyer

From: Date: Sun, 09 Sep 2001 11:03:07 +0000
Subject: str_replace: boyer
Groups: php.dev 
Request: Send a blank email to php-dev+get-65555@lists.php.net to get a copy of this message
Hello,

the proto for str_replace shows this:

/* {{{ proto mixed str_replace(mixed search, mixed replace, mixed subject [, bool boyer])
   Replaces all occurrences of search in haystack with replace */

What is that "boyer" parameter doing there? It seems that it selects a
different algorithm for str_replace, but what is the difference?

Derick

---------------------------------------------------------------------
        PHP: Scripting the Web - www.php.net - derick@php.net
             SRM: Site Resource Manager - www.vl-srm.net
---------------------------------------------------------------------
    JDI Media Solutions - www.jdimedia.nl - d.rethans@jdimedia.nl
     Boulevard Heuvelink 102 - 6828 KT Arnhem - The Netherlands
---------------------------------------------------------------------



Thread (3 messages)

« previous php.dev (#65555) next »