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 = ""; foreach($result as $row) { $abc=''; $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.01120.74
8.4.110.0110.01018.72
8.4.100.0040.00617.59
8.4.90.0030.00620.61
8.4.80.0120.00820.42
8.4.70.0080.01219.15
8.4.60.0100.00720.27
8.4.50.0050.00518.76
8.4.40.0060.00917.45
8.4.30.0120.00622.65
8.4.20.0070.01419.47
8.4.10.0000.00922.12
8.3.250.0120.00718.98
8.3.240.0090.00916.77
8.3.230.0110.00716.57
8.3.220.0100.00518.80
8.3.210.0100.00516.52
8.3.200.0070.00216.80
8.3.190.0110.00917.27
8.3.180.0100.00820.86
8.3.170.0130.00320.59
8.3.160.0110.00717.17
8.3.150.0110.00717.05
8.3.140.0000.00816.72
8.3.130.0060.01018.43
8.3.120.0000.01219.09
8.3.110.0110.00420.94
8.3.100.0100.00716.56
8.3.90.0150.00326.77
8.3.80.0090.00018.42
8.3.70.0120.00418.56
8.3.60.0100.01020.35
8.3.50.0110.00418.10
8.3.40.0100.00620.31
8.3.30.0000.01420.40
8.3.20.0040.00424.18
8.3.10.0060.00324.66
8.3.00.0040.00426.16
8.2.290.0140.00517.23
8.2.280.0130.00618.30
8.2.270.0080.01117.27
8.2.260.0100.00016.49
8.2.250.0040.00416.66
8.2.240.0030.00617.19
8.2.230.0060.00322.58
8.2.220.0080.00037.54
8.2.210.0070.01026.77
8.2.200.0060.00316.50
8.2.190.0080.00816.58
8.2.180.0140.00316.50
8.2.170.0090.00618.91
8.2.160.0060.00922.96
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0070.00026.16
8.2.120.0040.00421.87
8.2.110.0070.00321.06
8.2.100.0070.00417.91
8.2.90.0040.00417.97
8.2.80.0000.00919.14
8.2.70.0150.00279.33
8.2.60.0190.00079.33
8.2.50.0160.00379.33
8.2.40.0110.00579.33
8.2.30.0130.00379.33
8.2.20.0070.01079.33
8.2.10.0120.00479.33
8.2.00.0110.00579.33
8.1.330.0070.00216.06
8.1.320.0090.01015.94
8.1.310.0090.00916.57
8.1.300.0060.00318.53
8.1.290.0090.00030.84
8.1.280.0140.00725.92
8.1.270.0000.00824.66
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0080.00022.07
8.1.230.0080.00420.68
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0130.00379.33
8.1.190.0120.00479.33
8.1.180.0130.00379.33
8.1.170.0120.00479.33
8.1.160.0140.00579.33
8.1.150.0080.00879.33
8.1.140.0120.00579.33
8.1.130.0080.00879.33
8.1.120.0150.00379.33
8.1.110.0130.00479.33
8.1.100.0120.00679.33
8.1.90.0070.01179.33
8.1.80.0050.01179.33
8.1.70.0100.00679.33
8.1.60.0180.00079.33
8.1.50.0170.00079.33
8.1.40.0110.00879.33
8.1.30.0170.00079.33
8.1.20.0170.00079.33
8.1.10.0130.00679.33
8.1.00.0120.00679.33
8.0.300.0040.00420.01
8.0.290.0080.00879.33
8.0.280.0120.00379.33
8.0.270.0170.00079.33
8.0.260.0140.00579.33
8.0.250.0080.00879.33
8.0.240.0080.00879.33
8.0.230.0080.00879.33
8.0.220.0150.00079.33
8.0.210.0160.00079.33
8.0.200.0150.00379.33
8.0.190.0140.00379.33
8.0.180.0080.01079.33
8.0.170.0110.00779.33
8.0.160.0130.00579.33
8.0.150.0170.00079.33
8.0.140.0100.00779.33
8.0.130.0070.01079.33
8.0.120.0120.00579.33
8.0.110.0100.00379.33
8.0.100.0080.00879.33
8.0.90.0170.00079.33
8.0.80.0140.00279.33
8.0.70.0060.01179.33
8.0.60.0100.00679.33
8.0.50.0120.00479.33
8.0.30.0110.00779.33
8.0.20.0090.00679.33
8.0.10.0150.00079.33

preferences:
27.22 ms | 403 KiB | 5 Q