3v4l.org

run code in 300+ PHP versions simultaneously
<?php function bloginfo($d){ if ($d == 'description') { return "some kind of description"; } } $description = bloginfo('description'); $blogname = "Wobbling Zilly"; if ($blogname == 'Wobbling Willy') { echo <<<EOD <meta name="description" content="$description" /> <meta name="keywords" content=”keyword1, keyword2, keyword3” /> EOD; } ?>

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.01116.61
8.3.50.0100.00316.50
8.3.40.0140.00718.55
8.3.30.0070.00718.62
8.3.20.0070.00020.05
8.3.10.0030.00621.73
8.3.00.0040.00417.74
8.2.180.0100.01016.63
8.2.170.0140.00722.96
8.2.160.0030.01020.39
8.2.150.0050.00224.18
8.2.140.0050.00324.66
8.2.130.0070.00020.35
8.2.120.0000.00826.35
8.2.110.0030.00719.30
8.2.100.0040.00817.72
8.2.90.0000.00817.78
8.2.80.0000.00817.97
8.2.70.0000.01017.50
8.2.60.0000.00817.80
8.2.50.0000.00818.10
8.2.40.0040.00422.09
8.2.30.0000.00719.19
8.2.20.0030.00517.91
8.2.10.0040.00418.09
8.2.00.0000.00718.01
8.1.280.0160.00325.92
8.1.270.0050.00322.21
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00323.80
8.1.230.0040.00820.95
8.1.220.0000.00817.78
8.1.210.0080.00018.77
8.1.200.0060.00317.13
8.1.190.0040.00417.35
8.1.180.0060.00318.10
8.1.170.0000.00918.66
8.1.160.0030.00518.89
8.1.150.0020.00518.76
8.1.140.0060.00319.45
8.1.130.0070.00018.85
8.1.120.0000.00717.36
8.1.110.0000.00717.39
8.1.100.0070.00017.48
8.1.90.0000.00717.52
8.1.80.0100.00017.48
8.1.70.0000.00617.37
8.1.60.0040.00417.46
8.1.50.0000.00817.51
8.1.40.0080.00017.55
8.1.30.0030.00617.59
8.1.20.0070.00017.56
8.1.10.0050.00217.50
8.1.00.0040.00417.33
8.0.300.0000.00819.88
8.0.290.0040.00416.63
8.0.280.0000.00718.38
8.0.270.0040.00417.25
8.0.260.0000.00716.73
8.0.250.0000.00716.83
8.0.240.0040.00416.96
8.0.230.0070.00016.84
8.0.220.0070.00016.88
8.0.210.0070.00016.75
8.0.200.0030.00316.82
8.0.190.0000.00816.87
8.0.180.0000.00716.79
8.0.170.0000.00716.95
8.0.160.0000.00816.88
8.0.150.0000.00916.88
8.0.140.0070.00016.74
8.0.130.0050.00013.32
8.0.120.0050.00316.75
8.0.110.0040.00416.77
8.0.100.0040.00416.91
8.0.90.0000.00816.89
8.0.80.0060.00916.89
8.0.70.0070.00016.76
8.0.60.0030.00516.84
8.0.50.0040.00416.82
8.0.30.0100.01017.06
8.0.20.0060.01317.40
8.0.10.0040.00417.02
8.0.00.0120.00416.69
7.4.330.0020.00215.55
7.4.320.0040.00416.47
7.4.300.0040.00416.55
7.4.290.0030.00316.54
7.4.280.0000.00716.50
7.4.270.0040.00416.53
7.4.260.0040.00416.47
7.4.250.0080.00016.46
7.4.240.0050.00216.58
7.4.230.0020.00516.70
7.4.220.0120.01216.46
7.4.210.0080.00716.54
7.4.200.0040.00416.52
7.4.160.0090.01016.39
7.4.150.0070.01317.40
7.4.140.0140.00417.86
7.4.130.0070.01116.66
7.4.120.0090.00916.52
7.4.110.0130.00316.68
7.4.100.0100.00716.44
7.4.90.0070.01016.47
7.4.80.0070.01019.39
7.4.70.0070.01316.49
7.4.60.0170.00016.44
7.4.50.0040.01416.42
7.4.40.0100.00616.53
7.4.30.0160.00316.53
7.4.00.0130.00314.90
7.3.330.0050.00013.31
7.3.320.0070.00013.29
7.3.310.0030.00416.39
7.3.300.0000.00716.21
7.3.290.0030.00316.28
7.3.280.0080.00816.36
7.3.270.0140.00417.40
7.3.260.0110.00716.48
7.3.250.0090.01016.48
7.3.240.0110.00516.61
7.3.230.0070.01016.70
7.3.210.0090.00916.47
7.3.200.0060.00916.41
7.3.190.0130.00616.50
7.3.180.0100.00816.32
7.3.170.0060.00916.45
7.3.160.0090.00916.46
7.2.330.0070.01016.52
7.2.320.0130.00316.65
7.2.310.0130.00316.53
7.2.300.0080.00816.36
7.2.290.0100.00716.53
7.2.60.0090.00616.70
7.2.00.0030.01219.01
7.1.200.0100.00015.72
7.1.100.0050.00517.62
7.1.70.0000.01517.20
7.1.60.0200.01935.18
7.1.50.0200.01234.81
7.1.40.0230.01034.21
7.1.30.0170.01434.53
7.1.20.0250.01034.54
7.1.10.0070.01216.58
7.1.00.0060.01016.40
7.0.200.0050.00916.80
7.0.190.0040.01016.76
7.0.180.0090.00816.30
7.0.170.0060.01016.39
7.0.160.0080.00816.05
7.0.150.0080.00616.09
7.0.140.0030.01316.28
7.0.130.0080.00716.31
7.0.120.0030.01416.30
7.0.110.0040.01316.13
7.0.100.0080.01116.28
7.0.90.0090.00816.37
7.0.80.0060.00816.30
7.0.70.0070.00716.11
7.0.60.0000.01616.02
7.0.50.0070.01116.05
7.0.40.0080.00716.41
7.0.30.0060.01116.39
7.0.20.0030.01416.05
7.0.10.0030.01416.18
7.0.00.0030.01116.19

preferences:
53.82 ms | 400 KiB | 5 Q