3v4l.org

run code in 300+ PHP versions simultaneously
<?php $logs = <<<LOGS /connect=;;41.26.162.36;;192.168.0.100;;8081;; /connect=;;98.250.16.76;;192.168.0.24;;8080;; /connect=;;216.152.60.12;;192.168.1.103;;8090;; /connect=;;91.11.65.110;;192.168.1.3;;8081;; LOGS; foreach(explode(PHP_EOL, $logs) as $line) { sscanf($line, "/connect=;;%[^;];;%[^;];;%d;;", $ip1, $ip2, $port); var_export( [$ip1, $ip2, $port] ); echo "\n"; }
Output for git.master, git.master_jit, rfc.property-hooks
array ( 0 => '41.26.162.36', 1 => '192.168.0.100', 2 => 8081, ) array ( 0 => '98.250.16.76', 1 => '192.168.0.24', 2 => 8080, ) array ( 0 => '216.152.60.12', 1 => '192.168.1.103', 2 => 8090, ) array ( 0 => '91.11.65.110', 1 => '192.168.1.3', 2 => 8081, )

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:
167.3 ms | 406 KiB | 5 Q