I know php code can be rewritten in C. So just like a strpos()
function, I want to add my own built-in function (lets assume a function name vinod
) in php source code. Is this possible? If yes then let me know the procedure.
Sample function pseudo-code: my function will return str in a heading tag1.
vinod($str)
{
return <h1>$str</h1>;
}