3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public static $a = 'static property called'; public static function ftest() { echo 'static function calles'; } } $test = new Test(); $test->ftest(); echo $test->a; echo Test::$a;

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.0070.01016.62
8.3.50.0110.00722.00
8.3.40.0070.00718.58
8.3.30.0030.01218.85
8.3.20.0080.00020.39
8.3.10.0070.00023.65
8.3.00.0040.00419.38
8.2.180.0120.00918.51
8.2.170.0070.01322.96
8.2.160.0070.00720.57
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00417.75
8.2.120.0040.00426.35
8.2.110.0100.00020.93
8.2.100.0090.00317.97
8.2.90.0060.00319.23
8.2.80.0030.00617.97
8.2.70.0040.00917.13
8.2.60.0070.00418.04
8.2.50.0030.00718.07
8.2.40.0040.00419.21
8.2.30.0070.00020.53
8.2.20.0030.00617.74
8.2.10.0000.00817.99
8.2.00.0050.00318.00
8.1.280.0100.01025.92
8.1.270.0030.00723.88
8.1.260.0070.00028.09
8.1.250.0070.00028.09
8.1.240.0060.00322.19
8.1.230.0040.00818.79
8.1.220.0050.00317.77
8.1.210.0000.00818.77
8.1.200.0090.00017.13
8.1.190.0070.00317.23
8.1.180.0000.00718.10
8.1.170.0000.00818.53
8.1.160.0050.00221.86
8.1.150.0000.00718.80
8.1.140.0040.00419.45
8.1.130.0000.00717.55
8.1.120.0000.01217.38
8.1.110.0070.00017.36
8.1.100.0040.00417.28
8.1.90.0000.00817.29
8.1.80.0000.00817.42
8.1.70.0000.00717.35
8.1.60.0000.00717.56
8.1.50.0030.00517.46
8.1.40.0060.00317.51
8.1.30.0050.00317.68
8.1.20.0030.00617.63
8.1.10.0020.00517.46
8.1.00.0090.00017.55
8.0.300.0000.00720.07
8.0.290.0040.00416.75
8.0.280.0000.00818.36
8.0.270.0000.00717.25
8.0.260.0080.00017.16
8.0.250.0030.00317.04
8.0.240.0070.00017.03
8.0.230.0000.00716.85
8.0.220.0100.00016.90
8.0.210.0070.00016.85
8.0.200.0030.00316.98
8.0.190.0040.00416.85
8.0.180.0040.00416.93
8.0.170.0030.00616.81
8.0.160.0040.00416.91
8.0.150.0000.01016.73
8.0.140.0020.00516.77
8.0.130.0050.00013.24
8.0.120.0000.00916.82
8.0.110.0030.00316.87
8.0.100.0070.00016.90
8.0.90.0070.00016.73
8.0.80.0100.01016.84
8.0.70.0000.00816.71
8.0.60.0080.00016.77
8.0.50.0040.00416.99
8.0.30.0090.00916.87
8.0.20.0120.00917.43
8.0.10.0040.00416.84
8.0.00.0130.00516.76
7.4.330.0000.00516.89
7.4.320.0000.00716.54
7.4.300.0000.00716.48
7.4.290.0060.00016.58
7.4.280.0060.00316.41
7.4.270.0000.00616.48
7.4.260.0040.00716.47
7.4.250.0000.00716.44
7.4.240.0060.00216.52
7.4.230.0030.00316.56
7.4.220.0030.01216.61
7.4.210.0070.01016.44
7.4.200.0030.00316.66
7.4.160.0060.00916.54
7.4.150.0040.01417.40
7.4.140.0120.01117.86
7.4.130.0080.01016.50
7.4.120.0080.01016.56
7.4.110.0060.01516.50
7.4.100.0070.01116.49
7.4.90.0080.01516.51
7.4.80.0030.01419.39
7.4.70.0110.00816.50
7.4.60.0100.00716.55
7.4.50.0030.01516.60
7.4.40.0130.00316.44
7.4.30.0070.01016.50
7.4.00.0070.01014.76
7.3.330.0000.00713.19
7.3.320.0030.00313.22
7.3.310.0040.00416.42
7.3.300.0000.00716.23
7.3.290.0090.00616.33
7.3.280.0090.01116.35
7.3.270.0110.00717.40
7.3.260.0110.00716.30
7.3.250.0090.02216.31
7.3.240.0110.00616.37
7.3.230.0030.01216.57
7.3.210.0030.01316.37
7.3.200.0160.00016.33
7.3.190.0080.01116.53
7.3.180.0060.01116.54
7.3.170.0110.00716.28
7.3.160.0080.00816.55
7.2.330.0120.00616.48
7.2.320.0080.01716.67
7.2.310.0170.00016.69
7.2.300.0090.01316.83
7.2.290.0120.00616.48
7.2.60.0100.00616.84
7.2.00.0090.00919.23
7.1.200.0090.00615.46
7.1.100.0000.01418.10
7.1.70.0100.00317.20
7.1.60.0040.01519.36
7.1.50.0000.01816.62
7.1.00.0030.07722.48
7.0.200.0140.00416.49
7.0.60.0030.04020.00
7.0.50.0070.03717.73
7.0.40.0130.03719.96
7.0.30.0400.07720.26
7.0.20.0170.06320.15
7.0.10.0030.06320.10
7.0.00.0100.04320.25
5.6.280.0000.03320.89
5.6.210.0030.06320.61
5.6.200.0170.08018.18
5.6.190.0130.07020.55
5.6.180.0330.03720.70
5.6.170.0300.07320.39
5.6.160.0000.08020.46
5.6.150.0030.07018.18
5.6.140.0030.08718.28
5.6.130.0100.08018.18
5.6.120.0100.07321.02
5.6.110.0070.09020.98
5.6.100.0030.06321.14
5.6.90.0100.07721.00
5.6.80.0070.07720.38
5.5.350.0200.06320.40
5.5.340.0030.03718.01
5.5.330.0030.08320.27
5.5.320.0370.06720.19
5.5.310.0200.05320.27
5.5.300.0070.06318.03
5.5.290.0070.03718.03
5.5.280.0100.04020.83
5.5.270.0070.08320.98
5.5.260.0270.06020.77
5.5.250.0030.08320.59
5.5.240.0370.06720.12

preferences:
46.78 ms | 401 KiB | 5 Q