At the moment I am working (just for fun) on a kind of compiler that breaks PHP
-code down to a source code for a low level VM
.
As the type system and a lot of of the PHP
-features are not that logical I need a much testscripts to verify that my code behaves as it would in PHP
.
I started to test everything with the test from the PHP
-sources (here). But a lot of the test are not only language specific, they also contain some features from the webserver handling (POST-data, etc.) Are there any other tests to test PHP
as a language? The best would be, if the script itself is written in PHP
.