Correct Answer: array_push()
Explanation:
Note: This Question is unanswered, help us to find answer for this one
PHP 5 Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More PHP 5 MCQ Questions
A fatal error would be caught by
(8 < 1 || 4 >= 4 ) will return
Which responsible for change the current directory?
How can you delete a file using a php function?
What function in PHP allows you to find the position of the first occurrence of a substring?
Under which scenario, a TypeError may be thrown? i) When the argument type, which is being passed to a function, does not match its corresponding declared parameter type. ii) When the returned value from a function does not match the declared function return type. iii) When an invalid number of arguments are passed to a built-in PHP function.
Which is the correct syntax for a function with iterable generator return type?
What Output will be? interface Exp { public function x();} class First implements Exp { public function x() {} } class Second {} function x(Exp $e){ echo get_class($e).'\n'; } x(new First); x(new Second); ?>
What will be the output? declare(ticks=1); function t_handler() { echo 'Example function\n'; } register_tick_function( $x = 1; if ($x > 0) { $x += 2; print($x); } ?>
What will be the output? $example = true; example_y(); if ($example){ function example_x() { echo 'PHP\n'; } } if ($example)example_x(); function example_y() { echo 'Example\n'; } ?>