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( $value ); // 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.0130.00318.61
8.3.50.0110.00417.95
8.3.40.0110.00718.89
8.3.30.0040.01218.70
8.3.20.0040.00419.39
8.3.10.0040.00421.86
8.3.00.0070.00020.64
8.2.180.0110.00418.41
8.2.170.0110.00422.96
8.2.160.0140.00719.04
8.2.150.0040.00424.18
8.2.140.0060.00324.66
8.2.130.0050.00318.03
8.2.120.0060.00326.35
8.2.110.0070.00319.45
8.2.100.0070.00417.97
8.2.90.0030.00617.91
8.2.80.0030.00617.97
8.2.70.0000.00917.93
8.2.60.0040.00418.22
8.2.50.0030.00618.10
8.2.40.0060.00319.26
8.2.30.0000.00719.24
8.2.20.0000.00717.95
8.2.10.0000.00718.06
8.2.00.0040.00417.75
8.1.280.0070.00725.92
8.1.270.0080.00018.69
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0100.00317.52
8.1.230.0040.00722.77
8.1.220.0060.00317.74
8.1.210.0000.00818.83
8.1.200.0000.01017.22
8.1.190.0040.00417.22
8.1.180.0000.00918.10
8.1.170.0080.00018.50
8.1.160.0070.00018.70
8.1.150.0000.00718.70
8.1.140.0000.00722.13
8.1.130.0030.00720.07
8.1.120.0000.00717.30
8.1.110.0040.00417.41
8.1.100.0070.00017.35
8.1.90.0000.00817.26
8.1.80.0030.00617.40
8.1.70.0070.00017.36
8.1.60.0040.00417.48
8.1.50.0050.00317.56
8.1.40.0040.00417.49
8.1.30.0060.00317.51
8.1.20.0040.00417.53
8.1.10.0040.00417.49
8.1.00.0050.00317.37
8.0.300.0040.00419.64
8.0.290.0050.00316.75
8.0.280.0000.00718.36
8.0.270.0070.00017.19
8.0.260.0000.00618.46
8.0.250.0080.00017.05
8.0.240.0050.00317.03
8.0.230.0050.00317.06
8.0.220.0030.00516.93
8.0.210.0070.00016.89
8.0.200.0000.00717.04
8.0.190.0000.00717.07
8.0.180.0040.00416.95
8.0.170.0040.00416.89
8.0.160.0040.00416.92
8.0.150.0000.00816.78
8.0.140.0030.00316.83
8.0.130.0030.00313.42
8.0.120.0040.00416.82
8.0.110.0030.00516.84
8.0.100.0030.00416.82
8.0.90.0040.00416.86
8.0.80.0090.01016.93
8.0.70.0080.00016.82
8.0.60.0040.00416.85
8.0.50.0040.00416.85
8.0.30.0080.00917.15
8.0.20.0100.00817.40
8.0.10.0040.00416.93
8.0.00.0070.01216.77
7.4.330.0020.00215.55
7.4.320.0000.00616.61
7.4.300.0070.00016.48
7.4.290.0000.00716.56
7.4.280.0070.00316.52
7.4.270.0030.00316.46
7.4.260.0060.00316.49
7.4.250.0040.00416.57
7.4.240.0000.00716.63
7.4.230.0070.00016.51
7.4.220.0040.00416.47
7.4.210.0080.00716.59
7.4.200.0000.00716.71
7.4.160.0110.00616.50
7.4.140.0120.00817.86
7.4.130.0120.00916.59
7.4.120.0130.00616.58
7.4.110.0160.00616.61
7.4.100.0080.00816.53
7.4.90.0060.01216.28
7.4.80.0070.01019.39
7.4.70.0030.01416.54
7.4.60.0000.01916.56
7.4.50.0060.00916.70
7.4.40.0100.01416.47
7.4.00.0080.00614.66
7.3.330.0000.00613.45
7.3.320.0000.00613.21
7.3.310.0080.00016.25
7.3.300.0030.00316.30
7.3.290.0030.00316.29
7.3.280.0060.00916.37
7.3.260.0090.01016.39
7.3.240.0100.00916.46
7.3.230.0070.01016.68
7.3.210.0000.01616.54
7.3.200.0030.01716.55
7.3.190.0150.00616.55
7.3.180.0000.01516.52
7.3.170.0140.00316.55
7.3.160.0140.00616.45
7.3.120.0050.01115.00
7.3.110.0100.00614.86
7.3.100.0020.01014.79
7.3.90.0090.00614.90
7.3.80.0040.00914.86
7.3.70.0060.00514.88
7.3.60.0020.01214.95
7.3.50.0060.00914.86
7.3.40.0050.00914.70
7.3.30.0060.01114.75
7.3.20.0090.00616.71
7.3.10.0070.00816.66
7.3.00.0060.00716.59
7.2.330.0140.00516.69
7.2.320.0030.01416.62
7.2.310.0080.00816.73
7.2.300.0060.01216.87
7.2.290.0030.01516.40
7.2.250.0070.01114.82
7.2.240.0080.00614.99
7.2.230.0070.00914.89
7.2.220.0020.01014.70
7.2.210.0040.00814.95
7.2.200.0070.00915.07
7.2.190.0100.00515.06
7.2.180.0080.00514.85
7.2.170.0030.01114.93
7.2.160.0140.00315.05
7.2.150.0100.00616.75
7.2.140.0070.01016.95
7.2.130.0050.01016.80
7.2.120.0100.00616.71
7.2.110.0140.00916.38
7.2.100.0120.00816.22
7.2.90.0120.00716.22
7.2.80.0130.00816.20
7.2.70.0150.00616.28
7.2.60.0130.00716.34
7.2.50.0130.00716.37
7.2.40.0130.00616.29
7.2.30.0160.00416.22
7.2.20.0110.00916.34
7.2.10.0340.00416.39
7.2.00.0170.00416.28
7.1.330.0040.00915.69
7.1.320.0040.00715.75
7.1.310.0050.00715.81
7.1.300.0080.00615.76
7.1.290.0040.00815.68
7.1.280.0050.01015.83
7.1.270.0030.01015.79
7.1.260.0050.01315.80
7.1.250.0080.00815.61
7.1.230.0240.00914.01
7.1.220.0260.00013.88
7.1.210.0320.00713.93
7.1.200.0240.00613.62
7.1.190.0390.01013.77
7.1.180.0190.00813.98
7.1.170.0280.01013.66
7.1.160.0280.01013.55
7.1.150.0310.00613.70
7.1.140.0190.00814.05
7.1.130.0250.00313.52
7.1.120.0290.00913.83
7.1.110.0250.00313.76
7.1.100.0200.01313.65
7.1.90.0370.00013.62
7.1.80.0200.01013.75
7.1.70.0220.01113.62
7.1.60.0390.00631.70
7.1.50.0610.00631.53
7.1.40.0470.00631.75
7.1.30.0500.01031.37
7.1.20.0470.00631.80
7.1.10.0200.01013.75
7.1.00.0340.00713.86
5.6.380.0100.00514.23

preferences:
55.56 ms | 400 KiB | 5 Q