mgbellaire
mgbellaire

Reputation: 81

Why is override_function coming back as an undefined function

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

Answers (1)

Function override_function is part of PECL Extension.

Configure PECL Here.

Upvotes: 6

Related Questions