3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hoofdstuk = 6; echo "<h1>Hoofdstuk $hoofdstuk</h1>"; $leeg = array('leeg'); $drinken = array ('bier', 'cola', 'cassis', 'sinas'); echo 'Drinken[6] = '.(bool)$drinken[6].'<br />'; echo 'Drinken[2] = '.(bool)$drinken[2].'<br />'; ?>

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.4.20.0120.00919.49
8.4.10.0030.00619.82
8.3.150.0140.00418.41
8.3.140.0080.00017.35
8.3.130.0080.00018.47
8.3.120.0090.00018.80
8.3.110.0060.00620.94
8.3.100.0100.00616.67
8.3.90.0000.00826.77
8.3.80.0060.00316.38
8.3.70.0110.00416.75
8.3.60.0070.00718.39
8.3.50.0210.00816.47
8.3.40.0160.00018.85
8.3.30.0090.00618.74
8.3.20.0080.00020.21
8.3.10.0080.00020.91
8.3.00.0000.00819.31
8.2.260.0120.00316.50
8.2.250.0120.00316.62
8.2.240.0100.00517.11
8.2.230.0100.00722.58
8.2.220.0030.00524.06
8.2.210.0120.00626.77
8.2.200.0040.00816.75
8.2.190.0110.00716.88
8.2.180.0180.00016.50
8.2.170.0120.00322.96
8.2.160.0100.00319.46
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0060.00617.63
8.2.110.0040.00720.98
8.2.100.0080.00417.91
8.2.90.0000.00819.21
8.2.80.0050.00318.05
8.2.70.0050.00317.75
8.2.60.0000.00817.93
8.2.50.0000.00818.16
8.2.40.0040.00420.59
8.2.30.0050.00319.29
8.2.20.0040.00418.02
8.2.10.0000.00718.05
8.2.00.0000.00818.03
8.1.310.0030.00618.27
8.1.300.0050.00319.54
8.1.290.0040.01130.84
8.1.280.0120.00625.92
8.1.270.0120.00624.66
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0060.00323.86
8.1.230.0080.00419.21
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0070.00317.13
8.1.190.0040.00417.13
8.1.180.0000.00818.10
8.1.170.0000.00918.51
8.1.160.0050.00218.93
8.1.150.0050.00318.76
8.1.140.0070.00019.64
8.1.130.0000.00718.82
8.1.120.0050.00317.38
8.1.110.0030.00517.45
8.1.100.0080.00017.46
8.1.90.0080.00017.32
8.1.80.0000.00817.47
8.1.70.0040.00417.43
8.1.60.0030.00717.46
8.1.50.0060.00317.52
8.1.40.0060.00317.50
8.1.30.0000.00717.63
8.1.20.0000.00717.66
8.1.10.0040.00417.64
8.1.00.0040.00417.53
8.0.300.0040.00420.07
8.0.290.0000.00816.72
8.0.280.0030.00318.44
8.0.270.0040.00417.24
8.0.260.0050.00518.77
8.0.250.0000.00717.05
8.0.240.0050.00216.99
8.0.230.0070.00017.03
8.0.220.0030.00516.84
8.0.210.0000.00716.96
8.0.200.0030.00316.92
8.0.190.0030.00617.05
8.0.180.0040.00416.86
8.0.170.0040.00416.93
8.0.160.0040.00416.79
8.0.150.0060.00316.88
8.0.140.0020.00516.89
8.0.130.0000.00513.36
8.0.120.0030.00516.87
8.0.110.0050.00216.86
8.0.100.0040.00416.98
8.0.90.0000.00716.92
8.0.80.0090.00917.00
8.0.70.0000.00717.07
8.0.60.0040.00416.83
8.0.50.0030.00317.02
8.0.30.0100.00717.13
8.0.20.0090.00917.40
8.0.10.0030.00617.04
8.0.00.0070.01016.71
7.4.330.0000.00415.55
7.4.320.0030.00316.55
7.4.300.0030.00316.51
7.4.290.0060.00016.39
7.4.280.0030.00316.40
7.4.270.0040.00416.49
7.4.260.0000.00716.52
7.4.250.0040.00416.48
7.4.240.0000.00716.50
7.4.230.0030.00316.70
7.4.220.0070.01116.68
7.4.210.0040.01116.49
7.4.200.0000.00816.34
7.4.160.0100.00616.49
7.4.150.0100.00717.40
7.4.140.0070.01217.86
7.4.130.0040.01516.55
7.4.120.0080.00916.54
7.4.110.0030.01316.45
7.4.100.0150.00616.57
7.4.90.0130.00316.51
7.4.80.0120.00919.39
7.4.70.0080.00816.48
7.4.60.0180.00316.38
7.4.50.0050.00716.32
7.4.40.0070.01016.49
7.4.30.0090.00916.59
7.4.00.0060.00614.82
7.3.330.0030.00313.12
7.3.320.0060.00013.16
7.3.310.0000.00716.39
7.3.300.0030.00316.38
7.3.290.0110.00716.36
7.3.280.0080.00816.32
7.3.270.0090.00917.40
7.3.260.0090.01116.50
7.3.250.0090.00916.41
7.3.240.0110.00516.61
7.3.230.0090.00916.35
7.3.210.0120.00616.52
7.3.200.0060.01216.45
7.3.190.0110.00716.36
7.3.180.0140.00316.24
7.3.170.0160.00616.43
7.3.160.0120.00316.55
7.3.10.0040.01116.48
7.3.00.0070.00816.53
7.2.330.0160.00616.67
7.2.320.0100.00616.70
7.2.310.0130.01016.43
7.2.300.0070.01716.39
7.2.290.0080.00816.66
7.2.130.0030.01116.94
7.2.120.0060.00816.81
7.2.110.0160.00716.69
7.2.100.0030.00816.93
7.2.90.0090.00717.02
7.2.80.0050.01016.78
7.2.70.0030.00916.93
7.2.60.0060.00616.93
7.2.50.0100.00316.84
7.2.40.0050.00916.79
7.2.30.0100.00517.01
7.2.20.0100.00516.93
7.2.10.0050.01016.76
7.2.00.0100.00516.94
7.1.250.0050.00815.51
7.1.240.0070.00715.42
7.1.230.0040.01115.54
7.1.220.0060.00615.72
7.1.210.0030.00915.90
7.1.200.0040.00415.56
7.1.190.0050.00515.52
7.1.180.0110.00015.42
7.1.170.0040.00415.26
7.1.160.0030.00715.78
7.1.150.0040.00815.47
7.1.140.0000.01015.73
7.1.130.0100.00615.73
7.1.120.0070.00715.64
7.1.110.0150.00315.83
7.1.100.0070.00715.64
7.1.90.0060.00615.74
7.1.80.0020.01417.12
7.1.70.0040.01216.59
7.1.60.0170.01328.62
7.1.50.0170.01228.27
7.1.40.0170.01228.12
7.1.30.0180.01328.15
7.1.20.0180.01428.12
7.1.10.0090.00916.28
7.1.00.0060.01116.27
7.0.330.0060.00614.98
7.0.320.0040.00815.18
7.0.310.0100.00314.92
7.0.300.0040.00815.10
7.0.290.0000.01015.36
7.0.280.0090.00615.33
7.0.270.0050.00315.29
7.0.260.0100.00315.34
7.0.250.0030.00715.13
7.0.240.0110.00815.54
7.0.230.0070.00315.47
7.0.220.0040.00815.08
7.0.210.0030.01015.34
7.0.200.0070.00916.41
7.0.190.0070.01016.41
7.0.180.0040.01115.89
7.0.170.0010.01715.80
7.0.160.0070.01115.85
7.0.150.0080.00715.95
7.0.140.0070.00815.94
7.0.130.0050.00916.08
7.0.120.0040.01216.17
7.0.110.0030.01115.90
7.0.100.0050.01016.04
7.0.90.0050.00716.14
7.0.80.0040.00915.99
7.0.70.0080.00715.91
7.0.60.0040.01215.88
7.0.50.0090.00715.97
7.0.40.0060.01215.29
7.0.30.0060.00915.41
7.0.20.0080.00615.49
7.0.10.0050.01015.50
7.0.00.0060.00915.59
5.6.380.0100.00314.16
5.6.370.0070.00714.09
5.6.360.0070.00714.02
5.6.350.0030.00714.38
5.6.340.0080.00414.39
5.6.330.0030.01114.04
5.6.320.0060.01013.92
5.6.310.0030.00714.43
5.6.300.0110.05018.60
5.6.290.0100.04518.62
5.6.280.0160.04618.75
5.6.270.0110.05018.84
5.6.260.0120.03818.66
5.6.250.0100.04818.59
5.6.240.0070.05018.61
5.6.230.0070.04918.53
5.6.220.0100.05218.55
5.6.210.0120.04918.53
5.6.200.0110.04918.65
5.6.190.0110.05618.77
5.6.180.0140.05018.62
5.6.170.0110.05118.52
5.6.160.0110.04518.64
5.6.150.0110.04618.57
5.6.140.0130.05118.60
5.6.130.0210.04318.76
5.6.120.0120.05818.71
5.6.110.0100.05718.76
5.6.100.0130.04818.61
5.6.90.0130.05418.71
5.6.80.0080.05218.19
5.6.70.0140.04718.24
5.6.60.0100.05818.36
5.6.50.0100.05518.23
5.6.40.0140.05118.19
5.6.30.0090.05018.18
5.6.20.0080.04418.22
5.6.10.0090.04018.26
5.6.00.0120.03918.15
5.5.380.0030.04514.23
5.5.370.0050.03614.17
5.5.360.0150.03314.20
5.5.350.0100.03314.18
5.5.340.0050.03414.49
5.5.330.0080.04114.46
5.5.320.0080.04014.53
5.5.310.0070.03814.46
5.5.300.0110.04114.52
5.5.290.0090.04414.34
5.5.280.0070.03914.62
5.5.270.0120.03014.60
5.5.260.0160.03214.56
5.5.250.0100.03714.47
5.5.240.0040.04014.03
5.5.230.0090.04014.31
5.5.220.0070.04514.26
5.5.210.0030.04714.20
5.5.200.0080.03914.28
5.5.190.0100.03214.19
5.5.180.0110.02614.15
5.5.170.0030.00710.90
5.5.160.0070.03614.05
5.5.150.0090.02914.03
5.5.140.0150.03114.11
5.5.130.0110.03014.15
5.5.120.0030.03714.10
5.5.110.0100.02914.21
5.5.100.0120.03114.13
5.5.90.0030.03014.13
5.5.80.0100.02914.23
5.5.70.0100.03414.05
5.5.60.0090.03314.01
5.5.50.0120.02714.05
5.5.40.0020.03414.05
5.5.30.0040.04113.94
5.5.20.0070.03714.21
5.5.10.0100.03214.09
5.5.00.0110.03614.13
5.4.450.0110.04215.16
5.4.440.0070.03615.08
5.4.430.0030.03515.11
5.4.420.0060.03915.07
5.4.410.0090.03714.94
5.4.400.0070.03514.85
5.4.390.0060.04214.91
5.4.380.0190.02915.04
5.4.370.0090.03614.94
5.4.360.0090.03214.91
5.4.350.0100.03314.94
5.4.340.0060.03114.91
5.4.330.0040.00410.90
5.4.320.0080.03114.95
5.4.310.0050.03214.92
5.4.300.0100.03014.98
5.4.290.0130.02814.95
5.4.280.0150.02314.94
5.4.270.0050.03914.89
5.4.260.0040.03414.99
5.4.250.0060.03414.91
5.4.240.0100.03014.93
5.4.230.0070.03114.95
5.4.220.0060.03914.98
5.4.210.0080.03014.96
5.4.200.0050.04314.95
5.4.190.0070.04214.96
5.4.180.0070.03014.94
5.4.170.0130.02914.92
5.4.160.0070.03915.04
5.4.150.0040.03514.96
5.4.140.0060.03713.74
5.4.130.0030.04213.81
5.4.120.0060.03713.65
5.4.110.0080.03513.71
5.4.100.0060.03413.63
5.4.90.0080.02713.70
5.4.80.0060.03213.84
5.4.70.0130.02713.84
5.4.60.0070.03113.75
5.4.50.0060.03113.62
5.4.40.0100.03513.69
5.4.30.0090.03613.68
5.4.20.0110.03613.68
5.4.10.0120.03613.62
5.4.00.0080.03613.46
5.3.290.0060.03112.80
5.3.280.0070.02812.74
5.3.270.0130.03112.85
5.3.260.0100.02812.82
5.3.250.0060.04012.82
5.3.240.0070.03312.86
5.3.230.0050.03912.79
5.3.220.0050.03912.83
5.3.210.0100.03512.73
5.3.200.0110.02812.82
5.3.190.0060.03212.73
5.3.180.0090.02912.81
5.3.170.0080.03412.71
5.3.160.0100.02912.72
5.3.150.0100.02912.82
5.3.140.0080.03112.81
5.3.130.0100.04112.72
5.3.120.0100.03912.80
5.3.110.0110.03712.64
5.3.100.0090.03612.56
5.3.90.0080.03712.42
5.3.80.0110.03512.51
5.3.70.0090.03612.45
5.3.60.0100.03212.47
5.3.50.0070.03512.44
5.3.40.0080.03512.45
5.3.30.0050.04112.43
5.3.20.0100.02812.20
5.3.10.0080.03712.24
5.3.00.0050.04112.26
5.2.170.0040.03211.13
5.2.160.0080.02811.08
5.2.150.0080.02911.07
5.2.140.0090.02611.01
5.2.130.0080.01911.07
5.2.120.0110.02011.02
5.2.110.0080.02610.96
5.2.100.0060.03011.11
5.2.90.0060.03110.90
5.2.80.0080.02510.90
5.2.70.0060.02311.10
5.2.60.0090.02810.94
5.2.50.0020.03411.03
5.2.40.0080.02610.94
5.2.30.0080.02611.00
5.2.20.0060.03011.03
5.2.10.0120.02011.01
5.2.00.0030.03210.86
5.1.60.0110.02110.43
5.1.50.0020.02610.54
5.1.40.0080.02410.46
5.1.30.0020.03210.75
5.1.20.0060.02810.72
5.1.10.0060.02510.62
5.1.00.0070.02010.59
5.0.50.0030.0229.79
5.0.40.0060.0209.75
5.0.30.0020.0379.61
5.0.20.0060.0159.65
5.0.10.0040.0199.58
5.0.00.0020.0269.63
4.4.90.0020.0199.02
4.4.80.0050.0129.02
4.4.70.0030.0169.02
4.4.60.0040.0169.02
4.4.50.0010.0189.02
4.4.40.0030.0239.02
4.4.30.0010.0189.02
4.4.20.0070.0159.02
4.4.10.0040.0169.02
4.4.00.0050.0239.02
4.3.110.0020.0159.02
4.3.100.0050.0149.02
4.3.90.0020.0159.02
4.3.80.0030.0209.02
4.3.70.0060.0129.02
4.3.60.0030.0149.02
4.3.50.0040.0139.02
4.3.40.0050.0189.02
4.3.30.0060.0119.02
4.3.20.0000.0189.02
4.3.10.0020.0169.02
4.3.00.0010.0169.02

preferences:
84.34 ms | 403 KiB | 5 Q