PHP Multiple Choice Questions
- In PHP 5, how can you write a class so that some of its properties cannot be accessed from outside its methods?
- By declaring the class as private
- By declaring the property as private
- It cannot be done
- By writing a property overloading method
Added By : Amit
- The ___________ function automatically transforms newline characters into HTML <br /> tags.
- br2nl
- nl2br
- nlbr
- None of the above
Added By : Amit
- By default, PHP stores session data in ______________.
- The filesystem
- A database
- Virtual memory
- Shared memory
Added By : Amit
- How are session variables accessed through?
- $_GET
- $_POST
- $_REQUEST
- None of the above
Added By : Amit
- If cookie expiration time is not set explicitly, what happens to it?
- It expires right away
- It never expires
- It is not set
- It expires at the end of the user's browser session
Added By : Amit
- PECL stands for?
- PHP Extension Community Laboratory
- PHP Extension Combined Library
- PHP Export Community Library
- PHP Extension Community Library
Added By : Satyam
- PEAR stands for?
- PHP Extension and Application Record
- PHP Extended and Application Repository
- PHP Extension and Application Repository
- PHP Extension and Applicable Repository
Added By : Satyam
- How does the identity operator === compare two values?
- It converts both to a common compatible data type and then compares the values
- It returns True only if they are both of the same type and value
- It converts both values to strings and compares them
- If the two values are strings, it performs a syntax comparison
Added By : Manish Kumar
Also Exercise
Post Your Question
Social Sharing
Search
Articles
Recently Added Jobs
Rajasthan High Court - Jodhpur Recruitment 2017 for Civil Judges
Last Date: 21 December, 2017
Last Date: 21 December, 2017
WBSEDCL Recruitment - 2017 for Office Executive
Last Date: 16 May, 2017
Last Date: 16 May, 2017
RECRUITMENT OF PROBATIONARY OFFICERS IN STATE BANK OF INDIA
Last Date: 06 March, 2017
Last Date: 06 March, 2017
UPSC Combined Medical Services Examination 2015
Last Date: 10 April, 2015
Last Date: 10 April, 2015
UPSC Engineering Services Examination 2015
Last Date: 10 April, 2015
Last Date: 10 April, 2015