3v4l.org

run code in 300+ PHP versions simultaneously
<?php $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.00416.38
8.3.50.0140.00318.00
8.3.40.0150.00018.84
8.3.30.0150.00618.84
8.3.20.0070.00019.33
8.3.10.0040.00421.77
8.3.00.0080.00020.51
8.2.180.0130.00318.66
8.2.170.0090.00622.96
8.2.160.0140.00720.79
8.2.150.0050.00224.18
8.2.140.0060.00324.66
8.2.130.0000.00826.16
8.2.120.0040.00420.80
8.2.110.0050.00520.85
8.2.100.0110.00017.78
8.2.90.0030.00617.75
8.2.80.0050.00317.97
8.2.70.0030.00517.68
8.2.60.0030.00618.22
8.2.50.0040.00418.10
8.2.40.0040.00419.34
8.2.30.0050.00319.26
8.2.20.0000.00718.05
8.2.10.0040.00417.99
8.2.00.0070.00317.63
8.1.280.0100.00725.92
8.1.270.0030.00518.90
8.1.260.0080.00026.35
8.1.250.0050.00328.09
8.1.240.0080.00418.97
8.1.230.0070.00422.75
8.1.220.0030.00617.79
8.1.210.0080.00018.77
8.1.200.0030.00617.22
8.1.190.0060.00317.22
8.1.180.0080.00018.10
8.1.170.0030.00618.56
8.1.160.0050.00318.75
8.1.150.0070.00018.79
8.1.140.0070.00022.05
8.1.130.0000.00717.38
8.1.120.0070.00017.37
8.1.110.0070.00017.40
8.1.100.0040.00417.30
8.1.90.0040.00417.42
8.1.80.0030.00617.41
8.1.70.0030.00317.28
8.1.60.0000.00817.46
8.1.50.0030.00617.57
8.1.40.0000.00717.47
8.1.30.0040.00417.66
8.1.20.0040.00417.53
8.1.10.0030.00917.59
8.1.00.0070.00017.36
8.0.300.0040.00418.77
8.0.290.0030.00516.75
8.0.280.0000.00818.39
8.0.270.0000.00716.81
8.0.260.0000.00616.73
8.0.250.0030.00316.93
8.0.240.0030.00317.00
8.0.230.0030.00616.93
8.0.220.0030.00316.83
8.0.210.0000.00716.80
8.0.200.0000.00716.82
8.0.190.0030.00616.83
8.0.180.0090.00016.97
8.0.170.0040.00416.95
8.0.160.0040.00416.93
8.0.150.0070.00016.87
8.0.140.0080.00016.75
8.0.130.0040.00413.36
8.0.120.0000.00816.83
8.0.110.0040.00416.81
8.0.100.0050.00216.87
8.0.90.0030.00516.78
8.0.80.0050.01216.89
8.0.70.0030.00516.76
8.0.60.0050.00216.94
8.0.50.0000.00716.96
8.0.30.0070.01217.18
8.0.20.0090.01017.40
8.0.10.0000.00716.89
8.0.00.0100.00816.62
7.4.330.0000.00515.55
7.4.320.0030.00316.55
7.4.300.0030.00316.49
7.4.290.0000.00716.41
7.4.280.0090.00016.39
7.4.270.0060.00316.65
7.4.260.0040.00416.40
7.4.250.0040.00416.52
7.4.240.0030.00316.49
7.4.230.0030.00316.71
7.4.220.0040.00416.59
7.4.210.0100.00616.56
7.4.200.0030.00316.44
7.4.160.0070.01016.54
7.4.140.0110.00817.86
7.4.130.0070.01016.55
7.4.120.0090.01016.45
7.4.110.0090.01216.47
7.4.100.0090.01216.59
7.4.90.0120.00716.63
7.4.80.0040.01319.39
7.4.70.0060.01216.50
7.4.60.0130.00316.39
7.4.50.0060.01016.41
7.4.40.0130.01016.51
7.4.00.0080.00614.78
7.3.330.0000.00513.11
7.3.320.0020.00213.01
7.3.310.0030.00516.24
7.3.300.0000.00716.11
7.3.290.0030.00316.35
7.3.280.0090.00716.29
7.3.260.0110.01116.36
7.3.240.0100.00816.50
7.3.230.0070.01016.34
7.3.210.0070.01016.52
7.3.200.0140.00416.24
7.3.190.0120.00416.37
7.3.180.0160.00316.40
7.3.170.0160.00616.43
7.3.160.0110.00716.43
7.2.330.0040.01216.27
7.2.320.0140.00316.50
7.2.310.0110.00916.61
7.2.300.0140.00316.67
7.2.290.0120.00616.54
7.2.110.0330.00714.66
7.2.100.0380.00914.59
7.2.90.0310.00914.79
7.2.80.0320.00614.54
7.2.70.0570.00014.97
7.2.60.0330.01014.89
7.2.50.0390.00914.91
7.2.40.0770.00415.08
7.2.30.0370.00714.90
7.2.20.0460.00714.64
7.2.10.0620.01014.65
7.2.00.0370.01214.92
7.1.230.0290.01213.74
7.1.220.0420.00913.86
7.1.210.0370.00313.56
7.1.200.0430.01013.87
7.1.190.0370.00313.52
7.1.180.0400.00313.83
7.1.170.0740.01013.68
7.1.160.0310.01213.61
7.1.150.0400.00613.45
7.1.140.0460.00313.66
7.1.130.0380.00913.75
7.1.120.0520.00413.44
7.1.110.0460.00613.49
7.1.100.0610.00613.67
7.1.90.0500.00313.50
7.1.80.0520.00313.29
7.1.70.0450.01013.71
7.1.60.0540.01331.50
7.1.50.0760.00731.63
7.1.40.0870.00331.61
7.1.30.0950.01031.65
7.1.20.1050.01031.65
7.1.10.0700.00713.59
7.1.00.0610.00613.63
5.6.380.0070.00713.88

preferences:
57.52 ms | 400 KiB | 5 Q