A PHP function cannot be overloaded or redefined

Options
- True
- False


CORRECT ANSWER : True

Discussion Board
PHP

TRUE.
PHP does not support function overloading, nor is it possible to undefine or redefine previously-declared functions.

Syntax:
if (!function_exists('A'))
{
function A()
{
// default A implementation
}
}

IamJay 02-9-2015 06:08 AM

php

explain more abt this

shalini s 09-10-2014 11:34 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement