3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public static function m() { print 'Correct' . PHP_EOL; } } call_user_function_array('\A::m', array()); $fun = '\A::m'; $fun();

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.0140.00016.50
8.3.50.0130.00721.04
8.3.40.0110.00318.76
8.3.30.0110.00418.89
8.3.20.0070.00020.33
8.3.10.0040.00423.71
8.3.00.0040.00423.58
8.2.180.0100.01018.41
8.2.170.0100.00718.77
8.2.160.0130.00322.96
8.2.150.0000.00725.66
8.2.140.0040.00424.66
8.2.130.0000.00719.64
8.2.120.0060.00326.35
8.2.110.0090.00019.18
8.2.100.0090.00317.80
8.2.90.0040.00419.05
8.2.80.0080.00018.04
8.2.70.0060.00317.63
8.2.60.0030.00617.91
8.2.50.0060.00318.07
8.2.40.0050.00322.23
8.2.30.0000.00720.60
8.2.20.0040.00417.61
8.2.10.0000.00817.98
8.2.00.0070.00017.98
8.1.280.0090.00625.92
8.1.270.0090.00323.89
8.1.260.0070.00028.09
8.1.250.0090.00028.09
8.1.240.0060.00617.36
8.1.230.0080.00319.01
8.1.220.0050.00317.74
8.1.210.0030.00718.77
8.1.200.0060.00317.22
8.1.190.0040.00417.22
8.1.180.0040.00418.10
8.1.170.0060.00318.55
8.1.160.0050.00220.56
8.1.150.0040.00418.70
8.1.140.0050.00319.41
8.1.130.0050.00317.51
8.1.120.0000.00817.30
8.1.110.0040.00417.26
8.1.100.0000.00817.34
8.1.90.0040.00417.34
8.1.80.0040.00417.36
8.1.70.0000.00717.24
8.1.60.0030.00517.39
8.1.50.0000.00817.36
8.1.40.0050.00317.35
8.1.30.0000.00717.52
8.1.20.0060.00317.57
8.1.10.0040.00417.53
8.1.00.0000.00817.37
8.0.300.0060.00318.77
8.0.290.0040.00416.63
8.0.280.0020.00518.43
8.0.270.0000.00717.20
8.0.260.0060.00017.05
8.0.250.0000.00716.98
8.0.240.0040.00416.93
8.0.230.0040.00416.93
8.0.220.0040.00416.78
8.0.210.0000.00716.92
8.0.200.0030.00316.85
8.0.190.0060.00316.85
8.0.180.0050.00316.76
8.0.170.0040.00416.97
8.0.160.0040.00416.84
8.0.150.0050.00216.81
8.0.140.0040.00416.84
8.0.130.0050.00013.37
8.0.120.0040.00416.97
8.0.110.0000.00816.82
8.0.100.0050.00316.93
8.0.90.0030.00416.89
8.0.80.0070.00816.83
8.0.70.0070.00016.93
8.0.60.0000.00716.79
8.0.50.0030.00516.84
8.0.30.0070.00917.04
8.0.20.0100.01217.40
8.0.10.0070.00016.92
8.0.00.0140.00716.74
7.4.330.0050.00016.74
7.4.320.0000.00616.47
7.4.300.0060.00016.51
7.4.290.0030.00316.52
7.4.280.0070.00316.37
7.4.270.0000.00716.45
7.4.260.0040.00416.43
7.4.250.0080.00016.33
7.4.240.0040.00316.36
7.4.230.0000.00716.25
7.4.220.0060.01016.49
7.4.210.0070.00716.57
7.4.200.0020.00516.44
7.4.160.0100.00716.45
7.4.150.0110.00617.40
7.4.140.0100.01017.86
7.4.130.0100.01116.50
7.4.120.0120.00516.44
7.4.110.0130.00616.36
7.4.100.0060.01716.43
7.4.90.0070.01016.39
7.4.80.0030.01619.39
7.4.70.0070.01016.52
7.4.60.0060.00916.57
7.4.50.0030.01416.49
7.4.40.0130.00316.39
7.4.30.0090.00916.51
7.4.00.0060.01114.74
7.3.330.0030.00313.30
7.3.320.0040.00413.30
7.3.310.0070.00016.20
7.3.300.0030.00316.20
7.3.290.0000.00816.17
7.3.280.0050.01316.32
7.3.270.0050.01117.40
7.3.260.0000.01616.41
7.3.250.0120.00916.53
7.3.240.0110.00716.39
7.3.230.0070.01016.39
7.3.210.0070.01116.25
7.3.200.0060.01119.39
7.3.190.0080.00816.47
7.3.180.0100.00716.29
7.3.170.0120.00916.30
7.3.160.0130.00316.48
7.3.120.0100.00814.71
7.3.110.0030.01514.70
7.3.100.0070.00814.82
7.3.90.0050.01014.64
7.3.80.0070.00514.74
7.3.70.0060.00314.83
7.3.60.0050.00514.67
7.3.50.0020.01014.77
7.3.40.0080.00614.70
7.3.30.0070.00714.49
7.3.20.0050.00916.61
7.3.10.0020.01216.55
7.3.00.0060.00716.56
7.2.330.0130.01016.52
7.2.320.0140.00916.50
7.2.310.0070.01416.22
7.2.300.0080.00816.51
7.2.290.0120.00916.43
7.2.250.0070.01514.78
7.2.240.0070.01414.83
7.2.230.0030.01214.65
7.2.220.0040.01015.05
7.2.210.0080.00414.76
7.2.200.0070.00514.88
7.2.190.0100.00514.92
7.2.180.0060.01114.90
7.2.170.0060.00814.75
7.2.130.0090.00316.65
7.2.120.0000.01616.95
7.2.110.0170.00016.66
7.2.100.0000.01116.90
7.2.90.0030.01416.80
7.2.80.0070.00716.78
7.2.70.0030.01016.53
7.2.60.0060.00816.88
7.2.50.0010.01116.71
7.2.40.0070.01016.87
7.2.30.0000.01416.85
7.2.20.0060.00916.82
7.2.10.0060.00316.77
7.2.00.0070.00716.59
7.1.330.0070.00915.64
7.1.320.0060.00515.50
7.1.310.0050.00815.65
7.1.300.0070.00715.69
7.1.290.0050.00515.61
7.1.280.0070.00415.36
7.1.270.0060.00615.58
7.1.260.0050.00715.55
7.1.250.0080.00415.75
7.1.200.0100.00315.37
7.1.70.0040.00416.82
7.1.60.0120.01219.20
7.1.50.0070.01016.89
7.1.00.0000.08022.45
7.0.200.0070.00316.77
7.0.60.0000.08321.85
7.0.50.0100.06317.81
7.0.40.0170.07720.21
7.0.30.0270.07020.13
7.0.20.0230.04020.10
7.0.10.0130.05020.10
7.0.00.0130.07020.23
5.6.280.0100.02721.15
5.6.210.0170.05720.47
5.6.200.0030.04018.16
5.6.190.0100.08020.46
5.6.180.0430.07320.45
5.6.170.0300.05020.39
5.6.160.0130.07720.70
5.6.150.0100.03718.15
5.6.140.0130.06318.14
5.6.130.0070.08018.19
5.6.120.0030.08321.14
5.6.110.0070.07721.01
5.6.100.0070.05021.11
5.6.90.0070.05021.10
5.6.80.0100.07720.46
5.5.350.0200.04320.41
5.5.340.0070.07717.99
5.5.330.0030.06720.48
5.5.320.0630.07320.51
5.5.310.0200.05320.35
5.5.300.0100.07718.02
5.5.290.0030.04317.99
5.5.280.0030.08020.98
5.5.270.0000.04320.76
5.5.260.0100.06720.95
5.5.250.0070.08020.66
5.5.240.0170.07720.26

preferences:
33.47 ms | 401 KiB | 5 Q