3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace Example; class Test { public function whoAmI() { return static::class; } } $class = 'Example\Test'; var_dump($what::whoAmI());

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.0060.01016.63
8.3.50.0110.00716.24
8.3.40.0060.00918.92
8.3.30.0030.01018.96
8.3.20.0000.00720.29
8.3.10.0080.00023.40
8.3.00.0040.00423.65
8.2.180.0140.00716.85
8.2.170.0040.01122.96
8.2.160.0070.00720.34
8.2.150.0040.00425.66
8.2.140.0080.00024.66
8.2.130.0060.00320.59
8.2.120.0040.00426.35
8.2.110.0090.00019.14
8.2.100.0090.00317.80
8.2.90.0030.00619.27
8.2.80.0000.00817.97
8.2.70.0000.00917.50
8.2.60.0050.00217.80
8.2.50.0000.00818.09
8.2.40.0080.00022.09
8.2.30.0030.00519.37
8.2.20.0040.00417.68
8.2.10.0070.00018.06
8.2.00.0000.00718.04
8.1.280.0120.00325.92
8.1.270.0110.00722.13
8.1.260.0030.00628.09
8.1.250.0040.00428.09
8.1.240.0060.00322.61
8.1.230.0080.00417.83
8.1.220.0050.00317.74
8.1.210.0000.00818.77
8.1.200.0030.00617.35
8.1.190.0030.00617.13
8.1.180.0080.00018.10
8.1.170.0000.00818.49
8.1.160.0070.00020.74
8.1.150.0080.00018.75
8.1.140.0000.00819.50
8.1.130.0000.00717.60
8.1.120.0040.00417.29
8.1.110.0030.00417.38
8.1.100.0040.00417.38
8.1.90.0050.00317.43
8.1.80.0040.00417.44
8.1.70.0070.00017.38
8.1.60.0040.00417.54
8.1.50.0030.00617.51
8.1.40.0080.00417.42
8.1.30.0040.00417.74
8.1.20.0000.00717.63
8.1.10.0050.00317.55
8.1.00.0030.00617.56
8.0.300.0060.00318.78
8.0.290.0070.00016.63
8.0.280.0070.00018.38
8.0.270.0030.00317.21
8.0.260.0030.00317.24
8.0.250.0040.00416.98
8.0.240.0000.00816.83
8.0.230.0000.00716.89
8.0.220.0000.00716.74
8.0.210.0070.00016.91
8.0.200.0060.00017.03
8.0.190.0090.00316.86
8.0.180.0040.00416.89
8.0.170.0040.00416.94
8.0.160.0040.00316.78
8.0.150.0060.00316.90
8.0.140.0000.00816.88
8.0.130.0050.00013.35
8.0.120.0000.00816.87
8.0.110.0080.00016.83
8.0.100.0040.00416.89
8.0.90.0000.00717.00
8.0.80.0070.00716.94
8.0.70.0030.00516.84
8.0.60.0050.00316.89
8.0.50.0040.00416.72
8.0.30.0130.00317.14
8.0.20.0130.00817.40
8.0.10.0000.00816.99
8.0.00.0120.00716.73
7.4.330.0000.00516.84
7.4.320.0040.00416.39
7.4.300.0030.00616.61
7.4.290.0000.00716.51
7.4.280.0000.00816.64
7.4.270.0000.00816.61
7.4.260.0030.00316.50
7.4.250.0040.00416.46
7.4.240.0000.00816.45
7.4.230.0030.00316.70
7.4.220.0060.02016.57
7.4.210.0060.01216.56
7.4.200.0040.00416.61
7.4.160.0060.00916.79
7.4.150.0110.01117.40
7.4.140.0080.01217.86
7.4.130.0060.01516.49
7.4.120.0140.00616.59
7.4.110.0110.00616.54
7.4.100.0100.01316.67
7.4.90.0090.00916.48
7.4.80.0030.01419.39
7.4.70.0080.00816.57
7.4.60.0090.00916.51
7.4.50.0060.00916.40
7.4.40.0170.00016.55
7.4.30.0090.00916.71
7.4.00.0070.01015.11
7.3.330.0040.00313.36
7.3.320.0030.00313.22
7.3.310.0040.00416.18
7.3.300.0040.00416.43
7.3.290.0040.00416.41
7.3.280.0140.00516.34
7.3.270.0100.00717.40
7.3.260.0070.01016.57
7.3.250.0080.01216.34
7.3.240.0050.01216.47
7.3.230.0060.01116.42
7.3.210.0070.01016.46
7.3.200.0130.00619.39
7.3.190.0090.00916.48
7.3.180.0110.00716.37
7.3.170.0090.00916.57
7.3.160.0110.01116.33
7.3.10.0180.00616.43
7.3.00.0150.01216.14
7.2.330.0090.00916.47
7.2.320.0160.00016.68
7.2.310.0090.01316.51
7.2.300.0060.01016.58
7.2.290.0080.00816.34
7.2.130.0120.00816.04
7.2.120.0160.00516.21
7.2.110.0170.00516.21
7.2.100.0060.01016.20
7.2.90.0070.01016.27
7.2.80.0040.01116.30
7.2.70.0140.00616.01
7.2.60.0080.01216.42
7.2.50.0100.00716.50
7.2.40.0120.00616.21
7.2.30.0080.00816.30
7.2.20.0130.00816.14
7.2.10.0130.00716.20
7.2.00.0050.01017.62
7.1.250.0190.00615.21
7.1.200.0060.00615.66
7.1.100.0070.00417.88
7.1.70.0050.00217.09
7.1.60.0100.01319.40
7.1.50.0070.01416.96
7.1.00.0030.07722.28
7.0.200.0030.00616.48
7.0.60.0170.08021.63
7.0.50.0100.08017.91
7.0.40.0030.09320.18
7.0.30.0230.03720.25
7.0.20.0200.04020.26
7.0.10.0030.04320.33
7.0.00.0070.04020.12
5.6.280.0030.04020.82
5.6.210.0030.04720.76
5.6.200.0000.08318.29
5.6.190.0000.04720.64
5.6.180.0400.07020.57
5.6.170.0230.04020.50
5.6.160.0100.07020.57
5.6.150.0030.08318.30
5.6.140.0070.05318.21
5.6.130.0070.08318.17
5.6.120.0030.05721.00
5.6.110.0000.05020.97
5.6.100.0230.07321.01
5.6.90.0070.06020.97
5.6.80.0130.06020.36
5.5.350.0270.05020.30
5.5.340.0100.03317.95
5.5.330.0100.04320.31
5.5.320.0300.04320.24
5.5.310.0230.05720.26
5.5.300.0130.07317.95
5.5.290.0130.07717.95
5.5.280.0100.05020.78
5.5.270.0070.04720.68
5.5.260.0130.07720.77
5.5.250.0170.06020.59
5.5.240.0230.07020.23

preferences:
50.88 ms | 400 KiB | 5 Q