Skip to content

Instantly share code, notes, and snippets.

@wilkie
Last active August 29, 2015 14:04
Show Gist options
  • Save wilkie/559fd85d885f9f4f340d to your computer and use it in GitHub Desktop.
Save wilkie/559fd85d885f9f4f340d to your computer and use it in GitHub Desktop.
Prints different things depending on language interpreter.
"<?php error_reporting(E_ALL ^ E_NOTICE); /* \
"; //; # ";
if ("00"==false)
console.log("Hello from JavaScript!");
else // # */
if ("0"==false)
printf("Hello from PHP!\n");
else
printf("Hello from Ruby!\n");
//; end;
//; end;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment