3v4l.org

run code in 300+ PHP versions simultaneously
/*<?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
Output for git.master, git.master_jit, rfc.property-hooks
/* Fatal error: Uncaught Error: Non-static method PhpJava::main() cannot be called statically in /in/0SDi4:10 Stack trace: #0 {main} thrown in /in/0SDi4 on line 10
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
58.13 ms | 401 KiB | 8 Q