3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Foo; use Non\Existing\NamespaceClass; class Bar { public function __construct() { echo NamespaceClass::class; } } new \Foo\Bar();

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.5.10.0090.00819.48
8.5.00.0150.00619.93
8.4.150.0010.00114.05
8.4.140.0130.00817.57
8.4.130.0090.01118.64
8.4.120.0100.01018.65
8.4.110.0090.01219.60
8.4.100.0050.00417.65
8.4.90.0040.00520.75
8.4.80.0070.00120.44
8.4.70.0150.00618.97
8.4.60.0110.00920.35
8.4.50.0110.00918.43
8.4.40.0030.01720.38
8.4.30.0040.01520.46
8.4.20.0150.00619.42
8.4.10.0040.00419.41
8.3.280.0120.00818.35
8.3.270.0130.00616.46
8.3.260.0120.00716.65
8.3.250.0120.00816.38
8.3.240.0100.00816.37
8.3.230.0070.00516.48
8.3.220.0110.00718.82
8.3.210.0070.00718.34
8.3.200.0040.00516.62
8.3.190.0110.00419.09
8.3.180.0070.00718.76
8.3.170.0120.00417.30
8.3.160.0150.00317.24
8.3.150.0040.01419.08
8.3.140.0120.00616.40
8.3.130.0040.00418.26
8.3.120.0070.01118.67
8.3.110.0080.01120.94
8.3.100.0060.00324.06
8.3.90.0000.01126.77
8.3.80.0070.00319.36
8.3.70.0210.00016.38
8.3.60.0100.01018.43
8.3.50.0110.00423.54
8.3.40.0140.00018.76
8.3.30.0120.00318.38
8.3.20.0060.00920.60
8.3.10.0040.00420.29
8.3.00.0040.00421.47
8.2.290.0100.00916.41
8.2.280.0020.00620.25
8.2.270.0180.00018.22
8.2.260.0070.01016.96
8.2.250.0040.01118.24
8.2.240.0060.00918.94
8.2.230.0050.00322.58
8.2.220.0130.00737.54
8.2.210.0080.00026.77
8.2.200.0060.00318.88
8.2.190.0070.00716.75
8.2.180.0170.00318.54
8.2.170.0120.00322.96
8.2.160.0070.00722.04
8.2.150.0060.00324.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0080.00019.43
8.2.110.0030.00622.07
8.2.100.0050.00519.11
8.2.90.0000.00817.50
8.2.80.0000.00818.75
8.2.70.0040.00417.38
8.2.60.0050.00517.63
8.2.50.0000.00817.58
8.2.40.0030.00517.62
8.2.30.0000.00817.46
8.2.20.0070.00017.93
8.2.10.0000.00718.99
8.2.00.0050.00319.16
8.1.330.0120.00916.01
8.1.320.0070.01017.93
8.1.310.0100.00716.70
8.1.300.0090.00616.07
8.1.290.0000.00930.84
8.1.280.0150.00625.92
8.1.270.0000.00722.23
8.1.260.0050.00326.35
8.1.250.0050.00228.09
8.1.240.0060.00323.93
8.1.230.0070.00419.15
8.1.220.0030.00617.74
8.1.210.0030.00618.77
8.1.200.0040.00417.10
8.1.190.0080.00017.13
8.1.180.0070.00418.10
8.1.170.0040.00417.62
8.1.160.0000.00718.76
8.1.150.0050.00218.71
8.1.140.0070.00022.18
8.1.130.0070.00319.97
8.1.120.0000.01017.30
8.1.110.0000.00717.34
8.1.100.0000.00717.21
8.1.90.0000.00717.30
8.1.80.0000.00817.32
8.1.70.0030.00517.21
8.1.60.0060.00317.39
8.1.50.0000.00817.43
8.1.40.0050.00317.46
8.1.30.0070.00017.57
8.1.20.0040.00417.61
8.1.10.0070.00317.41
8.1.00.0050.00317.40
8.0.300.0070.00019.64
8.0.290.0090.00016.75
8.0.280.0070.00018.44
8.0.270.0040.00418.00
8.0.260.0000.00620.05
8.0.250.0070.00016.89
8.0.240.0030.00316.88
8.0.230.0060.00316.86
8.0.220.0070.00316.64
8.0.210.0040.00416.75
8.0.200.0070.00016.83
8.0.190.0000.00716.88
8.0.180.0080.00016.85
8.0.170.0110.00216.84
8.0.160.0070.00016.84
8.0.150.0040.00416.66
8.0.140.0000.00716.61
8.0.130.0000.00513.21
8.0.120.0040.00416.71
8.0.110.0030.00516.68
8.0.100.0040.00416.73
8.0.90.0030.00616.71
8.0.80.0110.00916.80
8.0.70.0000.00716.81
8.0.60.0000.00716.82
8.0.50.0000.00716.64
8.0.30.0110.00616.76
8.0.20.0060.01317.05
8.0.10.0030.00516.95
8.0.00.0190.00016.51
7.4.330.0000.00515.55
7.4.320.0000.00716.33
7.4.300.0000.00616.45
7.4.290.0000.00716.52
7.4.280.0000.00716.51
7.4.270.0070.00016.48
7.4.260.0000.00513.20
7.4.250.0070.00016.29
7.4.240.0020.00516.54
7.4.230.0080.00016.18
7.4.220.0050.00216.26
7.4.210.0100.00816.47
7.4.200.0050.00216.50
7.4.130.0100.01416.41
7.4.120.0160.00316.36
7.4.110.0130.01016.34
7.4.100.0140.00316.51
7.4.90.0130.00316.49
7.4.80.0040.01519.39
7.4.70.0060.01016.33
7.4.60.0130.00316.39
7.4.50.0040.01416.48
7.4.40.0120.00616.25
7.4.00.0140.00314.68
7.3.330.0040.00416.20
7.3.320.0050.00013.09
7.3.310.0040.00416.08
7.3.300.0030.00316.23
7.3.290.0100.00816.23
7.3.280.0070.00716.18
7.3.260.0030.01316.48
7.3.240.0080.00816.36
7.3.230.0130.00316.42
7.3.210.0100.00616.40
7.3.200.0120.00616.37
7.3.190.0030.01316.14
7.3.180.0110.00916.21
7.3.170.0030.01316.34
7.3.160.0060.01316.49
7.3.120.0070.01114.76
7.3.110.0100.00314.70
7.3.100.0110.00814.77
7.3.90.0070.01014.94
7.3.80.0030.01114.67
7.3.70.0030.01014.63
7.3.60.0080.00514.75
7.3.50.0140.00014.60
7.3.40.0130.00014.65
7.3.30.0150.00514.73
7.3.20.0120.00914.49
7.3.10.0110.00314.53
7.3.00.0090.00614.66
7.2.330.0030.01316.58
7.2.320.0060.01316.70
7.2.310.0130.00316.78
7.2.300.0030.01416.30
7.2.290.0100.00616.50
7.2.250.0100.00814.97
7.2.240.0100.00315.07
7.2.230.0050.00915.09
7.2.220.0080.01115.08
7.2.210.0040.01114.74
7.2.200.0070.00715.01
7.2.190.0080.00715.00
7.2.180.0070.00714.92
7.2.170.0110.00314.75
7.1.330.0090.00913.82
7.1.320.0030.00913.68
7.1.310.0040.01513.71
7.1.300.0140.00013.84
7.1.290.0040.00813.65
7.1.280.0070.00713.77
7.1.270.0070.00713.84
7.1.260.0000.01613.94

preferences:
190.35 ms | 406 KiB | 6 Q