callback function for php preg_replace_callback not getting called on linux CentOS 5.4
- by user105165
I have used the preg_replace_callback as
$string = preg_replace_callback($pattern,'CreateTemplatesController::callbackhandler',$string );
I have called the callbackhandler function with the class name as this function is a private static function.
Problem is "callbackhandler" function is not getting called.
Please post if any one know the…