3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function bar(){ echo 'Bar called'; } public static function __callStatic($a, $b) { echo 'CS: '.$a; } } 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.3.60.0110.00716.63
8.3.50.0210.00722.03
8.3.40.0090.00918.84
8.3.30.0070.00718.72
8.3.20.0080.00020.25
8.3.10.0070.00023.50
8.3.00.0040.00419.97
8.2.180.0080.01116.63
8.2.170.0030.01022.96
8.2.160.0130.00020.52
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0000.00720.90
8.2.110.0060.00319.17
8.2.100.0080.00417.72
8.2.90.0040.00419.05
8.2.80.0000.00917.97
8.2.70.0000.00817.50
8.2.60.0000.00717.93
8.2.50.0040.00418.10
8.2.40.0060.00322.27
8.2.30.0040.00420.61
8.2.20.0040.00417.64
8.2.10.0070.00017.83
8.2.00.0030.00617.98
8.1.280.0090.01225.92
8.1.270.0040.00424.66
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0000.01022.70
8.1.230.0040.00817.76
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0040.00417.10
8.1.190.0080.00017.10
8.1.180.0080.00018.10
8.1.170.0000.00818.52
8.1.160.0050.00220.63
8.1.150.0040.00418.73
8.1.140.0040.00419.44
8.1.130.0030.00317.60
8.1.120.0070.00017.34
8.1.110.0040.00417.31
8.1.100.0040.00417.23
8.1.90.0050.00317.35
8.1.80.0000.00817.24
8.1.70.0080.00317.30
8.1.60.0080.00017.39
8.1.50.0060.00317.34
8.1.40.0000.00817.43
8.1.30.0000.00817.51
8.1.20.0080.00017.60
8.1.10.0040.00417.51
8.1.00.0070.00017.32
8.0.300.0060.00318.77
8.0.290.0070.00016.75
8.0.280.0050.00318.33
8.0.270.0030.00617.19
8.0.260.0030.00617.23
8.0.250.0070.00016.84
8.0.240.0000.00816.99
8.0.230.0040.00416.93
8.0.220.0030.00516.91
8.0.210.0000.00716.88
8.0.200.0030.00316.96
8.0.190.0090.00016.96
8.0.180.0000.00716.88
8.0.170.0080.00416.86
8.0.160.0040.00416.95
8.0.150.0030.00516.75
8.0.140.0040.00416.72
8.0.130.0030.00313.26
8.0.120.0070.00016.82
8.0.110.0040.00416.82
8.0.100.0030.00416.71
8.0.90.0050.00216.77
8.0.80.0100.00616.81
8.0.70.0000.00716.88
8.0.60.0040.00416.93
8.0.50.0040.00416.73
8.0.30.0090.00616.74
8.0.20.0140.00417.40
8.0.10.0040.00416.98
8.0.00.0090.00916.64
7.4.330.0000.00516.82
7.4.320.0030.00316.42
7.4.300.0060.00016.52
7.4.290.0070.00016.58
7.4.280.0040.00416.50
7.4.270.0000.00716.45
7.4.260.0030.00316.51
7.4.250.0000.00716.50
7.4.240.0040.00416.46
7.4.230.0030.00316.41
7.4.220.0100.00616.45
7.4.210.0030.01116.53
7.4.200.0040.00416.27
7.4.160.0070.01016.48
7.4.150.0110.01117.40
7.4.140.0120.01117.86
7.4.130.0090.00716.53
7.4.120.0060.01116.35
7.4.110.0210.00316.43
7.4.100.0060.01616.52
7.4.90.0100.01316.48
7.4.80.0100.00919.39
7.4.70.0110.00616.37
7.4.60.0060.00916.40
7.4.50.0090.00616.21
7.4.40.0100.00716.71
7.4.30.0090.01216.59
7.4.10.0070.00914.93
7.4.00.0050.01014.80
7.3.330.0000.00513.03
7.3.320.0000.00613.12
7.3.310.0040.00416.39
7.3.300.0040.00416.28
7.3.290.0070.00016.15
7.3.280.0100.00816.29
7.3.270.0130.00317.40
7.3.260.0110.00616.24
7.3.250.0100.01016.31
7.3.240.0090.00816.49
7.3.230.0130.00416.40
7.3.210.0090.00916.28
7.3.200.0030.01316.26
7.3.190.0070.01016.49
7.3.180.0030.01416.41
7.3.170.0070.01016.36
7.3.160.0030.01216.45
7.3.130.0050.01014.82
7.3.120.0060.01014.80
7.3.110.0060.01314.85
7.3.100.0040.01214.85
7.3.90.0060.00714.74
7.3.80.0060.00614.86
7.3.70.0030.01114.59
7.3.60.0040.00814.67
7.3.50.0070.00514.65
7.3.40.0060.00714.69
7.3.30.0080.00314.74
7.3.20.0060.00616.50
7.3.10.0120.00316.44
7.3.00.0080.00716.53
7.2.330.0180.00016.45
7.2.320.0100.00616.29
7.2.310.0060.01216.61
7.2.300.0140.01016.30
7.2.290.0070.01016.29
7.2.260.0050.01514.91
7.2.250.0070.00915.12
7.2.240.0090.00614.87
7.2.230.0060.00614.98
7.2.220.0050.01015.12
7.2.210.0000.01515.02
7.2.200.0030.00814.86
7.2.190.0020.01314.74
7.2.180.0070.00514.86
7.2.170.0040.01214.75
7.2.160.0050.00415.06
7.2.150.0060.00816.70
7.2.140.0050.01016.80
7.2.130.0070.00916.81
7.2.120.0050.00916.68
7.2.110.0070.00916.76
7.2.100.0050.00816.53
7.2.90.0090.00716.83
7.2.80.0060.00816.79
7.2.70.0060.00716.78
7.2.60.0060.00616.71
7.2.50.0040.00816.67
7.2.40.0070.00816.79
7.2.30.0060.00916.71
7.2.20.0060.00916.81
7.2.10.0060.00716.89
7.2.00.0050.00717.42
7.1.330.0060.00915.78
7.1.320.0050.00615.67
7.1.310.0040.00715.46
7.1.300.0080.00315.54
7.1.290.0060.00915.67
7.1.280.0040.01015.52
7.1.270.0040.00715.66
7.1.260.0030.00915.61
7.1.250.0080.00715.57
7.1.240.0080.00615.80
7.1.230.0060.00615.71
7.1.220.0040.01115.58
7.1.210.0030.00815.60
7.1.200.0030.00915.73
7.1.190.0060.00515.58
7.1.180.0030.00915.37
7.1.170.0060.00415.58
7.1.160.0060.00615.49
7.1.150.0040.00615.63
7.1.140.0020.01415.54
7.1.130.0050.00815.43
7.1.120.0060.00515.60
7.1.110.0070.00515.60
7.1.100.0020.01016.37
7.1.90.0090.00515.66
7.1.80.0050.00715.43
7.1.70.0050.00616.14
7.1.60.0070.00916.87
7.1.50.0090.01121.95
7.1.40.0040.00715.55
7.1.30.0080.00315.65
7.1.20.0020.00615.66
7.1.10.0030.01115.33
7.1.00.0090.02817.88
7.0.330.0080.00315.19
7.0.320.0050.00815.26
7.0.310.0020.01115.34
7.0.300.0030.00815.37
7.0.290.0050.00815.30
7.0.280.0080.00615.24
7.0.270.0020.01115.26
7.0.260.0050.01015.29
7.0.250.0030.01015.40
7.0.240.0030.00915.15
7.0.230.0020.00915.29
7.0.220.0070.00415.12
7.0.210.0040.00715.41
7.0.200.0050.00615.78
7.0.190.0080.00515.33
7.0.180.0070.00515.40
7.0.170.0050.00515.24
7.0.160.0060.00615.35
7.0.150.0090.00515.19
7.0.140.0050.00815.35
7.0.130.0090.00415.39
7.0.120.0050.00915.26
7.0.110.0060.00615.36
7.0.100.0070.00315.09
7.0.90.0100.00215.15
7.0.80.0070.00615.40
7.0.70.0050.01015.23
7.0.60.0130.02816.65
7.0.50.0060.03216.17
7.0.40.0030.02215.75
7.0.30.0150.02515.63
7.0.20.0140.03015.57
7.0.10.0070.02415.65
7.0.00.0070.02915.60
5.6.400.0030.01014.32
5.6.390.0060.00814.29
5.6.380.0060.00814.38
5.6.370.0040.00614.18
5.6.360.0050.00814.28
5.6.350.0030.00914.51
5.6.340.0070.00714.36
5.6.330.0100.00313.96
5.6.320.0050.00614.48
5.6.310.0050.00813.96
5.6.300.0050.00714.19
5.6.290.0050.00814.33
5.6.280.0010.01916.49
5.6.270.0030.01014.37
5.6.260.0060.00314.24
5.6.250.0060.00714.27
5.6.240.0060.00614.30
5.6.230.0030.00714.06
5.6.220.0030.00914.33
5.6.210.0070.01716.32
5.6.200.0080.03015.54
5.6.190.0070.03516.36
5.6.180.0200.02816.21
5.6.170.0100.03216.34
5.6.160.0080.01416.35
5.6.150.0070.03115.53
5.6.140.0080.03015.55
5.6.130.0060.03115.42
5.6.120.0080.03016.66
5.6.110.0040.02516.46
5.6.100.0060.03316.48
5.6.90.0080.01316.45
5.6.80.0090.02816.15
5.6.70.0050.00914.09
5.6.60.0050.00814.02
5.6.50.0100.00214.32
5.6.40.0020.01314.32
5.6.30.0050.00714.01
5.6.20.0030.00814.34
5.6.10.0070.00713.97
5.6.00.0080.00314.07
5.5.380.0060.00614.12
5.5.370.0070.00513.95
5.5.360.0050.00614.20
5.5.350.0070.03016.17
5.5.340.0050.02615.32
5.5.330.0030.03416.15
5.5.320.0170.02116.14
5.5.310.0100.03216.02
5.5.300.0060.01615.42
5.5.290.0020.03715.46
5.5.280.0030.03416.25
5.5.270.0070.03116.33
5.5.260.0100.02016.16
5.5.250.0060.02116.21
5.5.240.0160.02715.88
5.5.230.0070.00514.01
5.5.220.0020.01213.98
5.5.210.0060.00614.01
5.5.200.0110.00313.95
5.5.190.0030.01014.01
5.5.180.0040.00814.03
5.5.170.0050.00514.00
5.5.160.0070.00514.13
5.5.150.0090.00313.97
5.5.140.0050.00514.08
5.5.130.0030.01013.87
5.5.120.0070.00914.00
5.5.110.0110.00513.92
5.5.100.0060.00914.13
5.5.90.0030.01014.00
5.5.80.0060.00614.12
5.5.70.0050.00813.96
5.5.60.0060.00514.00
5.5.50.0050.00714.08
5.5.40.0050.00713.83
5.5.30.0020.01014.02
5.5.20.0030.01014.01
5.5.10.0050.00913.84
5.5.00.0050.00513.73

preferences:
69.09 ms | 401 KiB | 5 Q