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.0110.00418.43
8.3.50.0120.01121.21
8.3.40.0110.00418.83
8.3.30.0110.00620.21
8.3.20.0110.01120.34
8.3.10.0050.00321.02
8.3.00.0040.00422.34
8.2.180.0130.00618.43
8.2.170.0030.01522.96
8.2.160.0070.01322.10
8.2.150.0090.00024.18
8.2.140.0040.00424.66
8.2.130.0060.00326.16
8.2.120.0000.00820.82
8.2.110.0060.00321.04
8.2.100.0060.00617.60
8.2.90.0030.00618.03
8.2.80.0030.00618.16
8.2.70.0040.00417.75
8.2.60.0000.01017.50
8.2.50.0040.00417.63
8.2.40.0080.00017.93
8.2.30.0070.00019.37
8.2.20.0080.00019.52
8.2.10.0080.00017.84
8.2.00.0040.00417.75
8.1.280.0110.00425.92
8.1.270.0090.00623.99
8.1.260.0080.00026.35
8.1.250.0050.00328.09
8.1.240.0090.00023.83
8.1.230.0070.00720.92
8.1.220.0030.00617.74
8.1.210.0040.00418.77
8.1.200.0040.00417.13
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0080.00017.62
8.1.160.0040.00418.91
8.1.150.0040.00418.57
8.1.140.0080.00017.46
8.1.130.0030.00317.84
8.1.120.0000.00717.45
8.1.110.0050.00517.41
8.1.100.0060.00317.34
8.1.90.0000.00717.45
8.1.80.0000.00717.38
8.1.70.0030.00317.45
8.1.60.0000.01117.61
8.1.50.0040.00417.42
8.1.40.0000.00817.49
8.1.30.0060.00317.50
8.1.20.0080.00017.56
8.1.10.0040.00417.56
8.1.00.0060.00317.41
8.0.300.0040.00420.09
8.0.290.0000.00716.75
8.0.280.0000.00718.48
8.0.270.0030.00317.32
8.0.260.0080.00016.82
8.0.250.0000.00717.04
8.0.240.0040.00417.06
8.0.230.0040.00516.96
8.0.220.0030.00316.87
8.0.210.0040.00417.00
8.0.200.0030.00317.00
8.0.190.0000.00716.91
8.0.180.0040.00417.02
8.0.170.0040.00416.89
8.0.160.0000.00816.95
8.0.150.0030.00516.86
8.0.140.0040.00716.82
8.0.130.0050.00013.37
8.0.120.0070.00016.93
8.0.110.0040.00417.02
8.0.100.0040.00416.92
8.0.90.0000.00716.98
8.0.80.0060.01317.04
8.0.70.0000.00716.94
8.0.60.0020.00516.94
8.0.50.0000.00817.09
8.0.30.0120.00617.10
8.0.20.0090.01117.40
8.0.10.0000.00717.10
8.0.00.0090.00916.76
7.4.330.0030.00316.77
7.4.320.0030.00316.51
7.4.300.0060.00016.61
7.4.290.0040.00416.52
7.4.280.0030.00316.62
7.4.270.0000.00716.54
7.4.260.0000.00513.31
7.4.250.0040.00416.58
7.4.240.0040.00416.55
7.4.230.0030.00316.46
7.4.220.0180.00716.61
7.4.210.0080.00716.48
7.4.200.0070.00016.59
7.4.190.0070.00016.65
7.4.160.0090.00916.68
7.4.150.0120.00617.40
7.4.140.0100.01017.86
7.4.130.0110.00616.53
7.4.120.0070.01316.57
7.4.110.0030.01316.45
7.4.100.0140.00716.47
7.4.90.0110.00716.46
7.4.80.0080.00819.39
7.4.70.0080.00816.48
7.4.60.0110.00516.55
7.4.50.0090.00016.16
7.4.40.0000.01622.77
7.4.30.0070.01016.31
7.3.330.0050.00013.23
7.3.320.0000.00513.30
7.3.310.0040.00416.55
7.3.300.0000.00716.46
7.3.290.0070.00716.38
7.3.280.0090.00516.36
7.3.270.0060.01217.40
7.3.260.0070.01018.24
7.3.250.0120.01116.54
7.3.240.0110.00716.41
7.3.230.0030.01416.64
7.3.210.0080.00816.38
7.3.200.0100.01019.39
7.3.190.0140.00716.61
7.3.180.0110.00516.44
7.3.170.0160.00016.45
7.3.160.0130.00616.34
7.2.330.0060.01316.47
7.2.320.0090.00916.49
7.2.310.0140.00416.55
7.2.300.0130.00316.26
7.2.290.0140.00316.54
5.4.230.0080.04212.37
5.4.220.0060.03712.37
5.4.210.0060.03612.36
5.4.200.0110.04312.37
5.4.190.0100.04712.36
5.4.180.0070.04512.36
5.4.170.0080.04412.37
5.4.160.0070.04012.36
5.4.150.0070.03712.36
5.4.140.0080.04112.05
5.4.130.0060.04012.04
5.4.120.0090.04012.00
5.4.110.0080.03612.00
5.4.100.0070.03712.00
5.4.90.0070.04011.99
5.4.80.0070.04311.99
5.4.70.0070.03911.99
5.4.60.0060.03911.99
5.4.50.0080.03911.99
5.4.40.0080.03811.97
5.4.30.0090.03711.97
5.4.20.0060.03911.97
5.4.10.0080.03911.97
5.4.00.0040.03811.46
5.3.280.0070.03812.70
5.3.270.0100.04212.72
5.3.260.0070.04712.72
5.3.250.0090.04112.72
5.3.240.0080.04312.72
5.3.230.0050.04312.71
5.3.220.0060.03912.68
5.3.210.0060.04212.68
5.3.200.0060.04312.68
5.3.190.0090.04112.68
5.3.180.0070.04212.67
5.3.170.0060.04112.67
5.3.160.0060.04012.67
5.3.150.0090.04412.67
5.3.140.0070.04212.66
5.3.130.0070.04212.66
5.3.120.0070.04212.66
5.3.110.0070.04412.66
5.3.100.0070.03912.12
5.3.90.0070.03812.08
5.3.80.0090.03812.08
5.3.70.0100.03812.08
5.3.60.0070.03912.07
5.3.50.0080.03812.00
5.3.40.0070.04112.00
5.3.30.0070.03911.94
5.3.20.0060.03711.71
5.3.10.0050.04011.67
5.3.00.0050.03911.66

preferences:
41.35 ms | 401 KiB | 5 Q