3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { static function test($var) { echo "Testing: $var\n"; } } $arr = array("test"); foo::$arr("bla");

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.0040.01116.50
8.3.50.0100.00821.86
8.3.40.0070.01018.97
8.3.30.0190.00318.67
8.3.20.0070.00020.27
8.3.10.0030.00718.60
8.3.00.0050.00321.73
8.2.180.0090.00616.88
8.2.170.0060.00922.96
8.2.160.0100.00321.96
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0080.00020.78
8.2.120.0070.00026.35
8.2.110.0030.00619.27
8.2.100.0040.00717.80
8.2.90.0040.00419.23
8.2.80.0030.00517.97
8.2.70.0070.00317.38
8.2.60.0040.00417.80
8.2.50.0080.00018.09
8.2.40.0080.00022.13
8.2.30.0000.00719.46
8.2.20.0000.00817.73
8.2.10.0000.00717.96
8.2.00.0040.00418.07
8.1.280.0080.00825.92
8.1.270.0090.00922.19
8.1.260.0050.00328.09
8.1.250.0170.00028.09
8.1.240.0100.00022.00
8.1.230.0080.00417.83
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0000.01117.23
8.1.190.0030.00617.10
8.1.180.0040.00418.10
8.1.170.0030.00618.72
8.1.160.0000.00820.79
8.1.150.0030.00718.82
8.1.140.0040.00419.50
8.1.130.0050.00217.68
8.1.120.0000.00717.41
8.1.110.0040.00417.44
8.1.100.0000.00717.36
8.1.90.0000.00717.41
8.1.80.0050.00217.29
8.1.70.0030.00317.45
8.1.60.0090.00017.39
8.1.50.0060.00317.48
8.1.40.0040.00417.44
8.1.30.0040.00417.48
8.1.20.0000.00817.57
8.1.10.0000.00717.56
8.1.00.0000.00717.52
8.0.300.0050.00318.82
8.0.290.0050.00316.75
8.0.280.0000.00718.37
8.0.270.0050.00217.22
8.0.260.0030.00317.09
8.0.250.0000.00716.86
8.0.240.0030.00316.98
8.0.230.0030.00316.82
8.0.220.0080.00016.89
8.0.210.0030.00316.81
8.0.200.0030.00316.80
8.0.190.0030.00317.00
8.0.180.0000.00716.89
8.0.170.0050.00216.89
8.0.160.0000.00716.90
8.0.150.0000.00716.70
8.0.140.0000.00916.71
8.0.130.0050.00013.30
8.0.120.0040.00416.76
8.0.110.0070.00016.93
8.0.100.0050.00216.90
8.0.90.0040.00416.93
8.0.80.0100.00616.94
8.0.70.0050.00216.79
8.0.60.0000.00716.78
8.0.50.0050.00216.70
8.0.30.0110.00616.97
8.0.20.0090.00917.40
8.0.10.0080.00016.91
8.0.00.0090.00816.88
7.4.330.0020.00216.69
7.4.320.0000.00616.33
7.4.300.0030.00316.60
7.4.290.0070.00016.58
7.4.280.0050.00216.50
7.4.270.0050.00316.61
7.4.260.0000.01116.59
7.4.250.0050.00216.48
7.4.240.0000.00716.45
7.4.230.0080.00016.48
7.4.220.0060.01216.53
7.4.210.0080.01116.43
7.4.200.0000.00716.69
7.4.160.0190.00316.62
7.4.150.0100.00817.40
7.4.140.0130.00917.86
7.4.130.0120.00716.54
7.4.120.0090.01216.54
7.4.110.0030.01316.53
7.4.100.0130.00316.57
7.4.90.0130.00316.43
7.4.80.0110.00619.39
7.4.70.0080.00816.50
7.4.60.0120.00916.41
7.4.50.0080.00316.54
7.4.40.0130.00316.56
7.4.30.0100.01316.56
7.4.00.0030.00915.05
7.3.330.0030.00313.27
7.3.320.0060.00013.08
7.3.310.0000.00716.32
7.3.300.0030.00316.28
7.3.290.0110.00416.27
7.3.280.0080.00716.25
7.3.270.0100.01417.40
7.3.260.0030.01316.49
7.3.250.0120.01016.31
7.3.240.0090.00916.50
7.3.230.0140.00516.39
7.3.210.0040.01316.30
7.3.200.0100.00719.39
7.3.190.0090.01016.45
7.3.180.0060.00916.36
7.3.170.0120.00416.31
7.3.160.0080.00816.30
7.2.330.0070.01016.66
7.2.320.0090.00616.47
7.2.310.0110.00816.41
7.2.300.0030.01316.45
7.2.290.0090.00816.53
7.2.60.0070.00716.49
7.2.00.0000.01319.40
7.1.200.0100.00315.43
7.1.100.0000.01218.15
7.1.70.0030.00616.99
7.1.60.0090.01319.40
7.1.50.0040.00816.47
7.1.00.0070.07322.32
7.0.200.0000.01116.54
7.0.60.0100.07021.56
7.0.50.0100.04717.90
7.0.40.0000.04720.14
7.0.30.0230.07720.27
7.0.20.0300.04320.24
7.0.10.0070.04020.12
7.0.00.0000.04320.09
5.6.280.0000.03321.10
5.6.210.0130.07720.71
5.6.200.0100.06018.21
5.6.190.0100.07720.67
5.6.180.0270.08020.57
5.6.170.0200.05720.50
5.6.160.0070.08320.51
5.6.150.0030.06718.16
5.6.140.0070.05018.27
5.6.130.0070.03718.24
5.6.120.0170.07721.04
5.6.110.0000.09321.12
5.6.100.0070.08721.01
5.6.90.0170.05020.97
5.6.80.0030.04720.41
5.5.350.0200.08020.39
5.5.340.0070.03718.03
5.5.330.0100.08020.19
5.5.320.0570.04320.28
5.5.310.0230.06720.37
5.5.300.0070.04717.95
5.5.290.0030.06718.04
5.5.280.0130.08020.69
5.5.270.0030.06720.76
5.5.260.0070.05020.73
5.5.250.0070.03720.46
5.5.240.0400.05720.07

preferences:
52.29 ms | 401 KiB | 5 Q