note 28836 deleted from function.strtr by irchtml

From: Date: Thu, 04 Mar 2004 13:14:38 +0000
Subject: note 28836 deleted from function.strtr by irchtml
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-66238@lists.php.net to get a copy of this message
Note Submitter: Chronial@web.de ---- hi! I just found out something very interresting: It looks like str_replace with array arguments is much faster than strtr with array arguments. I didn't yet have enough time to test this exactly, but maybe you would like to know. But I think this is just logical, because str_replace is binary save, and strtr isn't.

« previous php.notes (#66238) next »