Browser detection

Issue #2 resolved
Bartosz Żołyński repo owner created an issue

Add isPetsciiBrowser() method to distinct client browser by user agent.

Comments (2)

  1. Bartosz Żołyński reporter

    Method has been added. There is one interesting thing regarding filter_input (and I've commented it in code as well):

    Note: filter_input function would return null on some implementations of FCGI/PHP 5.4 (and probably older versions as well) so super global $_SERVER has been accessed here directly

    It forced me to remove Superglobals rule in PHP Mess Detector.

  2. Log in to comment