3v4l.org

run code in 300+ PHP versions simultaneously
<?php $result = [ ['fine_type' => 'a:3:{i:0;s:2:"66";i:1;s:2:"13";i:2;s:1:"9";}'], ['fine_type' => 'a:3:{i:0;s:2:"99";i:1;s:2:"10";i:2;s:1:"1";}'], ]; $output = ""; $abc=''; foreach($result as $row) { $fine_types = unserialize($row['fine_type']); echo "<td>"; foreach ($fine_types as $fine_type) { $abc .="<div dir='rtl' lang='ar' class='fntype'> ".$fine_type.'</div>'; } echo "</td>"; $output .= ' <tr> <td style="text-align:right;">' . $abc . '</td></tr>'; } echo $output;

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.120.0090.00620.68
8.4.110.0080.01318.81
8.4.100.0140.00617.63
8.4.90.0080.01220.65
8.4.80.0070.00220.74
8.4.70.0040.00517.98
8.4.60.0080.00317.83
8.4.50.0160.00719.57
8.4.40.0100.01017.65
8.4.30.0060.01220.30
8.4.20.0100.01019.60
8.4.10.0090.00022.13
8.3.250.0140.00518.95
8.3.240.0080.01016.86
8.3.230.0050.00516.66
8.3.220.0060.00219.06
8.3.210.0050.00318.35
8.3.200.0120.00716.69
8.3.190.0110.00816.72
8.3.180.0090.00816.71
8.3.170.0100.01017.25
8.3.160.0040.00418.50
8.3.150.0070.01120.85
8.3.140.0140.00318.17
8.3.130.0030.00618.66
8.3.120.0040.00419.02
8.3.110.0040.00420.94
8.3.100.0040.01524.06
8.3.90.0120.00626.77
8.3.80.0040.00418.26
8.3.70.0070.01116.61
8.3.60.0070.00720.22
8.3.50.0040.01116.57
8.3.40.0100.01020.38
8.3.30.0100.00320.40
8.3.20.0040.00424.18
8.3.10.0020.00524.66
8.3.00.0040.00426.16
8.2.290.0120.00716.56
8.2.280.0100.00916.82
8.2.270.0120.00617.23
8.2.260.0040.00422.39
8.2.250.0000.00916.70
8.2.240.0120.00618.04
8.2.230.0060.00322.58
8.2.220.0130.00737.54
8.2.210.0070.01026.77
8.2.200.0100.00716.63
8.2.190.0110.00716.58
8.2.180.0130.00325.92
8.2.170.0150.00019.00
8.2.160.0070.00722.96
8.2.150.0000.00725.66
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0080.00026.16
8.2.110.0110.00022.11
8.2.100.0030.00917.91
8.2.90.0080.00017.87
8.2.80.0000.00819.11
8.2.70.0040.00779.33
8.2.60.0050.00579.33
8.2.50.0080.00479.33
8.2.40.0050.00579.33
8.2.30.0050.00579.33
8.2.20.0000.01279.33
8.2.10.0040.00879.33
8.2.00.0090.00379.33
8.1.330.0090.00916.23
8.1.320.0050.00516.19
8.1.310.0060.00316.71
8.1.300.0090.00918.00
8.1.290.0000.00930.84
8.1.280.0040.01225.92
8.1.270.0030.00524.66
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0060.00322.04
8.1.230.0110.00020.88
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0090.00379.33
8.1.190.0040.00879.33
8.1.180.0070.00479.33
8.1.170.0110.00079.33
8.1.160.0110.00079.33
8.1.150.0090.00379.33
8.1.140.0110.00079.33
8.1.130.0100.00079.33
8.1.120.0060.00679.33
8.1.110.0050.00579.33
8.1.100.0080.00579.33
8.1.90.0070.00379.33
8.1.80.0030.00879.33
8.1.70.0060.01179.33
8.1.60.0100.00279.33
8.1.50.0040.00879.33
8.1.40.0070.00379.33
8.1.30.0080.00379.33
8.1.20.0050.00579.33
8.1.10.0100.00379.33
8.1.00.0070.00479.33
8.0.300.0000.00720.09
8.0.290.0050.00579.33
8.0.280.0030.00679.33
8.0.270.0030.00679.33
8.0.260.0040.00879.33
8.0.250.0030.00679.33
8.0.240.0070.00379.33
8.0.230.0050.00579.33
8.0.220.0050.00579.33
8.0.210.0050.00579.33
8.0.200.0090.00079.33
8.0.190.0090.00379.33
8.0.180.0070.00379.33
8.0.170.0030.00779.33
8.0.160.0030.00979.33
8.0.150.0000.01179.33
8.0.140.0040.00879.33
8.0.130.0000.01079.33
8.0.120.0000.00979.33
8.0.110.0060.00379.33
8.0.100.0100.00079.33
8.0.90.0060.00379.33
8.0.80.0000.00979.33
8.0.70.0000.00879.33
8.0.60.0040.00479.33
8.0.50.0050.00379.33
8.0.30.0060.00379.33
8.0.20.0040.00479.33
8.0.10.0090.00079.33

preferences:
14.91 ms | 403 KiB | 5 Q