@Girgias @woozle @ramsey @cptwtf @IceWolf
there goes the pedantic approach again....
"This requires that php be in your system path."
you still need the php interpreter which is written in C/C++ in order to run the php vm to run the php programme..
have you ever heard of chickens and eggs?
so.... "no"... basically.
not to mention it would be prob be stupidly slow..
@oschonrock @woozle @ramsey @cptwtf @IceWolf You asked if the PHP VM could be written in PHP, I gave you a repo where someone did this 13 years ago. I didn't say it was a good idea nor that it would be fast. Nor is this even fully fleshed out. People have written a Python interpreter in Python and use it to run Python. There is nothing fundamentally *preventing* you from doing it.
Chickens and Eggs exists with statically compiled languages when you need to boostrap it the first time too....