3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Cookie { use Setter, Getter; private string $name; private mixed $value; }

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.4.140.0100.01217.61
8.4.130.0090.01018.43
8.4.120.0040.01723.84
8.4.110.0140.00618.87
8.4.100.0120.00818.63
8.4.90.0120.00720.30
8.4.80.0130.00720.51
8.4.70.0110.00518.16
8.4.60.0090.00118.80
8.4.50.0080.00518.54
8.4.40.0070.01317.50
8.4.30.0080.00018.80
8.4.20.0080.01218.75
8.4.10.0150.00319.59
8.3.270.0080.01316.56
8.3.260.0140.00616.77
8.3.250.0110.00817.34
8.3.240.0100.00817.01
8.3.230.0140.00416.66
8.3.220.0110.00818.81
8.3.210.0050.00316.79
8.3.200.0080.01016.65
8.3.190.0100.00617.38
8.3.180.0090.00717.06
8.3.170.0100.00920.73
8.3.160.0060.01216.41
8.3.150.0080.00017.02
8.3.140.0110.00416.48
8.3.130.0030.00618.43
8.3.120.0040.00420.76
8.3.110.0030.00620.94
8.3.100.0050.00524.06
8.3.90.0040.00426.77
8.3.80.0060.00619.36
8.3.70.0100.01018.43
8.3.60.0110.01118.43
8.3.50.0040.01116.75
8.3.40.0100.00720.20
8.3.30.0110.00320.30
8.3.20.0050.00224.18
8.3.10.0040.00424.66
8.3.00.0060.01328.09
8.2.290.0090.01020.46
8.2.280.0170.00318.53
8.2.270.0060.01217.19
8.2.260.0040.00418.13
8.2.250.0050.00316.66
8.2.240.0030.00716.89
8.2.230.0030.00522.58
8.2.220.0000.01037.54
8.2.210.0040.00426.77
8.2.200.0070.00318.88
8.2.190.0160.00716.58
8.2.180.0160.00616.38
8.2.170.0140.00718.87
8.2.160.0070.00722.96
8.2.150.0080.00025.66
8.2.140.0090.00024.66
8.2.130.0120.00628.09
8.2.120.0140.00728.09
8.2.110.0190.00028.09
8.2.100.0090.00928.09
8.2.90.0150.00028.09
8.2.80.0120.00328.09
8.2.70.0000.00828.09
8.2.60.0050.00328.09
8.2.50.0120.00328.09
8.2.40.0030.00528.09
8.2.30.0040.00428.09
8.2.20.0070.00728.09
8.2.10.0040.00428.09
8.2.00.0040.01128.09
8.1.330.0110.00821.90
8.1.320.0100.01016.04
8.1.310.0050.00317.85
8.1.300.0090.00018.16
8.1.290.0040.00430.84
8.1.280.0150.00825.92
8.1.270.0090.00022.19
8.1.260.0040.00428.09
8.1.250.0000.01428.09
8.1.240.0000.00828.09
8.1.230.0160.00028.09
8.1.220.0070.00728.09
8.1.210.0050.00328.09
8.1.200.0080.00028.09
8.1.190.0000.00828.09
8.1.180.0040.00428.09
8.1.170.0000.00828.09
8.1.160.0080.00028.09
8.1.150.0040.00428.09
8.1.140.0040.00428.09
8.1.130.0000.00828.09
8.1.120.0080.00028.09
8.1.110.0080.00028.09
8.1.100.0030.00528.09
8.1.90.0040.00428.09
8.1.80.0040.00428.09
8.1.70.0040.00428.09
8.1.60.0040.00428.09
8.1.50.0000.00928.09
8.1.40.0040.00428.09
8.1.30.0050.00328.09
8.1.20.0050.00328.09
8.1.10.0040.00428.09
8.1.00.0040.00428.09

preferences:
50.95 ms | 403 KiB | 5 Q