3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function __wakeup() { echo "waking up"; } } $f = new Foo(); unserialize(serialize($f));

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.00416.50
8.3.50.0100.01020.11
8.3.40.0070.00720.21
8.3.30.0040.01118.41
8.3.20.0070.00024.18
8.3.10.0000.00824.66
8.3.00.0040.00426.16
8.2.180.0120.00325.92
8.2.170.0070.00718.91
8.2.160.0150.00022.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00419.10
8.2.110.0090.00021.12
8.2.100.0110.00018.22
8.2.90.0030.00619.21
8.2.80.0050.00317.97
8.2.70.0050.00319.66
8.2.60.0040.00417.93
8.2.50.0080.00018.07
8.2.40.0040.00417.91
8.2.30.0020.00517.92
8.2.20.0070.00020.53
8.2.10.0050.00317.98
8.2.00.0000.00719.08
8.1.280.0070.01125.92
8.1.270.0050.00324.66
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0030.00621.30
8.1.230.0110.00017.42
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0140.00617.13
8.1.190.0030.00617.13
8.1.180.0090.00018.10
8.1.170.0090.00018.55
8.1.160.0020.00518.73
8.1.150.0070.00018.64
8.1.140.0040.00417.43
8.1.130.0040.00417.43
8.1.120.0150.00017.41
8.1.110.0130.00317.50
8.1.100.0130.00317.48
8.1.90.0090.00617.35
8.1.80.0000.01617.36
8.1.70.0150.00017.32
8.1.60.0140.00317.70
8.1.50.0130.00617.50
8.1.40.0120.00517.59
8.1.30.0140.00317.66
8.1.20.0110.00717.56
8.1.10.0130.00317.58
8.1.00.0120.00617.48
8.0.300.0000.00718.77
8.0.290.0040.00416.63
8.0.280.0030.00518.44
8.0.270.0040.00418.13
8.0.260.0030.00316.87
8.0.250.0040.00416.88
8.0.240.0050.00816.87
8.0.230.0090.00516.87
8.0.220.0110.00516.68
8.0.210.0130.00316.85
8.0.200.0060.00816.81
8.0.190.0100.00516.91
8.0.180.0130.00316.79
8.0.170.0110.00416.85
8.0.160.0100.00516.87
8.0.150.0070.00716.68
8.0.140.0000.01416.81
8.0.130.0000.01516.68
8.0.120.0110.00316.80
8.0.110.0060.00816.69
8.0.100.0070.00716.80
8.0.90.0110.00416.87
8.0.80.0050.01016.80
8.0.70.0110.00618.96
8.0.60.0140.00016.80
8.0.50.0070.00716.78
8.0.30.0050.01016.67
8.0.20.0040.00816.77
8.0.10.0020.00516.91
7.4.330.0050.00013.98
7.4.320.0070.00016.44
7.4.300.0030.00316.53
7.4.290.0030.00316.35
7.4.280.0140.00016.34
7.4.270.0080.00416.53
7.4.260.0080.00616.50
7.4.250.0100.00316.51
7.4.240.0080.00416.37
7.4.230.0140.00016.34
7.4.220.0140.00016.53
7.4.210.0140.00016.48
7.4.200.0090.00516.44
7.4.190.0110.00316.63
7.4.180.0120.00316.52
7.4.160.0140.00016.46
7.4.150.0100.00316.48
7.4.140.0150.00016.32
7.4.130.0070.00716.38
7.4.120.0150.00016.30
7.4.110.0140.00016.32
7.4.100.0030.00616.46
7.4.90.0050.01016.40
7.4.80.0090.00516.43
7.4.70.0090.00516.27
7.4.60.0090.00616.43
7.4.50.0130.00016.27
7.4.40.0110.00316.21
7.4.30.0090.00416.38
7.4.20.0050.00816.30
7.4.10.0080.00516.50
7.4.00.0130.00016.27

preferences:
35.95 ms | 400 KiB | 5 Q