bdd: fix for php target but still has issues (Sys.print does not works... :S)