Redefining PHP function?
Posted
by Michael
on Stack Overflow
See other posts from Stack Overflow
or by Michael
Published on 2010-04-14T20:54:34Z
Indexed on
2010/04/14
21:03 UTC
Read the original article
Hit count: 335
If I have a function:
function this($a){
return $a;
}
If I wanted to redefine the function, would it be as simple as rewriting it?
function this($a, $b){ //New this function
return $a * $b;
}
© Stack Overflow or respective owner