3v4l.org

run code in 300+ PHP versions simultaneously
<?php <?php curl_setopt_array($ch = curl_init(), array( CURLOPT_URL => "https://api.pushover.net/1/messages.json", CURLOPT_POSTFIELDS => array( "token" => "aNfYfkpzHf4UciQdV5ZQDZCncEReR2", "user" => "u34wmDqYrSdJFa2sYVpDQZZiMTddHf", "message" => "hello world", ), )); var_dump(curl_exec($ch)); curl_close($ch);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
7.0.10.0070.09020.06
7.0.00.0100.08320.16
5.6.160.0100.08020.45
5.6.150.0130.05318.18
5.6.140.0100.06718.28
5.6.130.0230.02718.14
5.6.120.0130.05020.99
5.6.110.0100.09021.13
5.6.100.0070.08720.88
5.6.90.0170.08021.02
5.6.80.0100.06020.34
5.5.300.0000.04317.95
5.5.290.0030.07317.98
5.5.280.0070.08720.76
5.5.270.0030.09020.86
5.5.260.0100.09020.86
5.5.250.0100.07720.45
5.5.240.0130.06020.18

preferences:
141.15 ms | 1394 KiB | 7 Q