3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array( "Directeur" => "Marc Boes", "Adjunct Directeur" => "Willem Dumee", "Consulent Jongerenwerk" => "Dick Smit", "Jongerenwerker" => "Raymond van Bohemen" ); //foreach($arr as $title => $name) { // echo "<li>" . $title . ": " . $name . "</li>"; //} $i = 0; while($i < 10) { echo $arr[$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.3.70.0150.00316.50
8.3.60.0150.00018.19
8.3.50.0250.00721.98
8.3.40.0110.00418.61
8.3.30.0040.01119.14
8.3.20.0000.00820.34
8.3.10.0050.00323.66
8.3.00.0000.00822.53
8.2.180.0150.00416.63
8.2.170.0070.01122.96
8.2.160.0080.00822.05
8.2.150.0080.00024.18
8.2.140.0090.00024.66
8.2.130.0080.00026.16
8.2.120.0080.00019.36
8.2.110.0030.00622.25
8.2.100.0120.00017.91
8.2.90.0000.00819.35
8.2.80.0060.00317.97
8.2.70.0050.00517.75
8.2.60.0080.00417.77
8.2.50.0060.00318.07
8.2.40.0040.00418.09
8.2.30.0040.00418.26
8.2.20.0030.00517.84
8.2.10.0040.00417.67
8.2.00.0040.00417.75
8.1.280.0110.00425.92
8.1.270.0060.00322.15
8.1.260.0100.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00624.01
8.1.230.0120.00019.08
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0030.00717.13
8.1.190.0040.00417.30
8.1.180.0000.00818.10
8.1.170.0060.00318.55
8.1.160.0040.00421.93
8.1.150.0030.00618.52
8.1.140.0040.00417.49
8.1.130.0030.00317.81
8.1.120.0000.00717.50
8.1.110.0060.00317.49
8.1.100.0070.00017.36
8.1.90.0000.00817.36
8.1.80.0000.00717.38
8.1.70.0000.00717.43
8.1.60.0040.00417.59
8.1.50.0030.00517.54
8.1.40.0000.00817.57
8.1.30.0080.00017.47
8.1.20.0000.00817.48
8.1.10.0000.00717.71
8.1.00.0000.00717.44
8.0.300.0040.00418.77
8.0.290.0000.00816.93
8.0.280.0040.00418.39
8.0.270.0030.00317.15
8.0.260.0030.00316.84
8.0.250.0050.00316.86
8.0.240.0000.00816.90
8.0.230.0000.00816.79
8.0.220.0000.00716.75
8.0.210.0070.00016.86
8.0.200.0040.00416.80
8.0.190.0000.00716.80
8.0.180.0030.00616.92
8.0.170.0050.00316.77
8.0.160.0070.00016.77
8.0.150.0060.00316.77
8.0.140.0070.00016.80
8.0.130.0040.00413.36
8.0.120.0070.00016.69
8.0.110.0000.00816.67
8.0.100.0040.00416.76
8.0.90.0040.00416.79
8.0.80.0090.00916.83
8.0.70.0040.00416.68
8.0.60.0050.00316.81
8.0.50.0070.00016.83
8.0.30.0140.00817.03
8.0.20.0120.01317.40
8.0.10.0040.00416.90
8.0.00.0110.01316.69
7.4.330.0030.00315.08
7.4.320.0040.00416.33
7.4.300.0000.00716.44
7.4.290.0000.00716.33
7.4.280.0030.00316.40
7.4.270.0030.00416.41
7.4.260.0000.00716.29
7.4.250.0000.00716.33
7.4.240.0050.00216.32
7.4.230.0070.00016.20
7.4.220.0080.01516.45
7.4.210.0090.01316.39
7.4.200.0000.00716.31
7.4.190.0040.00316.37
7.4.160.0050.01516.47
7.4.150.0120.00917.40
7.4.140.0160.00817.86
7.4.130.0160.00716.41
7.4.120.0140.01516.38
7.4.110.0100.01016.54
7.4.100.0110.02116.30
7.4.90.0100.02016.38
7.4.80.0090.00916.57
7.4.70.0140.00516.36
7.4.60.0080.01316.31
7.4.50.0050.00016.36
7.4.40.0100.00722.77
7.4.30.0130.00616.31
7.3.330.0101.98913.23
7.3.320.0002.00313.16
7.3.310.0030.00316.25
7.3.300.0030.00316.20
7.3.290.0060.00916.30
7.3.280.0070.01116.21
7.3.270.0100.01017.40
7.3.260.0140.00916.55
7.3.250.0090.01216.36
7.3.240.0190.00516.45
7.3.230.0160.00916.43
7.3.210.0090.01516.30
7.3.200.0110.01719.39
7.3.190.0130.01016.13
7.3.180.0080.01816.19
7.3.170.0130.01016.27
7.3.160.0180.00916.27
7.2.330.0170.00316.64
7.2.320.0170.00616.47
7.2.310.0140.00716.73
7.2.300.0090.00916.66
7.2.290.0110.00716.64
7.2.100.0880.00614.32
7.2.90.1300.00914.64
7.2.80.0580.01114.32
7.2.70.0200.00014.45
7.2.60.0140.01414.95
7.2.50.1090.00914.97
7.2.40.0140.01214.61
7.2.30.0680.00614.52
7.2.20.0560.00314.59
7.2.10.0730.00614.52
7.2.00.1060.00714.71
7.1.220.0650.00913.74
7.1.210.0990.00713.32
7.1.200.0720.00613.76
7.1.190.1360.00313.56
7.1.180.0790.00513.52
7.1.170.1030.00613.63
7.1.160.0130.02013.50
7.1.150.0240.00013.31
7.1.140.0180.00613.24
7.1.130.0940.00613.68
7.1.120.0290.01013.97
7.1.110.0170.00513.72
7.1.100.0090.01513.48
7.1.90.1160.00013.93
7.1.80.1180.01413.62
7.0.310.0180.00413.46
7.0.300.1350.00313.17
7.0.290.0490.00412.98
7.0.280.0470.00613.07
7.0.270.0600.00713.55
7.0.260.0140.00713.11
7.0.250.0330.01313.54
7.0.240.1110.00313.40
7.0.230.1200.00613.23
7.0.220.0130.00913.23
5.6.380.0080.00813.93
5.6.370.0200.00014.29
5.6.360.0090.00913.93
5.6.350.0130.00513.75
5.6.340.0090.01213.89
5.6.330.0070.01014.25
5.6.320.0100.00314.15

preferences:
40.2 ms | 401 KiB | 5 Q