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? Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.