PHP Multiple Choice Questions
- Calling a non-static method statically generates _____ .
- an E_STRICT level warning
- an E_DEPRECATED level warning
- an E_RECOVERABLE_ERROR level warning
- no warning
Answer :
A
Explanation:
Enable to have PHP suggest changes
to your code which will ensure the best interoperability
and forward compatibility of your code.
Added By : Jeevan
- Which of those is not magic method?
- __autoload
- __clone
- __sleep
- __toint
Added By : Raja K
- What function creates a cookie?
- create_cookie()
- set_cookie()
- setcookie()
- None of the above
Added By : Raja K
- What function split an array into chunks?
- array_chunk()
- array_split()
- array_split_chunk
- array_chunks()
Added By : Raja K
- What is input sanitization?
- Secure user input
- Converting input into a format that PHP supports
- Removing or cleaning potentially malicious user input.
- All of the above
Added By : Arnaaz
- If class implementing the interface does not use exact same method signatures as are defined in the interface. Will show
- No Error
- Fatal Error
- Warning Error
- Notice Error
Added By : Varun
- Static properties cannot be initialized using
- expressions
- literal
- constant
- All of the above
Added By : Pranav
- Which keyword cannot be used while defining property?
- Public
- Static
- Final
- Private
Added By : Pranav
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