1. Question:What does accessing a class via :: operator means? 

    Answer
    :: operator is used to access static methods that do not require object initialization.






    1. Report
  2. Question:How to initiate a session in PHP? 

    Answer
    The use of the function session_start() lets us activating a session.






    1. Report
  3. Question:How can we determine whether a variable is set? 

    Answer
    The boolean function isset determines if a variable is set and is not NULL.






    1. Report
  4. Question:What is object cloning?

     

    Answer
    If we try to copy a referenced object, it will simply point back to the addressing location of the original object. To remedy the problems with copying, PHP offers an explicit means for cloning an object which is known as object cloning.







    1. Report
  5. Question:What are the four configuration directive scopes? 

    Answer
    Configuration directive scopes are given bellow:
    • PHP_INI_PERDIR: Directive can be modified within the php.ini,httpd.conf, or .htaccess files.
    • PHP_INI_SYSTEM: Directive can be modified within the php.ini and httpd.conf files.
    • PHP_INI_USER: Directive can be modified within user scripts.
    • PHP_INI_ALL: Directive can be modified anywhere.






    1. Report
Copyright © 2025. Powered by Intellect Software Ltd