3v4l.org

run code in 300+ PHP versions simultaneously
<?php function the_title() { return 'A Title';} function the_permalink() { return 'https://google.com';} function has_post_thumbnail() { return true;} function the_post_thumbnail($whateverThisIs) { return '<img src="https://upload.wikimedia.org/wikipedia/en/2/22/Charlie_Brown.png" />'; } function get_post_custom_values() { $key = 'Gal_IMG'; $value = 'https://en.wikipedia.org/wiki/Main_Page#/media/File:BepiColombo_spacecraft_model.png'; echo "$value"; } $imgClass = 'no-img'; $img = ''; $title = the_title(); $link = the_permalink(); // $BG_Img = get_post_custom_values(); // if(has_post_thumbnail()) { $imgClass = ''; $img = the_post_thumbnail('alm-thumbnail'); } echo " <li class='${imgClass}'> ${img} <h3> <a href='${link}' style='${BG_Img}'>${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.0120.00616.75
8.3.50.0090.00918.19
8.3.40.0140.00418.97
8.3.30.0150.00018.71
8.3.20.0040.00419.29
8.3.10.0070.00021.85
8.3.00.0080.00020.75
8.2.180.0110.01118.29
8.2.170.0040.01122.96
8.2.160.0180.00319.21
8.2.150.0000.00824.18
8.2.140.0000.00924.66
8.2.130.0070.00018.09
8.2.120.0070.00026.35
8.2.110.0000.01022.25
8.2.100.0080.00417.84
8.2.90.0050.00317.38
8.2.80.0000.00817.97
8.2.70.0040.00417.93
8.2.60.0040.00418.03
8.2.50.0040.00418.10
8.2.40.0090.00019.42
8.2.30.0040.00419.25
8.2.20.0040.00418.15
8.2.10.0040.00418.16
8.2.00.0030.00617.64
8.1.280.0140.00725.92
8.1.270.0040.00418.88
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00024.01
8.1.230.0040.00822.18
8.1.220.0000.00917.74
8.1.210.0040.00418.77
8.1.200.0030.00617.36
8.1.190.0050.00317.23
8.1.180.0030.00618.10
8.1.170.0040.00418.46
8.1.160.0040.00418.82
8.1.150.0030.00518.78
8.1.140.0070.00022.13
8.1.130.0060.00620.07
8.1.120.0030.00317.39
8.1.110.0000.00817.38
8.1.100.0000.00717.36
8.1.90.0040.00417.29
8.1.80.0030.00517.30
8.1.70.0030.00317.41
8.1.60.0050.00317.58
8.1.50.0030.00617.53
8.1.40.0080.00017.51
8.1.30.0000.00717.66
8.1.20.0030.00617.56
8.1.10.0070.00017.40
8.1.00.0000.00717.44
8.0.300.0000.00718.77
8.0.290.0070.00016.75
8.0.280.0000.00718.31
8.0.270.0070.00017.26
8.0.260.0030.00318.44
8.0.250.0000.00716.87
8.0.240.0000.00716.96
8.0.230.0040.00416.85
8.0.220.0030.00616.80
8.0.210.0050.00216.88
8.0.200.0000.00716.95
8.0.190.0080.00016.93
8.0.180.0040.00416.87
8.0.170.0030.00616.88
8.0.160.0050.00316.83
8.0.150.0070.00016.84
8.0.140.0040.00416.73
8.0.130.0050.00013.30
8.0.120.0040.00416.75
8.0.110.0070.00016.89
8.0.100.0090.00016.71
8.0.90.0000.00716.77
8.0.80.0050.01316.92
8.0.70.0040.00416.95
8.0.60.0000.00816.83
8.0.50.0050.00316.72
8.0.30.0100.01017.10
8.0.20.0100.01017.40
8.0.10.0040.00416.98
8.0.00.0130.00516.70
7.4.330.0030.00315.55
7.4.320.0030.00316.60
7.4.300.0030.00316.42
7.4.290.0030.00316.40
7.4.280.0050.00516.48
7.4.270.0070.00016.59
7.4.260.0090.00016.34
7.4.250.0070.00016.61
7.4.240.0030.00316.40
7.4.230.0030.00316.67
7.4.220.0040.00416.55
7.4.210.0080.00816.62
7.4.200.0000.00616.48
7.4.160.0100.00716.48
7.4.140.0090.01017.86
7.4.130.0060.01616.34
7.4.120.0120.00716.58
7.4.110.0060.01616.41
7.4.100.0060.01016.48
7.4.90.0120.00616.67
7.4.80.0100.01319.39
7.4.70.0070.01416.64
7.4.60.0040.01416.36
7.4.50.0030.01316.34
7.4.40.0160.00416.36
7.4.00.0070.01014.91
7.3.330.0030.00313.34
7.3.320.0000.00613.24
7.3.310.0030.00616.27
7.3.300.0000.00716.26
7.3.290.0000.00716.26
7.3.280.0060.00916.38
7.3.260.0100.00916.44
7.3.240.0110.00916.54
7.3.230.0100.00616.71
7.3.210.0120.00316.48
7.3.200.0040.01216.58
7.3.190.0130.00616.39
7.3.180.0090.00616.63
7.3.170.0000.01616.49
7.3.160.0070.01116.45
7.2.330.0230.02816.73
7.2.320.0130.01316.57
7.2.310.0080.00816.60
7.2.300.0070.01016.48
7.2.290.0100.00716.66
7.2.110.0300.01014.67
7.2.100.0220.01414.63
7.2.90.0210.01014.82
7.2.80.0400.00814.81
7.2.70.0230.00714.63
7.2.60.0290.00614.86
7.2.50.0310.01114.89
7.2.40.0200.01615.02
7.2.30.0340.00614.93
7.2.20.0210.01014.73
7.2.10.0310.00014.57
7.2.00.0270.00314.85
7.1.230.0360.00313.89
7.1.220.0290.01013.59
7.1.210.0250.00913.75
7.1.200.1110.00313.88
7.1.190.0290.00413.74
7.1.180.0280.00313.64
7.1.170.0270.01313.85
7.1.160.0240.00613.77
7.1.150.0250.00613.45
7.1.140.0240.01013.93
7.1.130.0230.00813.57
7.1.120.0210.01113.48
7.1.110.0200.00813.59
7.1.100.0240.00413.44
7.1.90.0380.00313.36
7.1.80.0290.00613.62
7.1.70.0410.00613.69
7.1.60.0360.01331.58
7.1.50.0380.01331.72
7.1.40.0450.00431.68
7.1.30.0380.01031.40
7.1.20.1010.01031.59
7.1.10.0290.00713.74
7.1.00.0190.01013.61
5.6.380.0060.00914.27

preferences:
60.82 ms | 401 KiB | 5 Q