3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tests = ['derp.php', 'test.php']; array_walk(function(&$test) { $test = substr($test, 0, strrpos($test, '.')); }, $tests); var_dump($tests);

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)
8.3.60.0120.00318.55
8.3.50.0090.00921.93
8.3.40.0070.00719.02
8.3.30.0110.00319.22
8.3.20.0040.00420.14
8.3.10.0050.00323.70
8.3.00.0080.00019.25
8.2.180.0040.01118.30
8.2.170.0070.00722.96
8.2.160.0070.00720.35
8.2.150.0030.00524.18
8.2.140.0000.00824.66
8.2.130.0030.01426.16
8.2.120.0000.00722.13
8.2.110.0000.00922.30
8.2.100.0100.00018.96
8.1.280.0110.00425.92
8.1.270.0080.00024.02
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0030.00618.41
8.1.230.0040.00418.53
5.4.280.0370.03719.13
5.4.270.0200.06019.22
5.4.260.0200.03719.30
5.4.250.0270.06318.98
5.4.240.0230.07019.31
5.4.230.0270.05018.98
5.4.220.0300.04319.24
5.4.210.0300.04019.14
5.4.200.0170.07319.23
5.4.190.0200.04019.14
5.4.180.0270.04319.12
5.4.170.0170.04319.15
5.4.160.0200.07019.14
5.4.150.0300.07019.07
5.4.140.0270.06316.34
5.4.130.0330.06316.51
5.4.120.0170.03716.34
5.4.110.0270.06716.37
5.4.100.0400.02716.45
5.4.90.0170.06716.56
5.4.80.0170.05716.33
5.4.70.0270.03016.52
5.4.60.0130.03716.34
5.4.50.0130.03316.57
5.4.40.0100.04316.56
5.4.30.0100.03716.48
5.4.20.0130.03316.48
5.4.10.0200.03016.48
5.4.00.0130.04715.78
5.3.280.0170.04714.52
5.3.270.0230.06714.49
5.3.260.0300.02714.46
5.3.250.0170.05014.63
5.3.240.0270.07014.46
5.3.230.0170.04014.63
5.3.220.0230.03714.40
5.3.210.0200.06014.38
5.3.200.0200.04314.43
5.3.190.0230.06014.50
5.3.180.0170.04014.61
5.3.170.0270.04014.39
5.3.160.0170.04314.41
5.3.150.0130.04014.40
5.3.140.0170.04314.42
5.3.130.0130.03714.50
5.3.120.0200.03314.40
5.3.110.0130.03714.35
5.3.100.0130.03714.14
5.3.90.0100.03713.98
5.3.80.0130.04313.92
5.3.70.0200.05713.95
5.3.60.0170.03713.84
5.3.50.0130.03713.84
5.3.40.0170.04013.89
5.3.30.0100.03713.84
5.3.20.0230.02313.84
5.3.10.0070.04013.84
5.3.00.0100.04013.84

preferences:
33 ms | 401 KiB | 5 Q