Skip to content

Instantly share code, notes, and snippets.

@mrsinguyen
Forked from avafloww/PhpJava.java
Created September 1, 2016 03:37
Show Gist options
  • Select an option

  • Save mrsinguyen/b1a20761b51b99dcbdd6fd8fee893e7c to your computer and use it in GitHub Desktop.

Select an option

Save mrsinguyen/b1a20761b51b99dcbdd6fd8fee893e7c to your computer and use it in GitHub Desktop.

Revisions

  1. Devin Ryan revised this gist Aug 31, 2016. 1 changed file with 11 additions and 0 deletions.
    11 changes: 11 additions & 0 deletions PhpJava.php
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    /*<?php
    //*/public class PhpJava { public static void main(String[] args) { System.out.printf("/*%s",
    //\u000A\u002F\u002A
    class PhpJava {
    function main() {
    echo(//\u000A\u002A\u002F
    "Hello World!");
    }}
    //\u000A\u002F\u002A
    PhpJava::main();
    //\u000A\u002A\u002F
  2. Devin Ryan created this gist Aug 31, 2016.
    11 changes: 11 additions & 0 deletions PhpJava.java
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    /*<?php
    //*/public class PhpJava { public static void main(String[] args) { System.out.printf("/*%s",
    //\u000A\u002F\u002A
    class PhpJava {
    function main() {
    echo(//\u000A\u002A\u002F
    "Hello World!");
    }}
    //\u000A\u002F\u002A
    PhpJava::main();
    //\u000A\u002A\u002F