Rename internal PHP command
2 answers
You need to write a parser for php, which is a silly idea, or implement a php extension module in C ++. http://www.sitepoint.com/getting-started-php-extension-development-via-php-cpp/
There is Typo3 CMS that comes with a custum script language called Typo3Script, which is parsed and executed as php. http://docs.typo3.org/typo3cms/TyposcriptIn45MinutesTutorial/ You can try reusing this for your custom script language or whatever you are trying to do. However, I think that implementing another script language inside php is a silly idea in and of itself.
+1
source to share