Jump to content

Can get_browser() slow down my PHP application


eldan88

Recommended Posts

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.