Phava or Jahp? :-)

There is a snippet of code syntactically valid in both PHP and Java, and produces the same output in both. 🙂

How should we call it – Phava or Jahp?

Take a look at it:
//*/public class PhpJava { public static void main(String[] args) { System.out.printf("/*%s",
class PhpJava {
 static function main() {
 "Hello World!");

Thanks to Davin Ryan (forairan), available at 


Komentari su isključeni.