beautiful lies Archive

Puke, I am your Phava: code that works both as PHP and Java

Devin Ryan created a computer program that is valid, and produces identical output, in two completely different languages, PHP and Java. “You were so preoccupied with whether or not you could,” writes one commenter, “you didn’t stop to think if you should.” /* <?php //*/public class PhpJava { public static void main(String args) { System.out.printf(“/*%s”, //u000Au002Fu002A class PhpJava { function main() { echo(//u000Au002Au002F “Hello …