3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Test; class Test { const a = strlen(""); public function test() { \SplFixedArray::fromArray($array); throw new \Exception(); } } ?>

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)
5.4.320.3230.04318.95
5.4.310.3230.03319.13
5.4.300.3400.03319.15
5.4.290.3330.04019.14
5.4.280.3370.05018.86
5.4.270.3370.04019.01
5.4.260.3570.04318.95
5.4.250.3300.03319.06
5.4.240.2370.03719.23
5.4.230.3130.03318.87
5.4.220.3230.04019.05
5.4.210.3270.04319.21
5.4.200.3270.04319.21
5.4.190.3330.04019.30
5.4.180.3370.03719.19
5.4.170.3300.04018.98
5.4.160.3330.04019.04
5.4.150.3370.03719.17
5.4.140.3300.03316.31
5.4.130.3070.04016.38
5.4.120.0070.05316.49
5.4.110.0000.06716.54
5.4.100.0070.04316.54
5.4.90.1500.04016.56
5.4.80.3400.03016.18
5.4.70.3300.04016.34
5.4.60.3100.03316.25
5.4.50.3100.03716.53
5.4.40.2900.03716.52
5.4.30.3370.03316.43
5.4.20.3030.04016.42
5.4.10.3100.03316.38
5.4.00.3370.04015.91
5.3.290.3370.03714.67
5.3.280.3630.04714.56
5.3.270.3100.03714.52
5.3.260.3300.04014.71
5.3.250.3700.04314.68
5.3.240.3070.04014.65
5.3.230.3130.03714.51
5.3.220.3130.03014.68
5.3.210.2900.04014.48
5.3.200.3170.03314.64
5.3.190.3170.03014.55
5.3.180.3000.04014.71
5.3.170.3330.03714.61
5.3.160.3500.04714.55
5.3.150.3530.04014.70
5.3.140.1470.04314.46
5.3.130.0070.04014.55
5.3.120.0030.04014.63
5.3.110.0370.06714.50
5.3.100.3100.04014.26
5.3.90.3630.04014.02
5.3.80.3300.04013.98
5.3.70.2900.04313.87
5.3.60.3400.03714.23
5.3.50.3270.03314.05
5.3.40.3330.03313.86
5.3.30.3370.05713.92
5.3.20.2930.04013.77
5.3.10.3730.03013.88
5.3.00.3600.04013.78
5.2.170.2970.02011.05
5.2.160.2670.03711.18
5.2.150.2830.03311.05
5.2.140.2730.03311.05
5.2.130.2600.02711.19
5.2.120.2670.03011.05
5.2.110.2670.02711.05
5.2.100.2800.02711.05
5.2.90.2800.03011.05
5.2.80.2900.02311.05
5.2.70.2600.03011.11
5.2.60.2770.03311.05
5.2.50.2800.03011.05
5.2.40.2030.03311.05
5.2.30.2330.02711.05
5.2.20.2300.03011.05
5.2.10.2330.02311.05
5.2.00.2200.03711.05
5.1.60.2330.02011.05
5.1.50.2330.02311.05
5.1.40.2330.02711.05
5.1.30.2370.02011.05
5.1.20.2270.02711.05
5.1.10.2370.02311.05
5.1.00.2330.02711.05
5.0.50.1300.02711.05
5.0.40.1030.02011.05
5.0.30.1230.04011.05
5.0.20.1300.02311.05
5.0.10.1300.02011.05
5.0.00.0630.03311.05
4.4.90.1070.01711.05
4.4.80.1200.01711.05
4.4.70.1200.02011.05
4.4.60.1200.01711.05
4.4.50.1270.02011.05
4.4.40.1100.03011.05
4.4.30.1100.01711.05
4.4.20.1200.01311.05
4.4.10.1300.01711.05
4.4.00.1070.02311.05
4.3.110.1270.02011.05
4.3.100.1200.01711.05
4.3.90.1070.01311.05
4.3.80.1300.02711.05
4.3.70.1170.01711.05
4.3.60.1300.02011.05
4.3.50.1230.02311.05
4.3.40.1030.02311.05
4.3.30.0530.02011.05
4.3.20.0570.02011.05
4.3.10.0600.02311.05
4.3.00.0670.02311.05

preferences:
140.66 ms | 1394 KiB | 7 Q