3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); $imgClass = 'no-img'; $img = ''; $title = the_title(); $link = the_permalink(); // $BG_Img = get_post_custom_values('GalIMG') ; $BG_Img = $BG_Img[0]; if(has_post_thumbnail()) { $imgClass = ''; $img = the_post_thumbnail('alm-thumbnail'); } echo " <li class='${imgClass}'> ${img} <h3> <a href='${link}' style='background-image:url('${BG_Img}'); display:block;'>${title} </a> </h3> </li> ";

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.0140.00316.75
8.3.50.0040.01117.82
8.3.40.0120.00318.84
8.3.30.0080.00818.63
8.3.20.0040.00419.16
8.3.10.0000.00921.57
8.3.00.0030.00520.66
8.2.180.0070.01018.54
8.2.170.0100.00622.96
8.2.160.0150.00020.77
8.2.150.0070.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00419.57
8.2.120.0000.00726.35
8.2.110.0060.00320.94
8.2.100.0060.00617.78
8.2.90.0000.00818.03
8.2.80.0000.00817.97
8.2.70.0050.00317.55
8.2.60.0040.00418.06
8.2.50.0040.00418.10
8.2.40.0050.00219.15
8.2.30.0060.00319.19
8.2.20.0050.00517.91
8.2.10.0020.00518.07
8.2.00.0110.00017.78
8.1.280.0100.01025.92
8.1.270.0030.00618.83
8.1.260.0050.00326.35
8.1.250.0070.00028.09
8.1.240.0030.00623.96
8.1.230.0040.00820.65
8.1.220.0000.00917.74
8.1.210.0040.00418.91
8.1.200.0030.00617.35
8.1.190.0040.00417.23
8.1.180.0000.00918.10
8.1.170.0030.00618.53
8.1.160.0000.00718.70
8.1.150.0030.00518.77
8.1.140.0000.00722.00
8.1.130.0030.00320.13
8.1.120.0000.00717.45
8.1.110.0080.00017.36
8.1.100.0040.00417.45
8.1.90.0000.00717.44
8.1.80.0050.00217.36
8.1.70.0040.00417.44
8.1.60.0000.00817.49
8.1.50.0040.00417.41
8.1.40.0070.00017.55
8.1.30.0030.00617.58
8.1.20.0000.01117.50
8.1.10.0000.00817.52
8.1.00.0040.00417.38
8.0.300.0040.00419.91
8.0.290.0070.00016.75
8.0.280.0000.00718.38
8.0.270.0070.00017.31
8.0.260.0040.00418.25
8.0.250.0030.00316.91
8.0.240.0030.00516.95
8.0.230.0000.00816.93
8.0.220.0000.00716.94
8.0.210.0000.00816.86
8.0.200.0000.00616.84
8.0.190.0030.00616.87
8.0.180.0070.00016.97
8.0.170.0040.00416.81
8.0.160.0040.00416.87
8.0.150.0060.00316.72
8.0.140.0070.00016.79
8.0.130.0000.00513.30
8.0.120.0080.00016.84
8.0.110.0080.00016.80
8.0.100.0050.00316.91
8.0.90.0040.00416.94
8.0.80.0060.00916.88
8.0.70.0080.00016.95
8.0.60.0000.00816.79
8.0.50.0040.00416.78
8.0.30.0120.00417.15
8.0.20.0090.00917.40
8.0.10.0070.00017.02
8.0.00.0120.01016.73
7.4.330.0020.00215.55
7.4.320.0000.00716.54
7.4.300.0070.00016.52
7.4.290.0050.00216.58
7.4.280.0030.00616.58
7.4.270.0070.00016.50
7.4.260.0040.00416.56
7.4.250.0000.01016.47
7.4.240.0040.00416.49
7.4.230.0070.00016.64
7.4.220.0070.00016.46
7.4.210.0080.00716.65
7.4.200.0000.00716.35
7.4.160.0120.00716.53
7.4.140.0090.01017.86
7.4.130.0120.00616.55
7.4.120.0120.00616.52
7.4.110.0100.01416.57
7.4.100.0070.01116.55
7.4.90.0060.01616.53
7.4.80.0140.00719.39
7.4.70.0090.01616.77
7.4.60.0090.00616.51
7.4.50.0050.00516.37
7.4.40.0060.01016.61
7.4.00.0000.01415.05
7.3.330.0050.00013.25
7.3.320.0000.00513.12
7.3.310.0040.00416.20
7.3.300.0030.00316.32
7.3.290.0070.00016.27
7.3.280.0080.00716.26
7.3.260.0100.00916.37
7.3.240.0120.00616.35
7.3.230.0090.00616.26
7.3.210.0160.00716.50
7.3.200.0100.00716.43
7.3.190.0090.01216.59
7.3.180.0090.01216.25
7.3.170.0100.00616.41
7.3.160.0030.01316.30
7.2.330.0170.00316.38
7.2.320.0070.01816.20
7.2.310.0000.01616.55
7.2.300.0100.00616.30
7.2.290.0060.01016.32
7.2.110.0240.00614.67
7.2.100.0230.01014.51
7.2.90.0250.00314.53
7.2.80.0170.00714.54
7.2.70.0300.00314.92
7.2.60.0170.01014.76
7.2.50.0220.00614.79
7.2.40.0220.00614.82
7.2.30.0160.01014.66
7.2.20.0180.01114.52
7.2.10.0490.00714.51
7.2.00.0170.00714.42
7.1.230.0220.01013.75
7.1.220.0220.00613.61
7.1.210.0270.01013.53
7.1.200.0280.00713.59
7.1.190.0200.00413.58
7.1.180.1020.00713.62
7.1.170.0300.00613.70
7.1.160.0210.00713.28
7.1.150.0120.01213.40
7.1.140.0190.00713.64
7.1.130.0130.01013.35
7.1.120.0170.00713.67
7.1.110.0190.00613.73
7.1.100.0180.00313.52
7.1.90.0220.01313.49
7.1.80.0310.00013.50
7.1.70.0280.00713.42
7.1.60.0330.01031.68
7.1.50.0270.02431.63
7.1.40.0500.01331.45
7.1.30.0470.00331.48
7.1.20.0390.00331.35
7.1.10.0220.00913.43
7.1.00.0280.00913.37
5.6.380.0160.00014.21

preferences:
53.95 ms | 401 KiB | 5 Q