3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public string $a; public string $b = '123'; public function __sleep() { return ['b']; } } $a = unserialize(serialize(new A())); echo $a->a;

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.0140.00716.61
8.3.60.0070.00716.63
8.3.50.0000.01417.96
8.3.40.0070.00719.09
8.3.30.0090.01218.71
8.3.20.0080.00021.82
8.3.10.0000.00821.93
8.3.00.0020.00523.73
8.2.190.0150.00716.58
8.2.180.0130.01016.50
8.2.170.0070.00722.96
8.2.160.0100.00322.11
8.2.150.0000.00724.18
8.2.140.0080.00024.66
8.2.130.0000.00826.16
8.2.120.0070.00019.83
8.2.110.0060.00322.25
8.2.100.0080.00417.79
8.2.90.0060.00318.22
8.2.80.0000.00817.97
8.2.70.0060.00317.63
8.2.60.0030.00517.79
8.2.50.0030.00618.07
8.2.40.0050.00319.85
8.2.30.0040.00417.99
8.2.20.0040.00417.87
8.2.10.0050.00219.13
8.2.00.0040.00421.00
8.1.280.0110.00725.92
8.1.270.0060.00322.05
8.1.260.0080.00026.35
8.1.250.0000.00828.09
8.1.240.0090.00023.98
8.1.230.0000.01120.94
8.1.220.0080.00017.74
8.1.210.0080.00018.77
8.1.200.0000.00817.23
8.1.190.0000.00817.36
8.1.180.0030.00518.10
8.1.170.0030.00618.64
8.1.160.0070.00018.82
8.1.150.0000.00718.88
8.1.140.0070.00018.82
8.1.130.0000.00720.02
8.1.120.0040.00417.39
8.1.110.0000.00717.31
8.1.100.0000.00817.22
8.1.90.0030.00317.30
8.1.80.0040.00417.41
8.1.70.0000.00717.30
8.1.60.0040.00417.58
8.1.50.0030.00517.50
8.1.40.0000.00817.55
8.1.30.0030.00617.50
8.1.20.0050.00517.66
8.1.10.0040.00417.47
8.1.00.0100.00017.46
8.0.300.0070.00020.10
8.0.290.0040.00416.63
8.0.280.0070.00018.36
8.0.270.0040.00418.00
8.0.260.0030.00320.05
8.0.250.0030.00316.91
8.0.240.0000.00816.94
8.0.230.0000.00716.99
8.0.220.0050.00216.95
8.0.210.0030.00316.90
8.0.200.0000.00816.90
8.0.190.0000.00716.86
8.0.180.0030.00616.88
8.0.170.0090.00016.94
8.0.160.0060.00316.96
8.0.150.0000.00716.78
8.0.140.0030.00916.83
8.0.130.0030.00313.31
8.0.120.0040.00416.88
8.0.110.0050.00216.90
8.0.100.0080.00016.75
8.0.90.0060.00316.77
8.0.80.0090.01216.90
8.0.70.0020.00516.68
8.0.60.0040.00416.88
8.0.50.0070.00016.82
8.0.30.0070.01017.01
8.0.20.0090.00917.29
8.0.10.0000.00717.07
8.0.00.0060.01616.71
7.4.330.0050.00015.55
7.4.320.0030.00316.45
7.4.300.0030.00616.64
7.4.290.0030.00316.41
7.4.280.0040.00416.48
7.4.270.0040.00416.50
7.4.260.0060.00013.28
7.4.250.0000.00716.49
7.4.240.0060.00216.53
7.4.230.0040.00416.70
7.4.220.0040.00316.51
7.4.210.0100.00416.56
7.4.200.0030.00316.40
7.4.130.0080.01016.61
7.4.120.0090.00916.41
7.4.110.0070.01016.36
7.4.100.0110.00616.57
7.4.90.0090.00916.44
7.4.80.0030.01619.39
7.4.70.0140.00316.61
7.4.60.0100.00716.59
7.4.50.0060.00316.54
7.4.40.0110.00516.54
7.4.30.0090.00616.25
7.4.20.0130.00616.31
7.4.10.0060.00916.33
7.4.00.0030.01316.39
7.3.330.0050.00216.23
7.3.320.0020.00213.30
7.3.310.0030.00316.15
7.3.300.0000.00716.01
7.3.290.0070.01116.19
7.3.280.0070.01316.18
7.3.260.0110.01216.17
7.3.240.0070.00916.25
7.3.230.0180.00616.10
7.3.210.0100.00716.33
7.3.200.0130.00316.14
7.3.190.0130.00316.20
7.3.180.0090.00616.11
7.3.170.0060.01216.06
7.3.160.0080.00816.21
7.3.150.0150.00015.98
7.3.140.0130.00316.16
7.3.130.0090.00616.28
7.3.120.0090.00616.10
7.3.110.0090.00616.21
7.3.100.0070.01016.12
7.3.90.0060.01116.18
7.3.80.0060.00916.11
7.3.70.0110.00416.09
7.3.60.0030.01016.25
7.3.50.0040.01116.15
7.3.40.0090.00616.19
7.3.30.0000.01416.09
7.3.20.0060.00916.10
7.3.10.0060.00916.12
7.3.00.0080.00816.23
7.2.330.0170.00016.30
7.2.320.0070.01016.48
7.2.310.0040.01216.44
7.2.300.0030.01316.13
7.2.290.0100.00716.47
7.2.280.0100.01616.15
7.2.270.0090.00616.21
7.2.260.0120.00316.28
7.2.250.0090.00616.48
7.2.240.0150.00016.34
7.2.230.0170.00016.18
7.2.220.0000.01616.26
7.2.210.0030.01316.27
7.2.200.0160.00016.29
7.2.190.0070.01016.28
7.2.180.0090.00616.36
7.2.170.0110.00416.14
7.2.160.0080.00816.19
7.2.150.0090.00616.43
7.2.140.0130.00716.38
7.2.130.0070.01016.24
7.2.120.0060.01216.38
7.2.110.0100.00616.27
7.2.100.0100.00616.37
7.2.90.0030.01316.30
7.2.80.0120.00916.42
7.2.70.0120.00616.41
7.2.60.0070.01016.37
7.2.50.0060.00916.49
7.2.40.0120.00616.30
7.2.30.0000.01516.24
7.2.20.0110.00716.27
7.2.10.0060.01016.46
7.2.00.0100.00716.38

preferences:
66.34 ms | 401 KiB | 5 Q