3v4l.org

run code in 300+ PHP versions simultaneously
<?php class abc{ protected const A = [1, 2, 3]; public static function abcd(){ return abc::A; } } print_r(abc::abcd()); $file_url = 'http://www.javatpoint.com/f.txt'; readfile($file_url);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => 1 [1] => 2 [2] => 3 ) Warning: readfile(): php_network_getaddresses: getaddrinfo for www.javatpoint.com failed: System error in /in/iSjHD on line 21 Warning: readfile(http://www.javatpoint.com/f.txt): Failed to open stream: php_network_getaddresses: getaddrinfo for www.javatpoint.com failed: System error in /in/iSjHD on line 21

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:
74.7 ms | 402 KiB | 8 Q