Page 1 of 1

redefining a function

Posted: Wed Jul 04, 2007 10:37 pm
by m2babaey
Hi
Can I define a function that already exists? for example:

Code: Select all

function md5 (){
return sha256::hash();
}

Posted: Wed Jul 04, 2007 10:43 pm
by feyd
No without a runkit, which likely will not be loaded on most hosts (unless you have complete control, and even then, it's not a great idea.)