3v4l.org

run code in 300+ PHP versions simultaneously
<?php // global config $cfg = [ // core "sitename" => "Website Name", "siteurl" => "www.example.com", "lang" => "en-gb", "charset" => "UTF-8", // paths "asseturl" => "/assets", // email "contact" => "", "pagename" => "Untitled page", "meta_desc" => "", "meta_keyw" => "", "html_class_body" => "", ]; print_r($cfg);

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.0100.01018.43
8.3.50.0140.00521.14
8.3.40.0110.00418.54
8.3.30.0030.01020.08
8.3.20.0080.00020.16
8.3.10.0000.00822.10
8.3.00.0040.00422.52
8.2.180.0060.00916.32
8.2.170.0100.00722.96
8.2.160.0100.00322.11
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0050.00220.62
8.2.110.0080.00022.44
8.2.100.0040.00717.59
8.2.90.0000.00719.23
8.2.80.0000.00819.40
8.2.70.0040.00417.50
8.2.60.0040.00417.80
8.2.50.0000.00818.07
8.2.40.0080.00017.78
8.2.30.0070.00019.30
8.2.20.0000.00817.49
8.2.10.0000.00817.48
8.2.00.0050.00317.62
8.1.280.0070.01025.92
8.1.270.0080.00023.78
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0100.00723.92
8.1.230.0070.00419.01
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0100.00017.23
8.1.190.0040.00417.39
8.1.180.0040.00418.10
8.1.170.0040.00418.43
8.1.160.0000.00718.80
8.1.150.0040.00418.56
8.1.140.0050.00217.44
8.1.130.0000.00717.77
8.1.120.0070.00017.45
8.1.110.0000.00717.27
8.1.100.0040.00417.33
8.1.90.0000.00717.46
8.1.80.0030.00317.42
8.1.70.0000.00717.33
8.1.60.0030.00617.41
8.1.50.0050.00217.45
8.1.40.0040.00417.43
8.1.30.0070.00017.54
8.1.20.0000.00817.50
8.1.10.0000.00817.42
8.1.00.0040.00417.23
8.0.300.0040.00418.77
8.0.290.0080.00017.04
8.0.280.0050.00318.37
8.0.270.0050.00216.66
8.0.260.0000.00716.65
8.0.250.0070.00016.78
8.0.240.0000.00716.80
8.0.230.0040.00416.75
8.0.220.0030.00316.83
8.0.210.0050.00216.83
8.0.200.0060.00016.88
8.0.190.0040.00416.77
8.0.180.0000.00716.74
8.0.170.0000.00816.80
8.0.160.0030.00516.79
8.0.150.0000.00716.77
8.0.140.0040.00316.66
8.0.130.0000.00513.24
8.0.120.0030.00516.75
8.0.110.0040.00416.65
8.0.100.0040.00416.76
8.0.90.0030.00316.87
8.0.80.0090.00616.70
8.0.70.0040.00416.70
8.0.60.0050.00216.86
8.0.50.0040.00416.66
8.0.30.0070.01216.83
8.0.20.0140.00517.40
8.0.10.0000.00716.80
8.0.00.0120.00816.60
7.4.330.0060.00016.67
7.4.320.0070.00016.43
7.4.300.0000.00716.45
7.4.290.0030.00316.45
7.4.280.0000.00816.56
7.4.270.0030.00416.33
7.4.260.0000.00613.09
7.4.250.0080.00016.49
7.4.240.0020.00516.43
7.4.230.0030.00316.32
7.4.220.0090.01416.50
7.4.210.0070.00816.48
7.4.200.0040.00416.41
7.4.190.0070.00016.61
7.4.160.0060.00916.53
7.4.150.0120.00617.40
7.4.140.0090.01217.86
7.4.130.0100.00916.45
7.4.120.0070.01116.41
7.4.110.0100.00616.20
7.4.100.0130.00316.69
7.4.90.0070.01016.35
7.4.80.0160.00619.39
7.4.70.0100.00616.34
7.4.60.0180.00316.49
7.4.50.0070.00416.32
7.4.40.0090.00622.77
7.4.30.0030.01816.22
7.4.00.0130.00314.63
7.3.330.0060.00012.93
7.3.320.0030.00312.84
7.3.310.0000.00716.18
7.3.300.0000.00716.11
7.3.290.0070.00716.04
7.3.280.0100.00816.15
7.3.270.0100.00617.40
7.3.260.0140.00316.19
7.3.250.0110.00816.23
7.3.240.0100.00716.16
7.3.230.0110.00616.39
7.3.210.0080.01116.28
7.3.200.0090.01319.39
7.3.190.0060.01116.10
7.3.180.0090.00616.19
7.3.170.0070.01016.28
7.3.160.0100.00716.23
7.3.120.0100.00314.38
7.3.10.0060.00616.63
7.3.00.0040.01116.75
7.2.330.0070.01016.29
7.2.320.0030.01316.45
7.2.310.0090.01016.48
7.2.300.0100.00616.23
7.2.290.0120.00616.43
7.2.130.0070.00716.59
7.2.120.0110.00316.84
7.2.110.0090.00016.72
7.2.100.0120.00016.65
7.2.90.0030.00616.76
7.2.80.0070.00416.78
7.2.70.0000.00916.38
7.2.60.0060.00616.80
7.2.50.0070.01016.61
7.2.40.0030.01016.66
7.2.30.0070.00716.72
7.2.20.0100.00316.71
7.2.10.0100.00016.79
7.2.00.0110.01217.72
7.1.250.0060.00315.50
7.1.200.0100.00315.68
7.1.100.0000.01118.02
7.1.70.0030.00616.96
7.1.60.0030.01719.17
7.1.50.0100.01016.83
7.1.00.0100.04322.45
7.0.200.0050.00516.67
7.0.140.0000.08022.21
7.0.120.0030.07022.19
7.0.110.0030.07322.04
7.0.100.0030.05322.05
7.0.90.0030.07322.18
7.0.80.0000.07322.19
7.0.70.0000.07322.18
7.0.60.0000.07722.11
7.0.50.0000.06321.95
7.0.40.0000.07722.18
7.0.30.0000.07721.98
7.0.20.0030.07322.07
7.0.10.0030.07322.09
7.0.00.0030.07321.97
5.6.280.0000.07721.07
5.6.260.0000.05021.05
5.6.250.0070.06721.09
5.6.240.0070.06321.09
5.6.230.0100.07021.01
5.6.220.0070.06720.82
5.6.210.0130.06320.97
5.6.200.0030.06321.01
5.6.190.0070.07321.01
5.6.180.0070.07020.93
5.6.170.0030.05321.05
5.6.160.0030.07320.94
5.6.150.0030.07721.05
5.6.140.0070.06320.82
5.6.130.0030.04020.79
5.6.120.0030.07321.03
5.6.110.0030.07721.04
5.6.100.0100.07020.91
5.6.90.0070.07021.03
5.6.80.0070.06720.39
5.6.70.0030.06020.37
5.6.60.0100.04720.43
5.6.50.0100.06320.38
5.6.40.0030.07020.39
5.6.30.0070.07020.10
5.6.20.0100.06020.10
5.6.10.0030.07020.27
5.6.00.0070.06320.16
5.5.380.0070.05717.63
5.5.370.0000.07017.50
5.5.360.0070.07017.39
5.5.350.0000.07017.60
5.5.340.0000.07318.09
5.5.330.0000.07318.10
5.5.320.0000.07318.12
5.5.310.0030.06317.82
5.5.300.0030.06718.13
5.5.290.0000.06718.25
5.5.280.0070.06018.10
5.5.270.0000.06317.88
5.5.260.0000.08018.00
5.5.250.0030.07317.66
5.5.240.0070.05717.41
5.5.230.0030.06317.22
5.5.220.0070.06717.16
5.5.210.0070.06317.36
5.5.200.0030.07017.45
5.5.190.0000.07017.45
5.5.180.0000.06017.21
5.5.160.0130.06017.52
5.5.150.0030.05717.46
5.5.140.0070.05317.59
5.5.130.0000.06317.12
5.5.120.0030.05317.23
5.5.110.0030.03017.59
5.5.100.0030.03017.28
5.5.90.0000.05017.27
5.5.80.0000.03717.11
5.5.70.0000.07317.27
5.5.60.0030.02717.26
5.5.50.0030.02717.13
5.5.40.0030.03317.37
5.5.30.0000.03017.36
5.5.20.0000.05017.08
5.5.10.0000.05017.41
5.5.00.0030.04017.08
5.4.450.0030.07319.60
5.4.440.0030.07319.48
5.4.430.0000.07019.34
5.4.420.0000.07319.28
5.4.410.0070.06719.21
5.4.400.0030.06718.95
5.4.390.0030.06719.03
5.4.380.0030.04018.98
5.4.370.0070.06318.98
5.4.360.0000.06718.93
5.4.350.0100.05719.09
5.4.340.0030.06319.11
5.4.320.0000.07318.95
5.4.310.0000.06719.00
5.4.300.0070.04018.89
5.4.290.0000.05719.28
5.4.280.0030.06719.02
5.4.270.0000.04019.07
5.4.260.0030.02719.02
5.4.250.0030.02719.29
5.4.240.0070.04018.92
5.4.230.0000.04319.07
5.4.220.0030.03319.25
5.4.210.0000.03019.00
5.4.200.0030.02719.11
5.4.190.0000.03018.93
5.4.180.0070.05718.93
5.4.170.0070.03718.95
5.4.160.0030.04019.15
5.4.150.0000.03318.98
5.4.140.0000.07016.38
5.4.130.0000.06316.36
5.4.120.0000.04316.47
5.4.110.0030.04716.37
5.4.100.0000.06316.25
5.4.90.0070.06016.19
5.4.80.0000.05316.38
5.4.70.0000.05716.49
5.4.60.0030.05316.38
5.4.50.0030.04716.20
5.4.40.0030.06016.26
5.4.30.0000.06716.26
5.4.20.0000.06716.32
5.4.10.0030.03316.37
5.4.00.0000.03015.71
5.3.290.0000.06714.62
5.3.280.0030.05714.54
5.3.270.0030.03314.43
5.3.260.0000.03314.54
5.3.250.0030.04014.53
5.3.240.0070.06314.54
5.3.230.0070.05714.59
5.3.220.0100.03014.51
5.3.210.0070.05714.66
5.3.200.0000.05714.58
5.3.190.0000.07014.52
5.3.180.0070.04714.64
5.3.170.0030.06014.35
5.3.160.0030.04314.57
5.3.150.0030.05014.51
5.3.140.0030.06714.58
5.3.130.0070.06314.55
5.3.120.0000.06714.45
5.3.110.0000.05314.57
5.3.100.0030.02714.12
5.3.90.0000.03013.93
5.3.80.0070.02314.09
5.3.70.0030.02713.95
5.3.60.0000.02713.84
5.3.50.0000.03013.81
5.3.40.0000.03014.02
5.3.30.0030.02713.83
5.3.20.0000.03013.62
5.3.10.0030.03713.52
5.3.00.0030.03713.70
5.2.170.0030.02311.66
5.2.160.0000.02311.66
5.2.150.0000.02311.66
5.2.140.0030.02311.66
5.2.130.0030.02711.66
5.2.120.0000.03711.66
5.2.110.0000.02311.66
5.2.100.0000.02311.66
5.2.90.0000.02711.66
5.2.80.0030.05011.66
5.2.70.0000.04711.66
5.2.60.0000.03011.66
5.2.50.0000.02311.66
5.2.40.0000.02311.66
5.2.30.0070.01711.66
5.2.20.0000.02311.66
5.2.10.0000.02311.66
5.2.00.0000.05011.66
5.1.60.0030.03011.66
5.1.50.0070.04011.66
5.1.40.0030.04311.66
5.1.30.0070.04011.66
5.1.20.0070.04311.66
5.1.10.0000.04011.66
5.1.00.0000.03311.66
5.0.50.0030.03711.66
5.0.40.0000.03311.66
5.0.30.0000.05011.66
5.0.20.0030.03711.66
5.0.10.0030.03711.66
5.0.00.0000.05711.66
4.4.90.0000.01711.66
4.4.80.0000.01311.66
4.4.70.0000.01311.66
4.4.60.0000.01711.66
4.4.50.0000.01711.66
4.4.40.0030.04311.66
4.4.30.0030.02711.66
4.4.20.0070.02011.66
4.4.10.0000.03011.66
4.4.00.0000.04711.66
4.3.110.0000.02711.66
4.3.100.0070.01711.66
4.3.90.0000.03011.66
4.3.80.0000.04711.66
4.3.70.0000.03011.66
4.3.60.0030.02711.66
4.3.50.0000.03011.66
4.3.40.0000.04311.66
4.3.30.0000.02711.66
4.3.20.0030.01711.66
4.3.10.0000.01711.66
4.3.00.0000.01311.66

preferences:
36.94 ms | 401 KiB | 5 Q