3v4l.org

run code in 300+ PHP versions simultaneously
<?php class version_info { private $vi; // Version Information Array public function __construct() { $this->vi = array(); } public function add($name, $filename, $doc = 0, $date, $ver) { $this->vi[$filename] = array( 'name' => $name, 'filename' => $filename, 'document' => $doc, // Include in automatic SiteCommander tech documentation 'version' => $ver, 'date' => $date ); } } /* end of class version_info */ $sc_version_info = new version_info(); $sc_version_info->add('Test', '/admin/test.php', 1, 2, 3);

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.0030.01218.43
8.3.50.0070.01121.14
8.3.40.0040.01118.80
8.3.30.0100.00320.05
8.3.20.0050.00320.53
8.3.10.0050.00320.91
8.3.00.0050.00323.63
8.2.180.0070.00716.75
8.2.170.0060.00922.96
8.2.160.0070.00720.38
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00420.99
8.2.110.0090.00020.61
8.2.100.0040.00817.84
8.2.90.0030.00719.05
8.2.80.0000.00719.32
8.2.70.0000.00817.38
8.2.60.0040.00417.68
8.2.50.0030.00618.07
8.2.40.0040.00418.15
8.2.30.0040.00419.49
8.2.20.0070.00017.52
8.2.10.0040.00417.59
8.2.00.0050.00317.67
8.1.270.0000.00723.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0000.00823.88
8.1.230.0090.00320.81
8.1.220.0030.00518.77
8.1.210.0060.00618.81
8.1.200.0100.00017.23
8.1.190.0040.00417.53
8.1.180.0000.00918.10
8.1.170.0040.00418.49
8.1.160.0050.00218.86
8.1.150.0000.00718.57
8.1.140.0040.00417.32
8.1.130.0000.00717.77
8.1.120.0000.00717.46
8.1.110.0000.00717.37
8.1.100.0040.00417.42
8.1.90.0000.00817.27
8.1.80.0040.00417.29
8.1.70.0030.00317.27
8.1.60.0040.00417.52
8.1.50.0000.00717.52
8.1.40.0040.00417.48
8.1.30.0040.00417.66
8.1.20.0040.00417.63
8.1.10.0000.00717.53
8.1.00.0040.00417.47
8.0.300.0050.00519.97
8.0.290.0080.00017.05
8.0.280.0030.00318.23
8.0.270.0030.00317.29
8.0.260.0060.00316.73
8.0.250.0000.00716.86
8.0.240.0050.00316.96
8.0.230.0050.00316.94
8.0.220.0000.00716.86
8.0.210.0030.00316.93
8.0.200.0000.00616.84
8.0.190.0000.00816.89
8.0.180.0000.00816.80
8.0.170.0000.00816.93
8.0.160.0040.00316.86
8.0.150.0070.00016.83
8.0.140.0050.00316.77
8.0.130.0040.00413.38
8.0.120.0000.00816.90
8.0.110.0030.00516.68
8.0.100.0040.00416.87
8.0.90.0000.00716.78
8.0.80.0090.00616.84
8.0.70.0000.00816.68
8.0.60.0000.00716.88
8.0.50.0040.00416.71
8.0.30.0120.00617.06
8.0.20.0120.00817.40
8.0.10.0080.00016.99
8.0.00.0080.01316.58
7.4.330.0000.00614.87
7.4.320.0070.00016.44
7.4.300.0000.00716.50
7.4.290.0030.00316.39
7.4.280.0030.00316.59
7.4.270.0000.00716.57
7.4.260.0000.00713.26
7.4.250.0060.00316.53
7.4.240.0000.00716.49
7.4.230.0040.00416.34
7.4.220.0150.00416.70
7.4.210.0060.00916.58
7.4.200.0030.00316.57
7.4.190.0030.00316.68
7.4.160.0100.00616.38
7.4.150.0100.01017.40
7.4.140.0090.00817.86
7.4.130.0040.01216.34
7.4.120.0150.00216.52
7.4.110.0070.01016.51
7.4.100.0090.00916.53
7.4.90.0090.00816.41
7.4.80.0100.01319.39
7.4.70.0080.00816.26
7.4.60.0110.00716.47
7.4.50.0040.00416.56
7.4.40.0100.00622.77
7.4.30.0080.00816.44
7.4.00.0000.01114.72
7.3.330.0020.00313.14
7.3.320.0050.00013.28
7.3.310.0000.00716.25
7.3.300.0000.00616.30
7.3.290.0070.00716.38
7.3.280.0060.01316.36
7.3.270.0130.00317.40
7.3.260.0100.01018.24
7.3.250.0140.00516.38
7.3.240.0080.00816.62
7.3.230.0080.00816.46
7.3.210.0030.01316.34
7.3.200.0100.01019.39
7.3.190.0090.00616.66
7.3.180.0060.00916.70
7.3.170.0070.01316.61
7.3.160.0150.00616.60
7.3.120.0040.01215.07
7.2.330.0090.00916.63
7.2.320.0130.00616.66
7.2.310.0060.01116.60
7.2.300.0070.01016.46
7.2.290.0040.01316.52
7.2.00.0120.00019.25
7.1.100.0060.00918.13
7.1.70.0000.00817.17
7.1.60.0100.01419.17
7.1.50.0040.00717.04
7.1.00.0000.05722.36
7.0.200.0060.00316.88
7.0.140.0070.07022.12
7.0.60.0070.07319.98
7.0.50.0070.04717.92
7.0.40.0100.04720.11
7.0.30.0170.09020.23
7.0.20.0330.07720.06
7.0.10.0030.08320.20
7.0.00.0030.05720.23
5.6.280.0070.07021.10
5.6.210.0130.06020.75
5.6.200.0030.08318.16
5.6.190.0070.04020.33
5.6.180.0170.05720.34
5.6.170.0400.07320.56
5.6.160.0070.08320.39
5.6.150.0100.08018.25
5.6.140.0030.04018.17
5.6.130.0130.08018.14
5.6.120.0070.07320.90
5.6.110.0030.08721.12
5.6.100.0100.08321.13
5.6.90.0100.06321.00
5.6.80.0000.06320.37
5.6.70.4570.03720.40
5.5.350.0070.08020.39
5.5.340.0100.05017.95
5.5.330.0100.07320.27
5.5.320.0200.05720.42
5.5.310.0230.05720.36
5.5.300.0030.08317.98
5.5.290.0170.07317.98
5.5.280.0070.04020.81
5.5.270.0070.06320.87
5.5.260.0070.06020.87
5.5.250.0070.03720.69
5.5.240.0270.05720.16
5.4.450.0100.04719.36
5.4.440.0130.04019.18
5.4.430.0170.03719.32
5.4.420.0100.04319.23
5.4.410.0170.05019.36
5.4.400.0200.03319.32
5.4.390.0200.03318.78
5.4.380.0230.04719.16
5.4.370.0170.03718.77
5.4.360.0200.03319.12
5.4.350.0130.03718.78
5.4.340.0230.04019.17
5.4.320.0100.04019.31
5.4.310.0130.03718.88
5.4.300.0200.03319.16
5.4.290.0130.03718.99
5.4.280.0200.03319.17
5.4.270.0130.04019.08
5.4.260.0230.03018.78
5.4.250.0200.04718.74
5.4.240.0400.02719.11
5.4.230.0170.03719.15
5.4.220.0200.03318.78
5.4.210.0170.03719.16
5.4.200.0200.03319.11
5.4.190.0170.03719.07
5.4.180.0270.02719.02
5.4.170.0170.04719.30
5.4.160.0230.04019.00
5.4.150.0130.04018.73
5.4.140.0170.03316.33
5.4.130.0130.03716.50
5.4.120.0170.03716.37
5.4.110.0130.03716.19
5.4.100.0170.04716.45
5.4.90.0270.03016.37
5.4.80.0130.03716.27
5.4.70.0070.04016.57
5.4.60.0230.03716.23
5.4.50.0200.03316.43
5.4.40.0270.02316.23
5.4.30.0130.03716.53
5.4.20.0200.03316.25
5.4.10.0170.03316.16
5.4.00.0230.03715.82
5.3.290.0200.03314.59
5.3.280.0170.04714.63
5.3.270.0200.03314.53
5.3.260.0130.04014.61
5.3.250.0130.03714.69
5.3.240.0170.04014.52
5.3.230.0170.03714.59
5.3.220.0170.04714.65
5.3.210.0130.04014.47
5.3.200.0170.03714.49
5.3.190.0200.04714.62
5.3.180.0130.04014.57
5.3.170.0200.03014.49
5.3.160.0130.03714.55
5.3.150.0170.03314.46
5.3.140.0300.04014.53
5.3.130.0130.04014.70
5.3.120.0270.05714.60
5.3.110.0230.06014.70
5.3.100.0100.04313.96
5.3.90.0100.04313.95
5.3.80.0170.05014.03
5.3.70.0170.03714.03
5.3.60.0130.03714.08
5.3.50.0200.04013.88
5.3.40.0130.06014.04
5.3.30.0170.04313.93
5.3.20.0170.03313.85
5.3.10.0200.03713.57
5.3.00.0200.07313.66
5.2.170.0130.03311.15
5.2.160.0130.06311.24
5.2.150.0170.05711.23
5.2.140.0100.04011.06
5.2.130.0200.05711.07
5.2.120.0170.05011.26
5.2.110.0170.03011.19
5.2.100.0130.03011.34
5.2.90.0200.03011.02
5.2.80.0130.06711.32
5.2.70.0130.04711.02
5.2.60.0200.05310.96
5.2.50.0100.03311.11
5.2.40.0130.06311.01
5.2.30.0100.03011.03
5.2.20.0100.06710.86
5.2.10.0070.04010.84
5.2.00.0270.05310.73
5.1.60.0200.04310.16
5.1.50.0170.04010.08
5.1.40.0130.0539.91
5.1.30.0130.02310.25
5.1.20.0130.05310.31
5.1.10.0130.05010.23
5.1.00.0130.02710.00
5.0.50.0070.0508.45
5.0.40.0070.0308.40
5.0.30.0130.0578.21
5.0.20.0100.0208.14
5.0.10.0130.0408.27
5.0.00.0030.0408.07
4.4.90.0070.0277.79
4.4.80.0030.0207.79
4.4.70.0100.0307.79
4.4.60.0030.0207.79
4.4.50.0070.0337.79
4.4.40.0070.0237.79
4.4.30.0030.0177.79
4.4.20.0100.0107.79
4.4.10.0030.0237.79
4.4.00.0130.0507.79
4.3.110.0100.0237.79
4.3.100.0100.0137.79
4.3.90.0100.0177.79
4.3.80.0070.0337.79
4.3.70.0070.0177.79
4.3.60.0100.0277.79
4.3.50.0070.0237.79
4.3.40.0130.0377.79
4.3.30.0070.0177.79
4.3.20.0070.0337.79
4.3.10.0030.0177.79
4.3.00.0070.0337.79

preferences:
59.46 ms | 400 KiB | 5 Q