Is it possible to overwrite a function in PHP

orgrotdesan

New Member
Can you declare a function like this...\[code\]function ihatefooexamples(){ return "boo-foo!";};\[/code\]And then redeclare it somewhat like this...\[code\]if ($_GET['foolevel'] == 10){ function ihatefooexamples(){ return "really boo-foo"; };};\[/code\]Is it possible to overwrite a function that way?Any way?
 
Back
Top