3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo { public static function myStaticFunction() { echo "I'm declared static! Calling me statically works great.\n"; } public function myNonStaticFunction() { echo "I'm not static, if you try to call me statically you'll get a deprecated warning\n"; } } foo::myStaticFunction(); foo::myNonStaticFunction();

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.130.0040.00416.75
8.3.120.0090.00018.77
8.3.110.0050.00316.91
8.3.100.0000.00816.71
8.3.90.0080.00016.79
8.3.80.0060.00318.30
8.3.70.0090.00918.43
8.3.60.0110.00718.31
8.3.50.0110.01022.86
8.3.40.0110.00418.79
8.3.30.0080.00818.86
8.3.20.0040.00420.38
8.3.10.0000.00721.63
8.3.00.0090.00019.19
8.2.250.0060.00318.82
8.2.240.0090.00016.99
8.2.230.0040.00420.94
8.2.220.0130.00324.06
8.2.210.0090.00026.77
8.2.200.0090.00018.54
8.2.190.0120.00316.63
8.2.180.0040.01218.41
8.2.170.0120.00322.96
8.2.160.0070.00720.38
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0060.00326.16
8.2.120.0030.00519.54
8.2.110.0030.00719.40
8.2.100.0090.00318.04
8.2.90.0000.00819.22
8.2.80.0080.00017.97
8.2.70.0070.00317.50
8.2.60.0070.00618.19
8.2.50.0110.00317.67
8.2.40.0090.00218.91
8.2.30.0050.00618.32
8.2.20.0080.00417.52
8.2.10.0050.00717.68
8.2.00.0100.00217.74
8.1.300.0000.01016.56
8.1.290.0090.00018.88
8.1.280.0070.01425.92
8.1.270.0040.00424.66
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0100.00721.24
8.1.230.0110.00017.77
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0060.00317.22
8.1.190.0070.00517.11
8.1.180.0070.00517.42
8.1.170.0110.00117.54
8.1.160.0070.00518.02
8.1.150.0070.00517.82
8.1.140.0070.00618.34
8.1.130.0100.00317.16
8.1.120.0120.00317.04
8.1.110.0070.00617.19
8.1.100.0050.00717.12
8.1.90.0040.00817.25
8.1.80.0060.00617.24
8.1.70.0040.00817.29
8.1.60.0040.00917.31
8.1.50.0100.00417.22
8.1.40.0080.00417.11
8.1.30.0070.00617.46
8.1.20.0110.00217.35
8.1.10.0090.00417.31
8.1.00.0060.00717.25
8.0.300.0070.00018.77
8.0.290.0000.00716.88
8.0.280.0080.00317.43
8.0.270.0110.00216.96
8.0.260.0060.00516.74
8.0.250.0100.00216.81
8.0.240.0070.00516.77
8.0.230.0090.00516.73
8.0.220.0060.00516.74
8.0.210.0090.00216.73
8.0.200.0080.00516.74
8.0.190.0070.00516.70
8.0.180.0080.00416.72
8.0.170.0050.00816.72
8.0.160.0070.00416.76
8.0.150.0090.00316.78
8.0.140.0110.00216.73
8.0.130.0090.00314.98
8.0.120.0090.00316.69
8.0.110.0070.00816.61
8.0.100.0060.00516.70
8.0.90.0050.00716.65
8.0.80.0140.00316.73
8.0.70.0070.00416.70
8.0.60.0080.00316.70
8.0.50.0060.00616.78
8.0.30.0130.00416.89
8.0.20.0100.00817.18
8.0.10.0070.00416.71
8.0.00.0110.00516.65
7.4.330.0080.00115.80
7.4.320.0090.00216.44
7.4.300.0050.00716.45
7.4.290.0090.00216.49
7.4.280.0070.00516.47
7.4.270.0090.00216.51
7.4.260.0110.00316.48
7.4.250.0060.00616.53
7.4.240.0060.00516.47
7.4.230.0080.00416.37
7.4.220.0140.00316.53
7.4.210.0100.00516.45
7.4.200.0080.00416.51
7.4.190.0060.00916.52
7.4.180.0050.01016.52
7.4.160.0090.00616.60
7.4.150.0140.00216.96
7.4.140.0090.00917.41
7.4.130.0120.00516.53
7.4.120.0110.00516.49
7.4.110.0150.00216.46
7.4.100.0110.00616.41
7.4.90.0110.01016.44
7.4.80.0100.00817.40
7.4.70.0090.00716.47
7.4.60.0060.01016.42
7.4.50.0090.00716.47
7.4.40.0110.00616.39
7.4.30.0110.00616.62
7.4.20.0080.00816.49
7.4.10.0120.00416.51
7.4.00.0080.00815.83
7.3.330.0040.00614.81
7.3.320.0080.00314.92
7.3.310.0090.00216.39
7.3.300.0060.00616.41
7.3.290.0080.00816.34
7.3.280.0090.00716.33
7.3.270.0080.00816.96
7.3.260.0130.00516.48
7.3.250.0090.00716.30
7.3.240.0100.00916.37
7.3.230.0100.00516.47
7.3.220.0120.00616.52
7.3.210.0070.01016.42
7.3.200.0130.00616.40
7.3.190.0090.00716.42
7.3.180.0100.00816.49
7.3.170.0100.01016.45
7.3.160.0120.00616.36
7.3.150.0130.00316.42
7.3.140.0120.00516.42
7.3.130.0120.00516.37
7.3.120.0100.00616.44
7.3.110.0150.00316.46
7.3.100.0090.00716.53
7.3.90.0170.00216.35
7.3.80.0110.00716.50
7.3.70.0100.00916.44
7.3.60.0100.00415.86
7.3.50.0080.00815.87
7.3.40.0130.00515.87
7.3.30.0080.00915.85
7.3.20.0070.00816.49
7.3.10.0100.00616.43
7.3.00.0070.01016.37
7.2.340.0110.00416.52
7.2.330.0100.00716.59
7.2.320.0090.00716.56
7.2.310.0100.00816.45
7.2.300.0090.00816.49
7.2.290.0080.00816.52
7.2.280.0090.00716.58
7.2.270.0120.00616.42
7.2.260.0060.01016.50
7.2.250.0080.00816.56
7.2.240.0070.00916.41
7.2.230.0120.00416.60
7.2.220.0160.00116.60
7.2.210.0160.00216.52
7.2.200.0110.00816.47
7.2.190.0090.00615.91
7.2.180.0110.00415.95
7.2.170.0080.00615.95
7.2.160.0080.00815.97
7.2.150.0130.00516.59
7.2.140.0090.00716.57
7.2.130.0080.00716.54
7.2.120.0100.00516.52
7.2.110.0080.00716.58
7.2.100.0100.00416.62
7.2.90.0100.00616.54
7.2.80.0110.00516.54
7.2.70.0180.00816.70
7.2.60.0100.00616.54
7.2.50.0090.00816.54
7.2.40.0130.00716.66
7.2.30.0120.00616.61
7.2.20.0150.00416.63
7.2.10.0090.01116.54
7.2.00.0110.00617.18
7.1.330.0130.00815.73
7.1.320.0110.00715.71
7.1.310.0090.01015.80
7.1.300.0100.00815.82
7.1.290.0110.00615.80
7.1.280.0110.00715.74
7.1.270.0120.00415.68
7.1.260.0110.00415.74
7.1.250.0090.00715.63
7.1.240.0070.01015.75
7.1.230.0120.00815.75
7.1.220.0110.00715.78
7.1.210.0080.01115.82
7.1.200.0150.00815.80
7.1.190.0230.00715.81
7.1.180.0150.00415.86
7.1.170.0100.00815.76
7.1.160.0150.00515.85
7.1.150.0100.00715.84
7.1.140.0100.00915.92
7.1.130.0130.00615.80
7.1.120.0150.00715.81
7.1.110.0080.00815.84
7.1.100.0120.00816.34
7.1.90.0070.01215.87
7.1.80.0160.00515.86
7.1.70.0110.00516.07
7.1.60.0100.00916.88
7.1.50.0100.00816.07
7.1.40.0110.01115.83
7.1.30.0110.00815.84
7.1.20.0140.00915.83
7.1.10.0270.00315.87
7.1.00.0100.02317.49
7.0.330.0130.00715.61
7.0.320.0160.00615.59
7.0.310.0170.00615.64
7.0.300.0110.00815.60
7.0.290.0120.00415.61
7.0.280.0090.01015.71
7.0.270.0140.00515.59
7.0.260.0120.00415.63
7.0.250.0130.00415.58
7.0.240.0110.00715.61
7.0.230.0080.01015.68
7.0.220.0150.00415.59
7.0.210.0100.00615.59
7.0.200.0120.00615.48
7.0.190.0110.00615.55
7.0.180.0160.00615.67
7.0.170.0090.00715.57
7.0.160.0100.00615.61
7.0.150.0120.00715.67
7.0.140.0130.00615.61
7.0.130.0100.00615.70
7.0.120.0100.00715.59
7.0.110.0160.00415.44
7.0.100.0090.00815.67
7.0.90.0170.00715.46
7.0.80.0130.00515.48
7.0.70.0160.02016.63
7.0.60.0110.02116.67
7.0.50.0140.02516.83
7.0.40.0160.02016.83
7.0.30.0160.01916.80
7.0.20.0230.01716.42
7.0.10.0130.01916.83
7.0.00.0110.02116.73
5.6.400.0190.00515.60
5.6.390.0130.01115.62
5.6.380.0150.00515.54
5.6.370.0140.00715.57
5.6.360.0220.00615.47
5.6.350.0170.00415.54
5.6.340.0170.01015.47
5.6.330.0170.00615.58
5.6.320.0150.00615.51
5.6.310.0100.01115.57
5.6.300.0080.01315.52
5.6.290.0140.00615.62
5.6.280.0090.02816.90
5.6.270.0140.00815.55
5.6.260.0120.01215.62
5.6.250.0150.00815.55
5.6.240.0140.01015.43
5.6.230.0160.00715.50
5.6.220.0160.01916.79
5.6.210.0170.01816.80
5.6.200.0170.02516.88
5.6.190.0180.01716.78
5.6.180.0180.02616.85
5.6.170.0140.02416.86
5.6.160.0130.02216.85
5.6.150.0130.02016.88
5.6.140.0190.01716.87
5.6.130.0200.01816.86
5.6.120.0160.02116.89
5.6.110.0160.02016.86
5.6.100.0120.02216.96
5.6.90.0140.02216.92
5.6.80.0180.01816.75
5.6.70.0170.01516.68
5.6.60.0180.01716.74
5.6.50.0140.01816.58
5.6.40.0150.01816.65
5.6.30.0090.02416.73
5.6.20.0180.01516.75
5.6.10.0170.01816.68
5.6.00.0150.02016.74
5.5.380.0140.00715.43
5.5.370.0140.01015.54
5.5.360.0180.01916.75
5.5.350.0160.01916.59
5.5.340.0160.02016.94
5.5.330.0120.02216.75
5.5.320.0160.01816.85
5.5.310.0150.02216.70
5.5.300.0140.02116.81
5.5.290.0120.02316.78
5.5.280.0170.01716.82
5.5.270.0170.02016.83
5.5.260.0190.01916.85
5.5.250.0140.02016.68
5.5.240.0130.02116.58
5.5.230.0120.02116.59
5.5.220.0170.02016.51
5.5.210.0150.02016.69
5.5.200.0110.02216.61
5.5.190.0130.02116.54
5.5.180.0100.02316.61
5.5.170.0140.00815.38
5.5.160.0140.02816.58
5.5.150.0120.02316.62
5.5.140.0140.02016.61
5.5.130.0150.01916.47
5.5.120.0180.01716.61
5.5.110.0130.02116.55
5.5.100.0150.01916.55
5.5.90.0130.02116.55
5.5.80.0120.02116.60
5.5.70.0170.02016.57
5.5.60.0100.02416.58
5.5.50.0160.01816.53
5.5.40.0140.02016.51
5.5.30.0120.02216.68
5.5.20.0170.01816.57
5.5.10.0150.02016.45
5.5.00.0130.02016.58

preferences:
29.79 ms | 403 KiB | 5 Q