• Variable variables

      0 comments

    What is the difference between $message and $$message?

    $message is a variable and it’s name is “$message”. But $$message is a variable of a variable, in which it is referred by the value of the $message variable itself.

  • Browser properties

      0 comments

    How do we get to know about browser properties?

    get_browser() attempts to determine the capabilities of the user’s browser. But browscap.ini must be set
    echo $_SERVER['HTTP_USER_AGENT']