1. Question:What are the general language features of php?

     

    Answer
    Ans: There are four type of key categorize of the general language features of php. There are given bellow:    
    ·    Practicality
    ·    power
    ·    Possibility
    ·    And Price






    1. Report
  2. Question:What are the types of key of array?

     

    Answer
    Each array consists of two components. Key and value. Keys can be numerical or associative. Numerical key can be use numeric value and associative key use string value.







    1. Report
  3. Question: What are class and object?

     

    Answer
    Class: Classes are intended to represent those real-life items that coder like to manipulate within an application.
    object: An instance of class is called object.







    1. Report
  4. Question:What is property overloading?

     

    Answer
    Property overloading continues to protect properties by forcing access and manipulation through public methods, yet allowing the data to be accessed as if it were a public property.







    1. Report
  5. Question:Between echo () and print () functions which one is the faster and why?

     

    Answer
    Ans: The echo () function is a tad faster because it returns nothing, whereas print () will return 1 if the statement is successfully output, else return 0 if the statement is unsuccessfully output. As result echo () is faster than print ().







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