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 Willy"; 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.0110.00716.50
8.3.50.0140.00416.35
8.3.40.0060.00918.71
8.3.30.0070.00718.87
8.3.20.0040.00420.33
8.3.10.0080.00021.73
8.3.00.0000.00717.78
8.2.180.0110.00716.63
8.2.170.0180.00322.96
8.2.160.0120.00320.43
8.2.150.0070.00024.18
8.2.140.0000.00724.66
8.2.130.0040.00420.47
8.2.120.0080.00026.35
8.2.110.0090.00022.03
8.2.100.0090.00317.78
8.2.90.0050.00319.20
8.2.80.0080.00017.97
8.2.70.0080.00317.38
8.2.60.0080.00018.03
8.2.50.0030.00618.10
8.2.40.0040.00422.11
8.2.30.0000.00819.19
8.2.20.0040.00418.12
8.2.10.0000.00718.20
8.2.00.0040.00418.03
8.1.280.0030.01425.92
8.1.270.0050.00322.14
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0060.00323.92
8.1.230.0070.00418.95
8.1.220.0000.00817.74
8.1.210.0030.00518.77
8.1.200.0060.00317.00
8.1.190.0000.00817.22
8.1.180.0000.00818.10
8.1.170.0030.00518.46
8.1.160.0080.00018.98
8.1.150.0000.00718.94
8.1.140.0000.00719.54
8.1.130.0040.00418.87
8.1.120.0040.00417.47
8.1.110.0030.00517.51
8.1.100.0060.00317.29
8.1.90.0050.00217.41
8.1.80.0070.00317.49
8.1.70.0040.00417.45
8.1.60.0040.00417.63
8.1.50.0070.00017.50
8.1.40.0050.00317.56
8.1.30.0030.00817.49
8.1.20.0000.00717.71
8.1.10.0040.00417.54
8.1.00.0050.00517.41
8.0.300.0040.00418.77
8.0.290.0000.00816.75
8.0.280.0070.00018.50
8.0.270.0040.00417.30
8.0.260.0030.00316.86
8.0.250.0000.00717.03
8.0.240.0000.00716.97
8.0.230.0040.00416.90
8.0.220.0000.00716.85
8.0.210.0030.00316.99
8.0.200.0030.00316.88
8.0.190.0050.00317.05
8.0.180.0070.00016.99
8.0.170.0040.00416.88
8.0.160.0030.00516.96
8.0.150.0040.00416.98
8.0.140.0030.00616.79
8.0.130.0030.00313.37
8.0.120.0000.00716.96
8.0.110.0000.00716.82
8.0.100.0070.00016.89
8.0.90.0040.00416.97
8.0.80.0100.00716.88
8.0.70.0040.00416.73
8.0.60.0070.00016.80
8.0.50.0000.00816.85
8.0.30.0120.00717.24
8.0.20.0120.00817.40
8.0.10.0000.00717.11
8.0.00.0000.01716.72
7.4.330.0030.00315.55
7.4.320.0030.00316.52
7.4.300.0030.00316.42
7.4.290.0040.00416.55
7.4.280.0030.00616.47
7.4.270.0020.00516.60
7.4.260.0040.00416.48
7.4.250.0040.00416.43
7.4.240.0000.00716.45
7.4.230.0040.00416.61
7.4.220.0150.00316.46
7.4.210.0070.01016.62
7.4.200.0070.00016.44
7.4.160.0050.01116.61
7.4.150.0040.01417.40
7.4.140.0080.01017.86
7.4.130.0120.00916.63
7.4.120.0110.00816.53
7.4.110.0090.00916.52
7.4.100.0090.00916.42
7.4.90.0070.01016.66
7.4.80.0130.00319.39
7.4.70.0080.00816.49
7.4.60.0120.01316.61
7.4.50.0000.01616.53
7.4.40.0110.00716.42
7.4.30.0150.00316.57
7.4.00.0090.00314.97
7.3.330.0000.00513.41
7.3.320.0030.00313.50
7.3.310.0000.00716.41
7.3.300.0030.00316.48
7.3.290.0030.00316.39
7.3.280.0070.01016.41
7.3.270.0130.00417.40
7.3.260.0100.00516.67
7.3.250.0120.00716.36
7.3.240.0080.01116.48
7.3.230.0100.00616.60
7.3.210.0030.01316.40
7.3.200.0090.00616.68
7.3.190.0100.00616.50
7.3.180.0130.00316.63
7.3.170.0060.00916.50
7.3.160.0120.00316.43
7.3.10.0070.00716.70
7.3.00.0070.00416.73
7.2.330.0070.01016.61
7.2.320.0070.01016.69
7.2.310.0110.00616.52
7.2.300.0000.01716.60
7.2.290.0070.01116.41
7.2.130.0060.00616.77
7.2.120.0080.00516.83
7.2.110.0050.00716.90
7.2.100.0040.01016.91
7.2.90.0030.00916.93
7.2.80.0090.00616.62
7.2.70.0060.00516.86
7.2.60.0070.00716.91
7.2.50.0040.00916.87
7.2.40.0030.00716.78
7.2.30.0050.00616.77
7.2.20.0050.00916.83
7.2.10.0050.00816.89
7.2.00.0040.00717.46
7.1.250.0080.00415.65
7.1.240.0030.00915.48
7.1.230.0040.00715.62
7.1.220.0000.01015.77
7.1.210.0080.00415.69
7.1.200.0030.00615.38
7.1.190.0000.01115.36
7.1.180.0120.00015.54
7.1.170.0030.00515.61
7.1.160.0030.00615.49
7.1.150.0060.00615.61
7.1.140.0000.00815.36
7.1.130.0000.01315.38
7.1.120.0000.00915.27
7.1.110.0030.01015.70
7.1.100.0020.00916.75
7.1.90.0000.01015.67
7.1.80.0090.00015.42
7.1.70.0040.00716.45
7.1.60.0050.00816.16
7.1.50.0060.00916.13
7.1.40.0050.01015.99
7.1.30.0080.00316.14
7.1.20.0000.01316.21
7.1.10.0050.00916.00
7.1.00.0030.00616.03
7.0.330.0030.00715.30
7.0.320.0000.00815.41
7.0.310.0030.00615.32
7.0.300.0040.00715.36
7.0.290.0030.00715.09
7.0.280.0000.01214.93
7.0.270.0050.00315.23
7.0.260.0090.00015.28
7.0.250.0090.00015.23
7.0.240.0000.01315.21
7.0.230.0030.00715.37
7.0.220.0030.01015.20
7.0.210.0060.00615.30
7.0.200.0020.00715.83
7.0.190.0050.00716.05
7.0.180.0060.00515.73
7.0.170.0050.00615.79
7.0.160.0020.00915.80
7.0.150.0060.00515.79
7.0.140.0000.01115.75
7.0.130.0050.00816.05
7.0.120.0040.00915.87
7.0.110.0030.00615.53
7.0.100.0020.00815.79
7.0.90.0000.00915.76
7.0.80.0030.01115.95
7.0.70.0000.00815.84
7.0.60.0050.00715.75
7.0.50.0070.00315.79
7.0.40.0060.00714.19
7.0.30.0080.00214.24
7.0.20.0100.00314.06
7.0.10.0050.00914.12
7.0.00.0030.00714.20
5.6.380.0090.00614.54

preferences:
43.7 ms | 401 KiB | 5 Q