Online Test for PHP
- How are session variables accessed through?
$_GET$_POST$_REQUESTNone of the above
- How does the identity operator === compare two values?
It converts both to a common compatible data type and then compares the valuesIt returns True only if they are both of the same type and valueIt converts both values to strings and compares themIf the two values are strings, it performs a syntax comparison
- If parent class has Final method abc(). Method abc() can be overridden in child class.
TrueFalse
- A PHP scripting block always starts with
< ?php ...... ?><@ ....... /><% .... %>{ ..... }
- If class implementing the interface does not use exact same method signatures as are defined in the interface. Will show
No ErrorFatal ErrorWarning ErrorNotice Error
- $this is a reference to the calling object
TrueFalse
- Static properties cannot be initialized using
expressionsliteralconstantAll of the above
- microtime() returns _______.
current Unix timestamp with secondscurrent Unix timestamp with nanosecondscurrent Unix timestamp with microsecondsNone of the above
- What function creates a cookie?
create_cookie()set_cookie()setcookie()None of the above
- PEAR stands for?
PHP Extension and Application RecordPHP Extended and Application RepositoryPHP Extension and Application RepositoryPHP Extension and Applicable Repository
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