Reputation: 81
I run:
override_function('test_func', '$a, $b', 'print_r("new");');
and I get this error:
PHP Fatal error: Call to undefined function override_function()
I am using php 5.3.26
Upvotes: 5
Views: 4859
Reputation: 68556
Function override_function
is part of PECL Extension.
Configure PECL Here.
Upvotes: 6