3v4l.org

run code in 200+ PHP versions simultaneously
<?php /* [...] */ public function findBody(string $curlRawResponse) : ?string { $chunks = explode("\r\n\r\n", $curlRawResponse) foreach($chunks as $chunk) { if(strpos($chunk, "HTTP/1.") !== FALSE) { continue; } else { return $chunk; } } return null; } /* [...] */

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.3.50.0080.00714.41
7.3.40.0040.00814.29
7.3.30.0100.01314.73
7.3.20.0130.01314.75
7.3.10.0130.01014.64
7.3.00.0030.00914.62
7.2.180.0000.01014.89
7.2.170.0120.00614.88
7.2.160.0040.00814.63
7.2.150.0180.00914.89
7.2.140.0120.00314.98
7.2.130.0070.00714.75
7.2.120.0100.00314.78
7.2.110.0940.00314.82
7.2.100.0080.00814.66
7.2.90.0110.01314.86
7.2.80.0120.00614.71
7.2.70.0100.00714.47
7.2.60.0160.01214.88
7.2.50.0090.01414.53
7.2.40.0190.00714.65
7.2.30.0090.00614.50
7.2.20.0100.00314.77
7.2.10.0100.00414.67
7.2.00.0300.00314.87
7.1.280.0180.00613.71
7.1.270.0160.00913.55
7.1.260.0080.00613.31
7.1.250.0060.00613.50