3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function __set_state(array $props): self { return new self(); } }

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.70.0040.01116.63
8.3.60.0120.00918.56
8.3.50.0100.01016.59
8.3.40.0070.00718.57
8.3.30.0070.00718.71
8.3.20.0080.00024.18
8.3.10.0090.00024.66
8.3.00.0050.00326.16
8.2.190.0070.00716.63
8.2.180.0120.00925.92
8.2.170.0120.00318.81
8.2.160.0100.00322.96
8.2.150.0070.00025.66
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0050.00326.35
8.2.110.0090.00022.26
8.2.100.0110.00017.78
8.2.90.0040.00419.38
8.2.80.0080.00018.67
8.2.70.0050.00317.38
8.2.60.0040.00417.80
8.2.50.0080.00018.07
8.2.40.0090.00018.09
8.2.30.0000.01017.80
8.2.20.0040.00417.85
8.2.10.0040.00418.98
8.2.00.0000.00819.00
8.1.280.0140.00725.92
8.1.270.0080.00023.99
8.1.260.0080.00028.09
8.1.250.0000.00728.09
8.1.240.0060.00323.92
8.1.230.0080.00419.15
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0080.00317.22
8.1.190.0080.00017.10
8.1.180.0050.00318.10
8.1.170.0000.00818.60
8.1.160.0040.00418.70
8.1.150.0040.00418.75
8.1.140.0020.00518.68
8.1.130.0040.00420.15
8.1.120.0000.00817.23
8.1.110.0000.00917.34
8.1.100.0030.00517.23
8.1.90.0050.00217.28
8.1.80.0000.00717.32
8.1.70.0030.00317.28
8.1.60.0000.00817.48
8.1.50.0000.00717.39
8.1.40.0050.00317.34
8.1.30.0040.00417.46
8.1.20.0000.00817.55
8.1.10.0000.00817.41
8.1.00.0050.00317.20
8.0.300.0070.00018.77
8.0.290.0070.00016.75
8.0.280.0000.00618.30
8.0.270.0070.00017.98
8.0.260.0060.00018.35
8.0.250.0030.00316.91
8.0.240.0000.00716.87
8.0.230.0030.00316.77
8.0.220.0030.00616.84
8.0.210.0040.00416.83
8.0.200.0070.00016.89
8.0.190.0000.00916.84
8.0.180.0050.00316.83
8.0.170.0080.00016.69
8.0.160.0000.00716.88
8.0.150.0000.00816.72
8.0.140.0080.00016.74
8.0.130.0030.00313.25
8.0.120.0040.00416.77
8.0.110.0000.00716.71
8.0.100.0030.00316.71
8.0.90.0000.00716.71
8.0.80.0050.01016.77
8.0.70.0050.00316.69
8.0.60.0070.00016.77
8.0.50.0000.00716.79
8.0.30.0110.00816.96
8.0.20.0110.01217.04
8.0.10.0070.00016.79
8.0.00.0090.00916.72
7.4.330.0000.00615.55
7.4.320.0060.00016.38
7.4.300.0000.00616.47
7.4.290.0030.00316.37
7.4.280.0050.00316.36
7.4.270.0000.00716.40
7.4.260.0030.00313.18
7.4.250.0070.00016.23
7.4.240.0070.00016.39
7.4.230.0000.00716.46
7.4.220.0030.00316.28
7.4.210.0080.00716.43
7.4.200.0000.00816.16
7.4.130.0120.00916.38
7.4.120.0130.01316.44
7.4.110.0090.00916.14
7.4.100.0090.00916.44
7.4.90.0100.01016.32
7.4.80.0060.01519.39
7.4.70.0100.01019.39
7.4.60.0090.00919.39
7.4.50.0140.00419.39
7.4.40.0140.00319.39
7.4.30.0120.00619.39
7.4.20.0090.01219.39
7.4.10.0110.01119.39
7.4.00.0090.01219.39
7.3.330.0070.00016.14
7.3.320.0030.00312.99
7.3.310.0000.00916.02
7.3.300.0070.00016.21
7.3.290.0080.00916.15
7.3.280.0140.00716.19
7.3.260.0080.00816.28
7.3.230.0060.01016.11
7.3.210.0100.00716.21
7.3.200.0160.00619.39
7.3.190.0110.00719.39
7.3.180.0090.00719.39
7.3.170.0000.01619.39
7.3.160.0100.00619.39
7.3.150.0100.00619.39
7.3.140.0110.01119.39
7.3.130.0160.00419.39
7.3.120.0070.01319.39
7.3.110.0150.00419.39
7.3.100.0110.00519.39
7.3.90.0110.01119.39
7.3.80.0090.00619.39
7.3.70.0090.00919.39
7.3.60.0030.01719.39
7.3.50.0030.01719.39
7.3.40.0050.01119.39
7.3.30.0090.01319.39
7.3.20.0110.00819.39
7.3.10.0070.02019.39
7.3.00.0040.01819.39
7.2.330.0060.01116.20
7.2.320.0150.00919.39
7.2.310.0080.00819.39
7.2.300.0100.00619.39
7.2.290.0080.00819.39
7.2.280.0070.01019.39
7.2.270.0090.01519.39
7.2.260.0120.00919.39
7.2.250.0150.00919.39
7.2.240.0090.01219.39
7.2.230.0060.01119.39
7.2.220.0090.00919.39
7.2.210.0130.00619.39
7.2.200.0060.01519.39
7.2.190.0140.00919.39
7.2.180.0100.01019.39
7.2.170.0170.00019.39
7.2.160.0170.00719.39
7.2.150.0100.00719.39
7.2.140.0140.00919.39
7.2.130.0120.01219.39
7.2.120.0130.01019.39
7.2.110.0070.01719.39
7.2.100.0510.00919.39
7.2.90.0140.00319.39
7.2.80.0030.01519.39
7.2.70.0090.00919.39
7.2.60.0140.01119.39
7.2.50.0130.00519.39
7.2.40.0150.00319.39
7.2.30.0080.01219.39
7.2.20.0120.01219.39
7.2.10.0100.01019.39
7.2.00.0060.01219.39

preferences:
69.91 ms | 401 KiB | 5 Q