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.60.0100.01016.63
8.3.50.0110.00918.46
8.3.40.0060.00918.77
8.3.30.0060.00918.82
8.3.20.0120.00318.74
8.3.10.0080.00020.53
8.3.00.0030.00619.51
8.2.180.0070.01016.38
8.2.170.0140.00022.96
8.2.160.0100.00719.04
8.2.150.0090.00624.18
8.2.140.0000.00824.66
8.2.130.0000.00826.16
8.2.120.0140.00021.02
8.2.110.0000.01119.32
8.2.100.0070.00717.91
8.2.90.0050.00319.34
8.2.80.0050.00219.42
8.2.70.0040.00417.75
8.2.60.0050.00317.93
8.2.50.0040.00418.07
8.2.40.0030.00718.16
8.2.30.0040.00418.07
8.2.20.0030.00717.69
8.2.10.0040.00417.85
8.2.00.0050.00217.75
8.1.270.0000.00823.99
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0030.00623.97
8.1.230.0040.00720.98
8.1.220.0000.00918.77
8.1.210.0000.00919.08
8.1.200.0060.00317.23
8.1.190.0000.00817.53
8.1.180.0040.00418.10
8.1.170.0060.00318.83
8.1.160.0000.00718.82
8.1.150.0060.00318.54
8.1.140.0070.00017.48
8.1.130.0000.00717.77
8.1.120.0070.00017.38
8.1.110.0080.00417.45
8.1.100.0030.00417.51
8.1.90.0000.00717.37
8.1.80.0030.00317.36
8.1.70.0070.00017.46
8.1.60.0070.00017.64
8.1.50.0000.00817.38
8.1.40.0040.00417.53
8.1.30.0040.00417.56
8.1.20.0040.00417.65
8.1.10.0000.00717.66
8.1.00.0000.00817.46
8.0.300.0000.00719.97
8.0.290.0040.00416.75
8.0.280.0070.00018.38
8.0.270.0030.00317.32
8.0.260.0000.00616.76
8.0.250.0050.00317.11
8.0.240.0000.00916.93
8.0.230.0070.00017.05
8.0.220.0040.00416.94
8.0.210.0050.00216.95
8.0.200.0000.00716.91
8.0.190.0070.00017.03
8.0.180.0070.00016.91
8.0.170.0000.00916.89
8.0.160.0070.00016.84
8.0.150.0060.00316.91
8.0.140.0030.00716.81
8.0.130.0000.00613.43
8.0.120.0000.00816.83
8.0.110.0000.00716.86
8.0.100.0040.00416.85
8.0.90.0030.00316.99
8.0.80.0130.00316.94
8.0.70.0040.00416.87
8.0.60.0000.00716.93
8.0.50.0070.00016.99
8.0.30.0130.00617.07
8.0.20.0160.00317.17
8.0.10.0050.00217.11
8.0.00.0140.00716.78
7.4.330.0000.00613.04
7.4.320.0030.00316.39
7.4.300.0030.00316.69
7.4.290.0030.00316.52
7.4.280.0030.00316.43
7.4.270.0000.00716.46
7.4.260.0030.00313.28
7.4.250.0040.00416.51
7.4.240.0030.00316.60
7.4.230.0040.00416.35
7.4.220.0060.01316.61
7.4.210.0070.01416.36
7.4.200.0050.00216.59
7.4.190.0040.00416.50
7.4.160.0100.00716.41
7.4.150.0070.01116.48
7.4.140.0080.00816.64
7.4.130.0090.00816.60
7.4.120.0180.00716.46
7.4.110.0070.01016.64
7.4.100.0090.00616.38
7.4.90.0070.01116.61
7.4.80.0150.00616.39
7.4.70.0100.01016.36
7.4.60.0160.00016.57
7.4.50.0030.00316.21
7.4.40.0100.00716.61
7.4.30.0120.00416.38
7.3.330.0000.00613.26
7.3.320.0030.00513.17
7.3.310.0030.00316.35
7.3.300.0030.00316.25
7.3.290.0080.00616.44
7.3.280.0110.00516.44
7.3.270.0100.00716.44
7.3.260.0070.01016.73
7.3.250.0090.01516.50
7.3.240.0070.01416.63
7.3.230.0130.00416.44
7.3.210.0180.00916.46
7.3.200.0110.00616.44
7.3.190.0100.00616.37
7.3.180.0030.01416.47
7.3.170.0110.00416.45
7.3.160.0090.01316.47
7.2.330.0120.00816.44
7.2.320.0100.00716.14
7.2.310.0100.00716.51
7.2.300.0150.00516.41
7.2.290.0040.01116.47
5.4.230.0370.03019.21
5.4.220.0330.04019.14
5.4.210.0270.07019.06
5.4.200.0230.03318.87
5.4.190.0130.05718.84
5.4.180.0170.04719.30
5.4.170.0300.06718.93
5.4.160.0170.06018.96
5.4.150.0230.06719.22
5.4.140.0170.07316.32
5.4.130.0270.04716.33
5.4.120.0270.05316.38
5.4.110.0130.05316.45
5.4.100.0200.03316.54
5.4.90.0200.04016.26
5.4.80.0200.04316.54
5.4.70.0330.06016.27
5.4.60.0070.04316.54
5.4.50.0170.06016.33
5.4.40.0230.04016.43
5.4.30.0270.06316.52
5.4.20.0270.04716.25
5.4.10.0200.07016.34
5.4.00.0170.05015.79
5.3.280.0270.07014.45
5.3.270.0130.06314.55
5.3.260.0200.07014.56
5.3.250.0170.03714.46
5.3.240.0230.03714.69
5.3.230.0230.07714.47
5.3.220.0200.07714.43
5.3.210.0230.07314.55
5.3.200.0230.06714.47
5.3.190.0170.08314.40
5.3.180.0370.05714.44
5.3.170.0200.03314.51
5.3.160.0300.05714.41
5.3.150.0270.05014.40
5.3.140.0200.07314.39
5.3.130.0230.06714.52
5.3.120.0170.05014.39
5.3.110.0300.05714.39
5.3.100.0230.07314.07
5.3.90.0200.06313.98
5.3.80.0200.07013.85
5.3.70.0270.04013.86
5.3.60.0100.05314.10
5.3.50.0230.06014.04
5.3.40.0170.05313.90
5.3.30.0230.06313.76
5.3.20.0170.07313.52
5.3.10.0170.03713.59
5.3.00.0170.07713.42

preferences:
52.89 ms | 400 KiB | 5 Q