3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i='foo' or die('bar'); var_dump($i);

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.1.110.0030.00517.46
8.1.100.0000.00717.43
8.1.90.0070.00017.46
8.1.80.0060.00317.48
8.1.70.0000.00717.43
8.1.60.0040.00417.59
8.1.50.0030.00617.44
8.1.40.0040.00417.39
8.1.30.0020.00517.55
8.1.20.0040.00417.65
8.1.10.0000.00717.41
8.1.00.0000.00817.30
8.0.240.0040.00416.92
8.0.230.0030.00316.95
8.0.220.0030.00316.73
8.0.210.0000.00716.84
8.0.200.0030.00516.93
8.0.190.0070.00016.84
8.0.180.0000.00716.96
8.0.170.0040.00416.92
8.0.160.0040.00416.86
8.0.150.0030.00616.85
8.0.140.0070.00016.77
8.0.130.0050.00013.31
8.0.120.0040.00416.81
8.0.110.0060.00316.80
8.0.100.0040.00416.80
8.0.90.0000.00716.84
8.0.80.0100.00716.85
8.0.70.0040.00416.83
8.0.60.0000.00716.76
8.0.50.0040.00416.87
8.0.30.0100.01017.13
8.0.20.0110.00717.40
8.0.10.0040.00416.80
8.0.00.0130.00616.64
7.4.300.0000.00616.51
7.4.290.0000.01016.59
7.4.280.0080.00016.55
7.4.270.0040.00416.46
7.4.260.0000.00716.59
7.4.250.0030.00316.39
7.4.240.0080.00016.61
7.4.230.0030.00316.62
7.4.220.0070.00016.70
7.4.210.0090.00916.48
7.4.200.0030.00316.60
7.4.160.0080.00816.47
7.4.150.0310.01917.40
7.4.140.0100.00717.86
7.4.130.0090.00916.51
7.4.120.0080.01316.53
7.4.110.0140.00516.18
7.4.100.0090.00916.58
7.4.90.0090.00816.48
7.4.80.0100.01319.39
7.4.70.0120.00316.48
7.4.60.0090.00916.52
7.4.50.0100.00416.20
7.4.40.0030.01516.29
7.4.30.0100.00716.48
7.4.10.0070.01015.13
7.4.00.0070.00814.64
7.3.330.0030.00312.96
7.3.320.0030.00313.04
7.3.310.0030.00316.11
7.3.300.0000.00716.12
7.3.290.0070.00816.14
7.3.280.0080.00816.11
7.3.270.0120.01217.40
7.3.260.0150.00516.13
7.3.250.0120.00616.21
7.3.240.0110.00716.15
7.3.230.0070.00916.19
7.3.210.0030.01316.25
7.3.200.0030.01316.25
7.3.190.0130.00316.14
7.3.180.0060.01816.54
7.3.170.0070.01316.35
7.3.160.0030.01216.14
7.3.130.0090.00914.50
7.3.120.0080.01114.97
7.3.110.0040.01514.68
7.3.100.0070.00414.73
7.3.90.0000.01514.90
7.3.80.0060.00814.67
7.3.70.0110.00014.54
7.3.60.0030.01014.76
7.3.50.0030.00714.57
7.3.40.0080.00814.57
7.3.30.0000.01014.44
7.3.20.0030.00616.55
7.3.10.0030.00916.34
7.3.00.0090.00616.68
7.2.330.0100.00716.32
7.2.320.0110.01116.49
7.2.310.0040.01416.51
7.2.300.0030.01316.29
7.2.290.0050.01616.36
7.2.260.0040.01514.94
7.2.250.0090.00914.93
7.2.240.0030.01314.81
7.2.230.0000.01214.88
7.2.220.0070.01014.83
7.2.210.0070.00714.61
7.2.200.0070.00714.79
7.2.190.0060.00314.86
7.2.180.0000.01415.08
7.2.170.0000.01314.94
7.2.160.0030.01014.77
7.2.150.0040.00716.52
7.2.140.0110.00416.76
7.2.130.0030.01316.95
7.2.120.0060.00916.84
7.2.110.0130.00316.62
7.2.100.0000.01416.60
7.2.90.0130.00016.60
7.2.80.0110.00416.75
7.2.70.0060.00616.48
7.2.60.0050.01116.88
7.2.50.0070.00316.37
7.2.40.0040.01116.93
7.2.30.0090.00616.91
7.2.20.0070.00716.84
7.2.10.0030.01316.75
7.2.00.0070.01016.79
7.1.330.0110.00415.73
7.1.320.0030.00915.70
7.1.310.0030.00915.70
7.1.300.0060.00915.69
7.1.290.0050.00315.68
7.1.280.0070.00715.68
7.1.270.0040.00415.68
7.1.260.0100.00315.47
7.1.250.0060.00915.63
7.1.240.0070.00715.77
7.1.230.0090.00015.45
7.1.220.0030.01015.59
7.1.210.0040.00815.89
7.1.200.0080.00615.69
7.1.190.0030.01015.71
7.1.180.0030.01015.63
7.1.170.0050.00315.61
7.1.160.0120.00315.46
7.1.150.0110.00415.50
7.1.140.0000.01215.84
7.1.130.0060.00615.69
7.1.120.0090.00615.62
7.1.110.0060.00915.52
7.1.100.0030.01015.79
7.1.90.0030.00615.81
7.1.80.0080.01016.67
7.1.70.0570.01315.39
7.1.60.2020.01528.04
7.1.50.1840.01327.74
7.1.40.1290.00627.38
7.1.30.0180.01327.45
7.1.20.0170.00827.59
7.1.10.0090.00815.62
7.1.00.0080.00915.73
7.0.330.0120.00015.33
7.0.320.0030.00615.28
7.0.310.0070.00715.33
7.0.300.0050.00315.50
7.0.290.0030.01015.27
7.0.280.0000.01215.43
7.0.270.0030.01215.30
7.0.260.0030.01015.33
7.0.250.0070.00715.05
7.0.240.0060.00615.41
7.0.230.0000.01715.25
7.0.220.0070.00715.52
7.0.210.0000.01115.54
7.0.200.1910.01115.08
7.0.190.1340.01015.56
7.0.180.1180.00815.34
7.0.170.0110.00715.17
7.0.160.0040.01215.29
7.0.150.0080.01315.34
7.0.140.0110.00915.27
7.0.130.1120.01015.49
7.0.120.1300.00715.41
7.0.110.1240.01315.45
7.0.100.1260.01215.19
7.0.90.1220.01015.23
7.0.80.0070.01215.32
7.0.70.0040.01115.30
7.0.60.0090.00815.18
7.0.50.0060.01015.53
7.0.40.1040.01114.78
7.0.30.0120.00614.84
7.0.20.0070.01114.79
7.0.10.0070.01014.71
7.0.00.0050.01214.81
5.6.400.0070.00714.43
5.6.390.0000.01514.02
5.6.380.0110.00414.23
5.6.370.0090.00614.19
5.6.360.0100.00314.20
5.6.350.0000.00914.08
5.6.340.0060.00314.50
5.6.330.0090.00613.96
5.6.320.0040.01114.45
5.6.310.0030.00614.38
5.6.300.0150.00414.16
5.6.290.0080.00413.98
5.6.280.0150.00014.05
5.6.270.0030.00914.14
5.6.260.0040.01614.25
5.6.250.0080.00414.12
5.6.240.0000.01513.97
5.6.230.0070.00714.13
5.6.220.0110.00413.94
5.6.210.0000.01314.25
5.6.200.0060.00614.15
5.6.190.0120.00014.32
5.6.180.0080.00414.06
5.6.170.0000.01314.25
5.6.160.0070.00713.99
5.6.150.0040.01114.29
5.6.140.0040.01114.40
5.6.130.0040.00814.30
5.6.120.0040.00814.12
5.6.110.0110.00414.09
5.6.100.0060.00314.03
5.6.90.0060.00614.25
5.6.80.0130.00313.81
5.6.70.0030.00913.88
5.6.60.0090.00314.08
5.6.50.0080.00414.10
5.6.40.0100.00714.31
5.6.30.0030.01314.23
5.6.20.0030.01414.45
5.6.10.0130.00014.36
5.6.00.0000.01514.06

preferences:
41.72 ms | 406 KiB | 5 Q