3v4l.org

run code in 300+ PHP versions simultaneously
<?php class SomethingClass{ public static function somethingMethod($arg){ //return "Now I'm a class static!". $arg; return "Now I'a instace the a class"; } } $arg = "Arguments"; $instanceSomeThing = new SomethingClass(); print $instanceSomeThing->somethingMethod($arg); //print SomethingClass::somethingMethod($arg);

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.0100.01018.30
8.3.50.0130.00521.95
8.3.40.0110.00718.84
8.3.30.0120.00318.71
8.3.20.0050.00320.34
8.3.10.0080.00021.86
8.3.00.0050.00517.38
8.2.180.0170.00316.75
8.2.170.0110.00422.96
8.2.160.0130.00719.15
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00722.14
8.2.120.0000.00826.35
8.2.110.0030.00720.56
8.2.100.0080.00418.03
8.2.90.0060.00319.21
8.2.80.0040.00417.97
8.2.70.0040.00417.63
8.2.60.0000.00818.05
8.2.50.0040.00418.10
8.2.40.0040.00420.61
8.2.30.0050.00319.33
8.2.20.0040.00417.56
8.2.10.0000.00718.06
8.2.00.0070.00017.96
8.1.280.0150.00025.92
8.1.270.0000.00823.99
8.1.260.0040.00428.09
8.1.250.0000.00828.09
8.1.240.0000.00923.79
8.1.230.0040.00817.83
8.1.220.0030.00617.74
8.1.210.0030.00618.77
8.1.200.0060.00317.35
8.1.190.0040.00417.10
8.1.180.0040.00418.10
8.1.170.0030.00618.57
8.1.160.0080.00022.20
8.1.150.0040.00420.52
8.1.140.0040.00419.42
8.1.130.0000.00917.52
8.1.120.0040.00417.30
8.1.110.0090.00017.39
8.1.100.0000.00817.38
8.1.90.0050.00217.43
8.1.80.0000.00717.39
8.1.70.0030.00317.39
8.1.60.0000.00717.64
8.1.50.0030.00617.48
8.1.40.0000.00817.51
8.1.30.0040.00417.65
8.1.20.0000.00717.55
8.1.10.0000.00717.55
8.1.00.0000.00817.48
8.0.300.0040.00418.77
8.0.290.0000.00716.75
8.0.280.0070.00018.45
8.0.270.0030.00317.31
8.0.260.0000.00717.17
8.0.250.0000.00616.99
8.0.240.0070.00016.96
8.0.230.0030.00316.85
8.0.220.0040.00416.79
8.0.210.0060.00316.81
8.0.200.0040.00416.72
8.0.190.0000.00716.93
8.0.180.0030.00616.85
8.0.170.0050.00216.85
8.0.160.0040.00416.87
8.0.150.0030.00316.68
8.0.140.0030.00316.77
8.0.130.0060.00013.29
8.0.120.0080.00016.77
8.0.110.0040.00416.82
8.0.100.0000.00816.82
8.0.90.0000.00716.68
8.0.80.0060.00916.80
8.0.70.0050.00216.77
8.0.60.0050.00316.64
8.0.50.0030.00516.70
8.0.30.0110.00417.03
8.0.20.0130.00717.40
8.0.10.0050.00217.01
8.0.00.0040.01516.80
7.4.330.0000.00515.08
7.4.320.0030.00316.54
7.4.300.0030.00316.62
7.4.290.0070.00016.64
7.4.280.0040.00416.56
7.4.270.0030.00316.52
7.4.260.0070.00016.50
7.4.250.0040.00416.43
7.4.240.0030.00316.46
7.4.230.0070.00016.50
7.4.220.0090.00916.57
7.4.210.0110.00416.44
7.4.200.0000.00716.71
7.4.160.0110.00516.32
7.4.150.0110.00717.40
7.4.140.0140.00617.86
7.4.130.0070.00916.54
7.4.120.0080.01016.41
7.4.110.0030.01716.56
7.4.100.0100.00616.43
7.4.90.0100.00716.60
7.4.80.0140.00719.39
7.4.70.0060.01016.51
7.4.60.0100.00616.52
7.4.50.0030.01116.42
7.4.40.0090.00816.34
7.4.30.0040.01816.37
7.4.00.0070.00714.88
7.3.330.0050.00013.21
7.3.320.0030.00313.07
7.3.310.0000.00616.13
7.3.300.0030.00316.19
7.3.290.0040.00416.27
7.3.280.0100.00716.18
7.3.270.0170.00017.40
7.3.260.0100.00716.17
7.3.250.0110.00816.23
7.3.240.0100.00616.29
7.3.230.0130.00716.46
7.3.210.0060.01016.19
7.3.200.0100.01016.40
7.3.190.0040.01716.40
7.3.180.0040.01816.18
7.3.170.0100.00616.30
7.3.160.0070.01116.30
7.3.120.0120.00314.71
7.3.110.0070.01314.84
7.3.100.0030.00914.54
7.3.90.0030.00714.79
7.3.80.0060.00614.88
7.3.70.0030.00714.78
7.3.60.0070.00714.56
7.3.50.0070.00714.52
7.3.40.0040.00814.67
7.3.30.0030.01014.63
7.3.20.0000.01216.40
7.3.10.0050.00916.34
7.3.00.0080.00416.36
7.2.330.0180.00416.68
7.2.320.0060.01216.79
7.2.310.0130.00316.45
7.2.300.0120.00916.59
7.2.290.0100.01016.71
7.2.250.0100.01014.65
7.2.240.0030.01715.13
7.2.230.0120.00314.83
7.2.220.0060.00615.00
7.2.210.0030.00815.05
7.2.200.0030.01015.03
7.2.190.0110.01114.76
7.2.180.0030.01014.87
7.2.170.0060.00914.66
7.2.130.0060.01216.68
7.2.120.0030.01016.92
7.2.110.0000.01716.82
7.2.100.0130.00316.92
7.2.90.0030.00616.65
7.2.80.0040.01516.93
7.2.70.0080.00316.89
7.2.60.0090.01016.77
7.2.50.0070.01016.61
7.2.40.0070.00716.61
7.2.30.0060.00617.07
7.2.20.0090.00616.82
7.2.10.0040.00816.95
7.2.00.0080.00918.07
7.1.330.0060.00615.61
7.1.320.0090.00615.63
7.1.310.0040.00815.91
7.1.300.0070.01315.84
7.1.290.0070.00715.81
7.1.280.0060.00915.39
7.1.270.0060.00915.71
7.1.260.0040.01115.69
7.1.250.0030.00715.54
7.1.70.0080.00016.95
7.1.60.0030.00919.38
7.1.00.0000.08022.31
7.0.200.0370.00314.75
7.0.100.0100.07320.11
7.0.90.0500.07719.87
7.0.80.0370.05719.80
7.0.70.0400.08019.86
7.0.60.0470.07719.91
7.0.50.0170.08020.29
7.0.40.0100.05320.07
7.0.30.0100.06320.04
7.0.20.0070.07720.05
7.0.10.0100.07719.96
7.0.00.0200.07020.00
5.6.250.0130.04720.62
5.6.240.0130.04320.62
5.6.230.0000.11320.48
5.6.220.0070.08720.54
5.6.210.0200.07020.61
5.6.200.0070.07321.07
5.6.190.0030.08320.99
5.6.180.0100.08720.97
5.6.170.0070.09021.03
5.6.160.0030.09021.09
5.6.150.0130.07721.09
5.6.140.0070.07720.96
5.6.130.0000.05321.00
5.6.120.0030.08320.90
5.6.110.0200.06320.99
5.6.100.0130.07020.88
5.6.90.0100.09020.97
5.6.80.0030.07020.39
5.6.70.0030.07720.37
5.6.60.0000.08320.35
5.6.50.0030.08320.35
5.6.40.0030.07720.39
5.6.30.0030.03720.42
5.6.20.0100.05720.41
5.6.10.0100.06020.26
5.6.00.0100.07320.39
5.5.380.0100.04320.37
5.5.370.0130.04320.31
5.5.360.0100.04320.50
5.5.350.0070.08020.32
5.5.340.0000.08320.78
5.5.330.0030.04720.85
5.5.320.0070.08020.71
5.5.310.0030.05320.78
5.5.300.0030.08720.84
5.5.290.0100.08320.87
5.5.280.0130.07720.84
5.5.270.0070.09020.69
5.5.260.0000.09020.84
5.5.250.0170.07020.59
5.5.240.0070.08020.23
5.5.230.0000.04320.21
5.5.220.0000.06320.15
5.5.210.0070.04720.08
5.5.200.0070.07320.21
5.5.190.0000.08020.17
5.5.180.0000.05020.17
5.5.160.0000.06020.07
5.5.150.0030.06020.09
5.5.140.0070.07720.16
5.5.130.0130.04020.21
5.5.120.0100.05320.18
5.5.110.0070.03720.21
5.5.100.0100.04020.07
5.5.90.0070.03320.01
5.5.80.0030.04020.04
5.5.70.0070.03720.09
5.5.60.0030.04320.00
5.5.50.0000.04020.11
5.5.40.0000.03720.10
5.5.30.0100.03720.01
5.5.20.0030.04020.03
5.5.10.0000.07720.00
5.5.00.0000.04720.07
5.4.450.0130.04319.36
5.4.440.0070.07319.53
5.4.430.0070.08019.40
5.4.420.0170.06319.35
5.4.410.0130.07319.23
5.4.400.0030.05719.18
5.4.390.0100.06318.84
5.4.380.0030.05319.14
5.4.370.0070.05719.04
5.4.360.0070.08019.16
5.4.350.0030.07319.14
5.4.340.0030.06719.23
5.4.320.0070.04319.13
5.4.310.0130.06719.14
5.4.300.0030.07319.23
5.4.290.0070.07019.04
5.4.280.0100.07719.23
5.4.270.0030.06719.19
5.4.260.0100.03018.90
5.4.250.0000.04019.17
5.4.240.0000.05019.04
5.4.230.0000.04019.04
5.4.220.0000.04019.02
5.4.210.0070.04718.87
5.4.200.0030.03719.00
5.4.190.0000.03718.97
5.4.180.0070.06319.08
5.4.170.0030.05319.15
5.4.160.0030.03719.02
5.4.150.0000.04019.18
5.4.140.0030.04316.43
5.4.130.0070.03316.19
5.4.120.0000.03716.36
5.4.110.0100.03316.27
5.4.100.0000.04016.49
5.4.90.0070.05016.27
5.4.80.0100.02716.32
5.4.70.0000.04016.47
5.4.60.0000.04316.48
5.4.50.0000.05316.47
5.4.40.0030.03316.41
5.4.30.0000.03716.46
5.4.20.0030.03016.46
5.4.10.0070.03016.40
5.4.00.0000.04015.86
5.3.290.0070.05014.72
5.3.280.0000.04014.57
5.3.270.0000.04314.63
5.3.260.0030.03714.58
5.3.250.0070.05314.63
5.3.240.0070.06014.61
5.3.230.0070.03314.59
5.3.220.0070.03014.48
5.3.210.0070.03314.61
5.3.200.0000.03714.68
5.3.190.0000.04714.68
5.3.180.0000.03714.56
5.3.170.0000.06714.51
5.3.160.0030.03714.58
5.3.150.0000.04314.56
5.3.140.0070.03314.67
5.3.130.0070.03314.42
5.3.120.0000.04714.63
5.3.110.0000.04314.60
5.3.100.0030.03314.17
5.3.90.0030.05014.07
5.3.80.0070.03013.94
5.3.70.0000.03714.02
5.3.60.0030.03314.10
5.3.50.0030.03313.96
5.3.40.0070.03713.83
5.3.30.0000.03314.02
5.3.20.0030.03013.78
5.3.10.0000.07013.57
5.3.00.0070.04013.56
5.2.170.0000.03011.26
5.2.160.0070.02311.23
5.2.150.0030.02711.28
5.2.140.0070.02311.02
5.2.130.0000.02711.24
5.2.120.0000.02711.16
5.2.110.0030.02711.23
5.2.100.0000.02311.12
5.2.90.0030.03311.08
5.2.80.0030.04310.95
5.2.70.0070.05311.20
5.2.60.0000.04311.07
5.2.50.0000.04711.04
5.2.40.0030.05311.09
5.2.30.0000.05310.95
5.2.20.0030.04010.96
5.2.10.0030.04310.92
5.2.00.0070.06310.77
5.1.60.0030.05310.00
5.1.50.0100.04010.08
5.1.40.0030.03710.09
5.1.30.0030.05710.42
5.1.20.0000.03310.37
5.1.10.0000.05010.08
5.1.00.0000.05710.08
5.0.50.0000.0378.64
5.0.40.0030.0338.51
5.0.30.0000.0678.29
5.0.20.0070.0408.27
5.0.10.0070.0408.25
5.0.00.0000.0638.24
4.4.90.0000.0377.47
4.4.80.0000.0307.47
4.4.70.0000.0377.47
4.4.60.0030.0337.47
4.4.50.0030.0337.47
4.4.40.0000.0507.47
4.4.30.0000.0177.47
4.4.20.0030.0337.47
4.4.10.0030.0177.47
4.4.00.0030.0537.47
4.3.110.0070.0237.47
4.3.100.0000.0337.47
4.3.90.0000.0307.47
4.3.80.0100.0477.47
4.3.70.0000.0337.47
4.3.60.0000.0307.47
4.3.50.0000.0307.47
4.3.40.0030.0537.47
4.3.30.0030.0377.47
4.3.20.0000.0377.47
4.3.10.0000.0377.47
4.3.00.0000.0377.47

preferences:
63.52 ms | 401 KiB | 5 Q