eldan88 Posted March 21, 2013 Share Posted March 21, 2013 I heard that the get_browser() function can slow down a PHP application. Is that true? Link to comment https://forums.phpfreaks.com/topic/275979-can-get_browser-slow-down-my-php-application/ Share on other sites More sharing options...
requinix Posted March 21, 2013 Share Posted March 21, 2013 Everything you do in code will slow down your application (typically only by microseconds). The question is whether it's still worth it. But yes, it is a little more expensive than most functions. PHP has to open up a file and do a lot of regular expression matching. Link to comment https://forums.phpfreaks.com/topic/275979-can-get_browser-slow-down-my-php-application/#findComment-1420177 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.