3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ 'Rhine Riesling1|0,75 l|9,50 &euro', 'Rhine Riesling2|0,75 l|9,50 &euro', 'Rhine Riesling3|0,75 l|9,50 &euro', 'Rhine Riesling4|0,75 l|9,50 &euro', ]; echo '<ul class="listmenuitems" id="listingmenu_1">' . "\n"; foreach ($array as $psv) { // pipe-separated values vprintf( "\t" . '<li><p>%s <span>%s</span></p> <span class="listmenuprice">%s;</span></li>' . "\n", explode('|', $psv) ); } echo '</ul>';

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.5.00.0080.01419.93
8.4.150.0080.00517.81
8.4.140.0150.00617.50
8.4.130.0150.00717.70
8.4.120.0120.00723.88
8.4.110.0080.00922.45
8.4.100.0120.00817.79
8.4.90.0060.00417.66
8.4.80.0100.00920.57
8.4.70.0150.00517.48
8.4.60.0140.00617.57
8.4.50.0100.01017.61
8.4.40.0130.01017.70
8.4.30.0080.01120.50
8.4.20.0100.01017.97
8.4.10.0070.01319.47
8.3.280.0020.00014.05
8.3.270.0120.00816.43
8.3.260.0110.00816.57
8.3.250.0030.00517.09
8.3.240.0120.00616.49
8.3.230.0100.00916.79
8.3.220.0110.00817.40
8.3.210.0120.00616.82
8.3.200.0170.00216.68
8.3.190.0120.00616.88
8.3.180.0040.00416.61
8.3.170.0140.00418.81
8.3.160.0100.00017.16
8.3.150.0090.00917.32
8.3.140.0070.00716.68
8.3.130.0080.00018.48
8.3.120.0100.00020.65
8.3.110.0080.00020.94
8.3.100.0090.00624.06
8.3.90.0000.00826.77
8.3.80.0040.00418.29
8.3.70.0110.01118.30
8.3.60.0110.00416.62
8.3.50.0090.00916.44
8.3.40.0070.00721.89
8.3.30.0120.00922.96
8.3.20.0060.01223.29
8.3.10.0100.01023.52
8.3.00.0100.01022.96
8.2.290.0100.01020.31
8.2.280.0060.00318.26
8.2.270.0120.00618.82
8.2.260.0160.00016.67
8.2.250.0110.00716.63
8.2.240.0110.00016.98
8.2.230.0090.00022.58
8.2.220.0040.00437.54
8.2.210.0080.00026.77
8.2.200.0090.00016.38
8.2.190.0080.00816.58
8.2.180.0040.01116.62
8.2.170.0070.01322.96
8.2.160.0100.00722.96
8.2.150.0100.01022.96
8.2.140.0090.00622.96
8.2.130.0140.00722.96
8.2.120.0140.00022.96
8.2.110.0100.01022.96
8.2.100.0130.00622.96
8.2.90.0040.01122.96
8.2.80.0170.00022.96
8.2.70.0120.00322.96
8.2.60.0090.00622.96
8.2.50.0150.00022.96
8.2.40.0090.00622.96
8.2.30.0150.00322.96
8.2.20.0040.01222.96
8.2.10.0040.01422.96
8.2.00.0090.00922.96
8.1.330.0110.00716.59
8.1.320.0100.00917.87
8.1.310.0000.01718.46
8.1.300.0060.00316.18
8.1.290.0030.00630.84
8.1.280.0140.00725.92
8.1.270.0110.00422.96
8.1.260.0040.01122.96
8.1.250.0120.00322.96
8.1.240.0060.00922.96
8.1.230.0070.00722.96
8.1.220.0090.00622.96
8.1.210.0090.00922.96
8.1.200.0180.00022.96
8.1.190.0140.00322.96
8.1.180.0070.00722.96
8.1.170.0170.00022.96
8.1.160.0110.00722.96
8.1.150.0150.00322.96
8.1.140.0070.00722.96
8.1.130.0110.00422.96
8.1.120.0140.00722.96
8.1.110.0040.01122.96
8.1.100.0070.00722.96
8.1.90.0070.00722.96
8.1.80.0070.00722.96
8.1.70.0140.00722.96
8.1.60.0140.00722.96
8.1.50.0130.00322.96
8.1.40.0070.01022.96
8.1.30.0030.01722.96
8.1.20.0070.00722.96
8.1.10.0090.00922.96
8.1.00.0150.00422.96

preferences:
78.46 ms | 403 KiB | 5 Q