3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 'a:2:{s:8:"username";s:4:"test";s:8:"password";s:5:"testz";}'; $b = unserialize($a); var_dump($b);

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.0070.01118.55
8.3.50.0090.00918.02
8.3.40.0170.00318.30
8.3.30.0100.00318.72
8.3.20.0040.00421.86
8.3.10.0050.00323.65
8.3.00.0060.00319.56
8.2.180.0110.00716.63
8.2.170.0110.00422.96
8.2.160.0100.00322.20
8.2.150.0090.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00421.04
8.2.120.0040.00426.35
8.2.110.0070.00422.31
8.2.100.0040.00817.66
8.2.90.0040.00417.60
8.2.80.0040.00418.09
8.2.70.0030.00617.68
8.2.60.0020.00517.93
8.2.50.0040.00418.10
8.2.40.0040.00420.59
8.2.30.0000.00719.31
8.2.20.0000.00818.06
8.2.10.0040.00418.05
8.2.00.0050.00317.93
8.1.280.0140.00325.92
8.1.270.0040.00423.70
8.1.260.0030.00626.35
8.1.250.0070.00328.09
8.1.240.0000.01019.19
8.1.230.0110.00020.89
8.1.220.0030.00717.74
8.1.210.0040.00418.91
8.1.200.0060.00317.35
8.1.190.0040.00417.22
8.1.180.0040.00418.10
8.1.170.0040.00418.45
8.1.160.0040.00418.77
8.1.150.0050.00318.98
8.1.140.0040.00417.70
8.1.130.0070.00019.01
8.1.120.0030.00317.29
8.1.110.0030.00617.30
8.1.100.0020.00517.40
8.1.90.0000.00817.32
8.1.80.0000.00817.29
8.1.70.0090.00017.39
8.1.60.0060.00317.48
8.1.50.0040.00417.45
8.1.40.0060.00317.36
8.1.30.0000.00817.57
8.1.20.0030.00717.59
8.1.10.0060.00317.40
8.1.00.0000.00817.34
8.0.300.0070.00019.86
8.0.290.0000.00816.63
8.0.280.0070.00018.30
8.0.270.0030.00317.13
8.0.260.0000.00617.25
8.0.250.0040.00416.95
8.0.240.0040.00416.93
8.0.230.0040.00416.93
8.0.220.0030.00616.79
8.0.210.0030.00316.86
8.0.200.0000.00616.84
8.0.190.0000.01016.96
8.0.180.0070.00016.97
8.0.170.0030.00516.92
8.0.160.0030.00516.98
8.0.150.0040.00416.89
8.0.140.0040.00316.84
8.0.130.0030.00313.28
8.0.120.0040.00416.81
8.0.110.0000.00716.89
8.0.100.0040.00416.84
8.0.90.0070.00016.78
8.0.80.0100.01116.78
8.0.70.0050.00216.75
8.0.60.0080.00016.78
8.0.50.0040.00416.69
8.0.30.0050.01217.05
8.0.20.0140.00517.40
8.0.10.0080.00017.06
8.0.00.0100.00816.75
7.4.330.0030.00315.55
7.4.320.0060.00016.36
7.4.300.0060.00016.45
7.4.290.0030.00516.45
7.4.280.0050.00316.48
7.4.270.0000.00816.33
7.4.260.0030.00316.38
7.4.250.0050.00216.51
7.4.240.0030.00316.47
7.4.230.0040.00416.64
7.4.220.0040.00316.28
7.4.210.0050.00916.49
7.4.200.0000.00816.28
7.4.160.0090.00716.56
7.4.140.0100.00917.86
7.4.130.0150.00416.43
7.4.120.0120.00716.47
7.4.110.0100.00616.54
7.4.100.0100.00716.52
7.4.90.0120.00616.45
7.4.80.0160.00719.39
7.4.70.0040.01816.57
7.4.60.0080.00816.36
7.4.50.0070.00716.72
7.4.40.0090.00916.56
7.4.00.0030.01314.86
7.3.330.0020.00212.99
7.3.320.0060.00013.09
7.3.310.0000.00716.21
7.3.300.0070.00016.17
7.3.290.0030.00316.14
7.3.280.0110.00616.19
7.3.260.0080.01116.20
7.3.240.0080.01016.27
7.3.230.0100.00716.45
7.3.210.0120.00616.25
7.3.200.0060.01016.31
7.3.190.0060.01116.04
7.3.180.0070.01016.32
7.3.170.0160.00716.29
7.3.160.0110.00616.26
7.3.10.0110.00415.84
7.3.00.0090.00916.07
7.2.330.0130.01016.22
7.2.320.0090.00916.44
7.2.310.0120.00916.72
7.2.300.0090.01516.38
7.2.290.0140.00716.39
7.2.130.0100.01016.11
7.2.120.0190.00216.79
7.2.110.0030.01616.39
7.2.100.0130.01316.44
7.2.90.0190.01216.52
7.2.80.0190.00016.24
7.2.70.0070.00716.28
7.2.60.0200.00916.20
7.2.50.0090.00916.37
7.2.40.0870.01516.94
7.2.30.1050.01017.10
7.2.20.1060.01317.11
7.2.10.0240.01117.10
7.2.00.0430.01317.12
7.1.250.0070.01015.33
7.1.200.0080.00015.57
7.1.160.1700.01416.81
7.1.150.1830.01216.43
7.1.140.1950.01316.71
7.1.130.0270.01416.72
7.1.120.0150.01416.84
7.1.110.1590.01716.29
7.1.100.2380.01516.04
7.1.90.1900.01615.78
7.1.80.1870.01415.84
7.1.70.1960.01315.29
7.1.60.2170.01433.28
7.1.50.2060.01632.79
7.1.40.2290.01632.50
7.1.30.1880.01532.35
7.1.20.0370.01432.62
7.1.10.2320.01414.80
7.1.00.0150.01414.71

preferences:
60.98 ms | 400 KiB | 5 Q