Re: [PHP4BETA] Re: strip_tags() and the recent CERT advisory....

From: Date: Fri, 04 Feb 2000 00:02:19 +0000
Subject: Re: [PHP4BETA] Re: strip_tags() and the recent CERT advisory....
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-9774@lists.php.net to get a copy of this message
SM>> TG>> memcpy(). But I'm not about to benchmark them :-) If anyone wants to do SM>> TG>> that and post results, I'd be interested. SM>> SM>> Well, why not? Should take not much time... Will check it. OK, I did some basic benchmarking. 10000 iterations of strip_tags on some HTML file took in average 3.05 seconds, while 10000 iterations of htmlspecialchars on the same file took in average 1.95 seconds. -- Stanislav Malyshev stas@zend.com +972-3-6139665

« previous php.version4 (#9774) next »