3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo { static function bar() { } } (new foo)->bar(); // no warning

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.0120.00916.50
8.3.50.0070.01318.33
8.3.40.0060.00920.75
8.3.30.0110.00718.45
8.3.20.0070.00024.18
8.3.10.0040.00424.66
8.3.00.0000.00726.16
8.2.180.0110.00725.92
8.2.170.0110.00418.56
8.2.160.0090.00622.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0080.00019.56
8.2.110.0140.00722.29
8.2.100.0060.00619.32
8.2.90.0040.00418.95
8.2.80.0040.00417.97
8.2.70.0040.00417.37
8.2.60.0030.00617.91
8.2.50.0030.00518.05
8.2.40.0050.00318.03
8.2.30.0070.00017.76
8.2.20.0000.00717.97
8.2.10.0070.00019.02
8.2.00.0040.00419.04
8.1.280.0040.01125.92
8.1.270.0000.00823.99
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0060.00319.13
8.1.230.0060.00619.00
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0060.00317.10
8.1.190.0000.00817.10
8.1.180.0000.00818.10
8.1.170.0000.00718.56
8.1.160.0070.00018.67
8.1.150.0000.00718.63
8.1.140.0060.00320.53
8.1.130.0040.00420.17
8.1.120.0000.00717.40
8.1.110.0050.00217.30
8.1.100.0070.00317.35
8.1.90.0030.00417.32
8.1.80.0030.00617.21
8.1.70.0000.00717.21
8.1.60.0050.00317.54
8.1.50.0030.00517.34
8.1.40.0000.00917.40
8.1.30.0030.00517.62
8.1.20.0040.00417.57
8.1.10.0000.00817.46
8.1.00.0040.00417.38
8.0.300.0000.00718.77
8.0.290.0040.00416.63
8.0.280.0000.00618.28
8.0.270.0040.00417.88
8.0.260.0050.00218.61
8.0.250.0070.00016.85
8.0.240.0030.00316.75
8.0.230.0030.00316.86
8.0.220.0030.00316.72
8.0.210.0080.00016.74
8.0.200.0040.00416.78
8.0.190.0000.00716.86
8.0.180.0040.00416.66
8.0.170.0000.00816.79
8.0.160.0050.00516.82
8.0.150.0040.00416.71
8.0.140.0030.00716.71
8.0.130.0030.00313.14
8.0.120.0060.00316.61
8.0.110.0040.00416.66
8.0.100.0000.00816.80
8.0.90.0050.00316.64
8.0.80.0070.00816.71
8.0.70.0100.00716.68
8.0.60.0110.00416.69
8.0.50.0120.00916.57
8.0.30.0070.01316.68
8.0.20.0060.01416.80
8.0.10.0100.00616.89
8.0.00.0040.01116.88
7.4.330.0030.00315.55
7.4.320.0030.00316.33
7.4.300.0000.00616.35
7.4.290.0040.00416.22
7.4.280.0000.00916.52
7.4.270.0000.00916.50
7.4.260.0050.00013.23
7.4.250.0050.00316.41
7.4.240.0040.00316.56
7.4.230.0030.00316.53
7.4.220.0000.00616.22
7.4.210.0020.01316.46
7.4.200.0060.00916.38
7.4.190.0000.01516.67
7.4.180.0060.00916.53
7.4.160.0060.00916.55
7.4.150.0110.00416.40
7.4.140.0070.00716.36
7.4.130.0060.01216.20
7.4.120.0040.01116.44
7.4.110.0070.01116.43
7.4.100.0060.00916.48
7.4.90.0130.00316.43
7.4.80.0140.00716.33
7.4.70.0090.01216.31
7.4.60.0060.00916.33
7.4.50.0030.01216.23
7.4.40.0130.00616.16
7.4.30.0040.01116.43
7.4.20.0060.00916.15
7.4.10.0030.01216.43
7.4.00.0070.00716.40
7.3.330.0080.00016.03
7.3.320.0030.00313.22
7.3.310.0060.00016.18
7.3.300.0040.00416.09
7.3.290.0040.01116.20
7.3.280.0100.01016.16
7.3.270.0030.01016.18
7.3.260.0100.01016.16
7.3.250.0090.01116.23
7.3.240.0110.00316.19
7.3.230.0030.01316.16
7.3.220.0070.01316.13
7.3.210.0100.00616.10
7.3.200.0070.00716.18
7.3.190.0100.01016.17
7.3.180.0070.00716.17
7.3.170.0000.01716.13
7.3.160.0060.01016.11
7.3.150.0070.00716.23
7.3.140.0170.00316.12
7.3.130.0060.01416.13
7.3.120.0100.01016.06
7.3.110.0100.01016.11
7.3.100.0110.00916.10
7.3.90.0070.00716.43
7.3.80.0150.00016.18
7.3.70.0090.01216.16
7.3.60.0030.01716.29
7.3.50.0030.01616.24
7.3.40.0110.00416.19
7.3.30.0090.00616.28
7.3.20.0090.00616.36
7.3.10.0070.00716.23
7.3.00.0060.01016.31

preferences:
34.02 ms | 400 KiB | 5 Q