3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace test\foo; class Bar { public static function className() { $class = self; return (new \ReflectionClass($class))->getShortName(); } } echo \test\foo\Bar::className(), PHP_EOL;

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.0060.01018.68
8.3.50.0100.00822.11
8.3.40.0120.00318.65
8.3.30.0070.00718.66
8.3.20.0070.00020.09
8.3.10.0050.00223.53
8.3.00.0080.00019.80
8.2.180.0090.00618.41
8.2.170.0160.00022.96
8.2.160.0030.01020.39
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0030.00519.83
8.2.110.0080.00020.31
8.2.100.0080.00317.63
8.2.90.0000.00719.13
8.2.80.0040.00417.97
8.2.70.0000.00817.63
8.2.60.0060.00317.90
8.2.50.0080.00018.07
8.2.40.0040.00421.01
8.2.30.0000.00720.62
8.2.20.0030.00617.73
8.2.10.0040.00418.11
8.2.00.0000.00717.98
8.1.280.0120.00325.92
8.1.270.0000.01423.91
8.1.260.0060.00326.35
8.1.250.0000.00728.09
8.1.240.0050.00520.64
8.1.230.0040.00817.42
8.1.220.0040.00417.79
8.1.210.0090.00018.77
8.1.200.0040.00417.35
8.1.190.0030.00517.23
8.1.180.0050.00318.10
8.1.170.0070.00418.48
8.1.160.0030.00522.00
8.1.150.0080.00018.82
8.1.140.0060.00617.28
8.1.130.0030.00317.63
8.1.120.0040.00417.38
8.1.110.0040.00417.26
8.1.100.0000.00817.30
8.1.90.0050.00217.42
8.1.80.0000.00817.28
8.1.70.0000.00717.41
8.1.60.0040.00417.37
8.1.50.0000.00817.43
8.1.40.0000.00817.44
8.1.30.0030.00617.54
8.1.20.0000.00717.54
8.1.10.0040.00417.47
8.1.00.0040.00417.45
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0070.00018.34
8.0.270.0070.00017.17
8.0.260.0000.00717.24
8.0.250.0060.00316.94
8.0.240.0040.00416.98
8.0.230.0000.00716.90
8.0.220.0000.00716.95
8.0.210.0000.00716.93
8.0.200.0000.00716.85
8.0.190.0040.00416.92
8.0.180.0000.00816.96
8.0.170.0080.00016.88
8.0.160.0000.00816.86
8.0.150.0080.00016.87
8.0.140.0000.00716.89
8.0.130.0060.00013.38
8.0.120.0080.00016.96
8.0.110.0040.00416.90
8.0.100.0050.00216.82
8.0.90.0000.00817.07
8.0.80.0100.00716.95
8.0.70.0040.00416.89
8.0.60.0000.00816.73
8.0.50.0080.00016.99
8.0.30.0120.00616.98
8.0.20.0080.01317.40
8.0.10.0000.00716.97
8.0.00.0080.01016.95
7.4.330.0000.00515.08
7.4.320.0030.00316.62
7.4.300.0000.00616.52
7.4.290.0080.00016.49
7.4.280.0040.00416.52
7.4.270.0040.00416.60
7.4.260.0040.00416.63
7.4.250.0030.00516.45
7.4.240.0070.00016.61
7.4.230.0040.00416.51
7.4.220.0030.01416.61
7.4.210.0110.00816.45
7.4.200.0000.00716.62
7.4.160.0130.00316.41
7.4.150.0090.00817.40
7.4.140.0080.01017.86
7.4.130.0080.00916.67
7.4.120.0070.01016.57
7.4.110.0110.00716.74
7.4.100.0100.00716.57
7.4.90.0090.00916.33
7.4.80.0030.01419.39
7.4.70.0110.00716.54
7.4.60.0130.00416.56
7.4.50.0000.00616.21
7.4.40.0180.00616.52
7.4.30.0110.00716.40
7.4.00.0060.01015.19
7.3.330.0000.00513.33
7.3.320.0030.00313.15
7.3.310.0070.00016.47
7.3.300.0030.00316.25
7.3.290.0070.00916.36
7.3.280.0080.00816.39
7.3.270.0060.01117.40
7.3.260.0140.00916.54
7.3.250.0110.00616.40
7.3.240.0190.00016.46
7.3.230.0120.00616.61
7.3.210.0110.00616.33
7.3.200.0140.00316.41
7.3.190.0030.01716.30
7.3.180.0060.01216.67
7.3.170.0130.00316.29
7.3.160.0040.01916.34
7.3.120.0040.01414.90
7.3.110.0000.01214.88
7.3.100.0100.00314.89
7.3.90.0130.00714.86
7.3.80.0030.01514.61
7.3.70.0070.00714.76
7.3.60.0070.00714.63
7.3.50.0080.00814.70
7.3.40.0060.00914.64
7.3.30.0070.00714.77
7.3.20.0000.01516.73
7.3.10.0040.00716.73
7.3.00.0060.00616.29
7.2.330.0140.00916.71
7.2.320.0060.01616.57
7.2.310.0090.00916.40
7.2.300.0160.00016.60
7.2.290.0120.00416.40
7.2.250.0100.01015.21
7.2.240.0040.01414.89
7.2.230.0060.01314.77
7.2.220.0000.01414.48
7.2.210.0000.01614.89
7.2.200.0070.00715.07
7.2.190.0040.01114.79
7.2.180.0070.00715.00
7.2.170.0120.00314.98
7.2.160.0090.00314.93
7.2.150.0000.01516.95
7.2.140.0090.00616.56
7.2.130.0060.00317.02
7.2.120.0060.00916.93
7.2.110.0070.01016.96
7.2.100.0050.00516.75
7.2.90.0060.00616.96
7.2.80.0030.00916.84
7.2.70.0030.00916.79
7.2.60.0030.01316.86
7.2.50.0150.00017.02
7.2.40.0070.00316.83
7.2.30.0060.01216.91
7.2.20.0030.01416.88
7.2.10.0030.01016.71
7.2.00.0100.00417.97
7.1.330.0140.00015.77
7.1.320.0030.00915.77
7.1.310.0130.00015.89
7.1.300.0060.00615.66
7.1.290.0070.00415.64
7.1.280.0040.01115.68
7.1.270.0100.00615.67
7.1.260.0000.00815.67
7.1.250.0040.01115.51
7.1.200.0040.00515.80
7.1.100.0070.01017.88
7.1.70.0030.00517.12
7.1.60.0170.00719.50
7.1.50.0130.01016.87
7.1.00.0070.07322.57
7.0.200.0260.00316.68
7.0.60.0070.07319.78
7.0.50.0030.06317.87
7.0.40.0170.05319.96
7.0.30.0270.08020.24
7.0.20.0370.07320.13
7.0.10.0100.08020.10
7.0.00.0100.08020.12
5.6.280.0030.03720.79
5.6.210.0030.05320.76
5.6.200.0070.08318.29
5.6.190.0030.07020.64
5.6.180.0500.06720.63
5.6.170.0270.07720.44
5.6.160.0030.07320.56
5.6.150.0100.05718.17
5.6.140.0070.04718.23
5.6.130.0030.04018.19
5.6.120.0030.05020.99
5.6.110.0230.07021.13
5.6.100.0170.06721.04
5.6.90.0030.06320.99
5.6.80.0030.03720.51
5.5.350.0230.06320.50
5.5.340.0170.03718.08
5.5.330.0100.08020.44
5.5.320.0230.05720.37
5.5.310.0430.07020.34
5.5.300.0030.04318.07
5.5.290.0130.07018.01
5.5.280.0030.04020.88
5.5.270.0100.08320.96
5.5.260.0130.08020.68
5.5.250.0070.07020.47
5.5.240.0130.03020.20
5.4.450.0770.04719.70
5.4.440.0670.05319.20
5.4.430.0700.05719.55
5.4.420.0700.05319.47
5.4.410.0800.04719.27
5.4.400.0800.06319.14
5.4.390.0700.05319.02
5.4.380.0770.05319.11
5.4.370.0670.05019.30
5.4.360.0830.07018.84
5.4.350.0670.05319.23
5.4.340.0670.05319.26
5.4.320.0630.05719.06
5.4.310.0630.05319.29
5.4.300.0670.05319.38
5.4.290.0600.06019.13
5.4.280.0700.05019.25
5.4.270.0700.05319.25
5.4.260.0930.07319.27
5.4.250.0930.04319.27
5.4.240.0700.05718.88
5.4.230.0900.04019.36
5.4.220.0900.06019.25
5.4.210.0670.05718.86
5.4.200.0770.05019.10
5.4.190.0900.07719.27
5.4.180.0830.06018.83
5.4.170.0730.04719.12
5.4.160.0700.05319.12
5.4.150.0870.06319.13
5.4.140.0670.05716.47
5.4.130.0700.04716.43
5.4.120.0770.05316.39
5.4.110.0730.06016.53
5.4.100.0630.05716.57
5.4.90.0800.06016.45
5.4.80.0670.05316.61
5.4.70.0030.03316.28
5.4.60.0300.06316.53
5.4.50.0270.06316.21
5.4.40.0370.05316.45
5.4.30.0100.07016.34
5.4.20.0070.07316.16
5.4.10.0400.02316.42

preferences:
75.66 ms | 401 KiB | 5 Q