3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function __serialize(): void { } }

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.0140.00718.30
8.3.50.0080.00617.84
8.3.40.0180.00418.53
8.3.30.0100.00618.48
8.3.20.0030.00621.80
8.3.10.0030.00620.21
8.3.00.0000.00723.53
8.2.180.0100.00718.03
8.2.170.0110.00422.96
8.2.160.0070.00722.26
8.2.150.0000.00824.18
8.2.140.0000.00724.66
8.2.130.0040.00426.16
8.2.120.0070.00021.12
8.2.110.0060.00620.46
8.2.100.0120.00017.50
8.2.90.0060.00319.09
8.2.80.0040.00417.97
8.2.70.0050.00317.50
8.2.60.0040.00417.80
8.2.50.0040.00418.07
8.2.40.0070.00018.03
8.2.30.0040.00417.83
8.2.20.0080.00017.96
8.2.10.0040.00419.11
8.2.00.0040.00419.11
8.1.280.0090.00625.92
8.1.270.0050.00320.31
8.1.260.0000.00826.35
8.1.250.0050.00328.09
8.1.240.0070.00323.89
8.1.230.0120.00017.42
8.1.220.0080.00017.74
8.1.210.0040.00418.77
8.1.200.0060.00317.22
8.1.190.0050.00317.10
8.1.180.0060.00318.10
8.1.170.0000.00818.61
8.1.160.0040.00418.75
8.1.150.0000.00718.75
8.1.140.0040.00418.69
8.1.130.0040.00417.22
8.1.120.0050.00317.35
8.1.110.0000.00817.34
8.1.100.0040.00417.23
8.1.90.0040.00417.29
8.1.80.0070.00017.35
8.1.70.0070.00017.20
8.1.60.0040.00417.36
8.1.50.0000.00717.35
8.1.40.0040.00417.38
8.1.30.0000.00917.41
8.1.20.0040.00417.50
8.1.10.0060.00317.37
8.1.00.0000.00817.20
8.0.300.0000.00718.77
8.0.290.0000.00716.63
8.0.280.0000.00718.30
8.0.270.0000.00717.93
8.0.260.0030.00316.65
8.0.250.0000.00816.78
8.0.240.0030.00316.89
8.0.230.0030.00316.87
8.0.220.0040.00416.85
8.0.210.0000.00716.76
8.0.200.0070.00016.91
8.0.190.0040.00416.86
8.0.180.0060.00316.82
8.0.170.0060.00316.84
8.0.160.0000.00716.89
8.0.150.0050.00216.82
8.0.140.0020.00516.76
8.0.130.0050.00013.20
8.0.120.0030.00516.78
8.0.110.0060.00316.70
8.0.100.0060.00316.59
8.0.90.0060.00316.71
8.0.80.0060.01016.74
8.0.70.0000.00816.75
8.0.60.0000.00716.76
8.0.50.0070.00016.70
8.0.30.0090.00916.73
8.0.20.0090.00916.80
8.0.10.0070.00016.91
8.0.00.0070.01116.63
7.4.330.0050.00015.55
7.4.320.0030.00316.40
7.4.300.0040.00416.43
7.4.290.0030.00316.35
7.4.280.0080.00316.30
7.4.270.0020.00516.41
7.4.260.0070.00316.42
7.4.250.0000.00716.31
7.4.240.0000.00716.35
7.4.230.0070.00016.55
7.4.220.0000.00716.45
7.4.210.0080.01016.33
7.4.200.0080.00016.54
7.4.130.0100.01016.36
7.4.120.0060.01216.31
7.4.110.0060.01016.39
7.4.100.0100.00716.18
7.4.90.0130.00816.38
7.4.80.0030.01519.39
7.4.70.0090.00616.41
7.4.60.0110.00616.20
7.4.50.0120.00516.11
7.4.40.0060.01216.16
7.4.30.0120.00616.16
7.4.20.0170.00015.96
7.4.10.0040.01916.33
7.4.00.0090.00916.34
7.3.330.0070.00016.18
7.3.320.0050.00013.20
7.3.310.0040.00416.27
7.3.300.0040.00416.15
7.3.290.0050.01016.17
7.3.280.0040.01116.01
7.3.260.0030.01516.33
7.3.230.0100.00716.30
7.3.210.0060.01216.35
7.3.200.0100.00716.36
7.3.190.0060.01016.42
7.3.180.0110.00616.42
7.3.170.0090.00716.30
7.3.160.0050.01116.15
7.3.150.0040.01116.21
7.3.140.0150.00616.14
7.3.130.0130.00916.33
7.3.120.0180.00316.14
7.3.110.0050.01315.99
7.3.100.0090.01516.14
7.3.90.0130.00516.19
7.3.80.0080.01116.12
7.3.70.0030.01516.08
7.3.60.0060.01016.04
7.3.50.0040.01216.13
7.3.40.0070.01016.07
7.3.30.0110.01116.18
7.3.20.0120.00916.26
7.3.10.0060.01116.12
7.3.00.0080.00816.28
7.2.330.0000.01616.22
7.2.320.0030.01316.50
7.2.310.0060.00916.47
7.2.300.0110.00616.44
7.2.290.0070.01216.20
7.2.280.0040.01516.16
7.2.270.0030.01416.41
7.2.260.0090.01116.45
7.2.250.0060.01316.18
7.2.240.0030.02016.55
7.2.230.0060.01216.25
7.2.220.0130.00816.23
7.2.210.0040.01616.34
7.2.200.0140.00616.40
7.2.190.0120.00616.31
7.2.180.0130.00816.38
7.2.170.0080.01616.40
7.2.160.0090.01316.32
7.2.150.0060.01216.31
7.2.140.0080.01116.48
7.2.130.0060.01216.35
7.2.120.0080.00816.44
7.2.110.0070.01116.40
7.2.100.0120.00616.34
7.2.90.0110.00716.55
7.2.80.0080.01116.16
7.2.70.0150.00616.41
7.2.60.0170.00616.44
7.2.50.0110.01416.22
7.2.40.0110.01516.42
7.2.30.0110.00916.47
7.2.20.0130.01016.15
7.2.10.0090.01216.17
7.2.00.0200.00716.46

preferences:
49.2 ms | 400 KiB | 5 Q