3v4l.org

run code in 300+ PHP versions simultaneously
<?php if (true) { $count++; $block_1 .= <<<EOT <figure id="img{$count}"> <div class="image"><img src="{$row['imgpath']}" alt="{$row['shortdesc']}"></div><figcaption> <h1 class="product">{$row['product']}</h1> <p class="description">{$row['longdesc']}</p> </figcaption> </figure> EOT; $block_2 .= '<a href="#img'.$count.'"><img src="'.$row['imgpath'].'" alt="'.$row['shortdesc'].'"></a>'; } var_dump($block_1);

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.40.0100.00319.02
8.3.30.0100.00320.04
8.3.20.0140.00420.34
8.3.10.0080.00021.04
8.3.00.0030.00622.38
8.2.170.0130.00722.96
8.2.160.0070.01322.12
8.2.150.0110.00724.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00020.73
8.2.110.0030.00620.39
8.2.100.0040.00818.03
8.2.90.0040.00419.30
8.2.80.0030.00618.04
8.2.70.0000.00817.62
8.2.60.0030.00618.05
8.2.50.0000.00818.07
8.2.40.0000.00818.34
8.2.30.0050.00319.34
8.2.20.0000.00717.62
8.2.10.0040.00417.65
8.2.00.0040.00417.59
8.1.270.0060.00923.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00322.00
8.1.230.0070.00322.23
8.1.220.0040.00418.77
8.1.210.0090.00318.85
8.1.200.0030.00617.35
8.1.190.0030.00617.40
8.1.180.0040.00418.10
8.1.170.0080.00018.56
8.1.160.0040.00418.81
8.1.150.0000.00718.71
8.1.140.0030.00617.44
8.1.130.0030.00317.84
8.1.120.0000.00817.40
8.1.110.0090.00017.43
8.1.100.0040.00417.44
8.1.90.0050.00317.46
8.1.80.0080.00017.39
8.1.70.0070.00017.48
8.1.60.0120.00017.57
8.1.50.0000.00817.56
8.1.40.0000.00717.53
8.1.30.0080.00017.54
8.1.20.0050.00317.63
8.1.10.0080.00017.46
8.1.00.0000.00717.60
8.0.300.0000.00819.91
8.0.290.0060.00317.18
8.0.280.0070.00018.43
8.0.270.0000.00717.34
8.0.260.0060.00016.91
8.0.250.0050.00216.92
8.0.240.0000.00816.95
8.0.230.0000.00817.06
8.0.220.0000.00816.91
8.0.210.0030.00317.00
8.0.200.0070.00016.96
8.0.190.0000.00717.11
8.0.180.0030.00517.03
8.0.170.0040.00417.02
8.0.160.0050.00216.81
8.0.150.0000.00716.97
8.0.140.0060.00316.87
8.0.130.0030.00313.34
8.0.120.0030.00616.97
8.0.110.0050.00317.01
8.0.100.0000.00716.94
8.0.90.0040.00416.93
8.0.80.0060.01316.96
8.0.70.0040.00416.89
8.0.60.0050.00216.87
8.0.50.0040.00416.85
8.0.30.0100.00917.09
8.0.20.0070.01517.40
8.0.10.0040.00416.91
8.0.00.0080.01116.71
7.4.330.0000.00616.83
7.4.320.0030.00316.61
7.4.300.0000.00616.53
7.4.290.0030.00316.43
7.4.280.0030.00316.51
7.4.270.0030.00316.44
7.4.260.0000.00513.30
7.4.250.0000.00716.54
7.4.240.0050.00216.49
7.4.230.0000.00716.38
7.4.220.0070.01016.57
7.4.210.0050.00916.52
7.4.200.0070.00016.45
7.4.190.0040.00416.48
7.4.160.0100.00716.53
7.4.150.0120.00617.40
7.4.140.0110.00717.86
7.4.130.0080.00816.38
7.4.120.0110.01116.51
7.4.110.0140.00316.73
7.4.100.0130.01016.53
7.4.90.0070.01016.66
7.4.80.0040.01419.39
7.4.70.0090.00916.53
7.4.60.0070.01016.29
7.4.50.0050.00316.44
7.4.40.0040.01522.77
7.4.30.0090.00916.36
7.3.330.0050.00013.34
7.3.320.0020.00213.21
7.3.310.0040.00416.24
7.3.300.0070.00016.32
7.3.290.0030.01016.45
7.3.280.0080.00816.44
7.3.270.0130.00517.40
7.3.260.0140.00318.24
7.3.250.0110.00916.45
7.3.240.0130.00716.63
7.3.230.0170.00316.39
7.3.210.0140.00416.36
7.3.200.0030.00719.39
7.3.190.0050.01316.56
7.3.180.0100.01316.63
7.3.170.0050.01016.44
7.3.160.0130.00316.52
7.2.330.0060.01316.58
7.2.320.0060.01416.54
7.2.310.0090.00916.47
7.2.300.0080.00816.25
7.2.290.0030.01316.55
5.4.230.0100.04112.38
5.4.220.0150.05012.38
5.4.210.0130.03812.38
5.4.200.0100.04312.38
5.4.190.0110.04212.38
5.4.180.0110.04112.37
5.4.170.0100.04112.38
5.4.160.0140.03712.38
5.4.150.0100.03912.38
5.4.140.0180.04212.07
5.4.130.0100.03912.05
5.4.120.0090.04112.01
5.4.110.0110.04012.01
5.4.100.0100.04112.01
5.4.90.0120.03912.00
5.4.80.0090.04112.01
5.4.70.0090.03912.00
5.4.60.0120.03612.00
5.4.50.0120.03712.00
5.4.40.0090.03811.99
5.4.30.0110.03711.99
5.4.20.0100.03811.98
5.4.10.0120.04011.98
5.4.00.0100.03811.48
5.3.280.0100.04412.71
5.3.270.0140.04212.72
5.3.260.0090.04512.72
5.3.250.0110.04312.72
5.3.240.0140.03912.72
5.3.230.0110.04112.71
5.3.220.0110.04112.68
5.3.210.0110.04212.68
5.3.200.0130.03712.68
5.3.190.0100.04012.67
5.3.180.0100.04212.67
5.3.170.0100.04112.67
5.3.160.0120.03812.67
5.3.150.0120.04212.67
5.3.140.0130.03812.66
5.3.130.0090.04212.66
5.3.120.0110.05012.66
5.3.110.0120.04012.66
5.3.100.0100.04112.12
5.3.90.0080.04112.08
5.3.80.0100.04412.07
5.3.70.0160.05612.08
5.3.60.0100.03912.06
5.3.50.0080.04312.00
5.3.40.0100.04012.00
5.3.30.0140.04011.95
5.3.20.0080.04011.72
5.3.10.0100.03611.69
5.3.00.0100.03811.68

preferences:
37.59 ms | 400 KiB | 5 Q