3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 'a:2:{s:8:"username";s:4:"test";s:8:"password";s:4:"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.0180.00318.43
8.3.50.0000.01417.67
8.3.40.0170.00018.54
8.3.30.0000.01418.71
8.3.20.0040.00421.95
8.3.10.0040.00423.51
8.3.00.0060.00319.56
8.2.180.0090.00916.38
8.2.170.0100.00322.96
8.2.160.0040.00922.20
8.2.150.0080.00024.18
8.2.140.0030.00624.66
8.2.130.0040.00419.27
8.2.120.0070.00026.35
8.2.110.0040.00419.32
8.2.100.0080.00317.78
8.2.90.0000.00817.84
8.2.80.0070.00018.09
8.2.70.0000.00817.80
8.2.60.0030.00617.79
8.2.50.0030.00618.22
8.2.40.0040.00420.59
8.2.30.0040.00419.43
8.2.20.0000.00718.05
8.2.10.0070.00017.93
8.2.00.0040.00417.97
8.1.280.0140.00325.92
8.1.270.0040.00423.79
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0090.00020.55
8.1.230.0090.00320.97
8.1.220.0030.00617.74
8.1.210.0040.00418.82
8.1.200.0030.00617.35
8.1.190.0000.00817.10
8.1.180.0040.00418.10
8.1.170.0040.00418.47
8.1.160.0030.00518.74
8.1.150.0030.00318.95
8.1.140.0000.00717.71
8.1.130.0030.00319.01
8.1.120.0040.00417.30
8.1.110.0000.00917.28
8.1.100.0030.00617.29
8.1.90.0040.00417.36
8.1.80.0000.00817.40
8.1.70.0040.00417.37
8.1.60.0090.00017.41
8.1.50.0080.00017.44
8.1.40.0040.00417.36
8.1.30.0000.00817.48
8.1.20.0040.00717.61
8.1.10.0040.00417.43
8.1.00.0040.00417.27
8.0.300.0000.00819.73
8.0.290.0060.00316.75
8.0.280.0030.00318.38
8.0.270.0070.00017.31
8.0.260.0030.00317.21
8.0.250.0030.00716.87
8.0.240.0000.00816.91
8.0.230.0060.00316.92
8.0.220.0040.00416.88
8.0.210.0070.00016.90
8.0.200.0030.00316.82
8.0.190.0040.00816.80
8.0.180.0000.00716.95
8.0.170.0070.00316.93
8.0.160.0030.00516.90
8.0.150.0000.00716.86
8.0.140.0030.00516.93
8.0.130.0000.00513.32
8.0.120.0000.00716.90
8.0.110.0030.00516.96
8.0.100.0030.00516.95
8.0.90.0050.00316.69
8.0.80.0110.00716.84
8.0.70.0040.00416.72
8.0.60.0080.00017.02
8.0.50.0040.00416.88
8.0.30.0140.00517.15
8.0.20.0120.01017.40
8.0.10.0000.00717.03
8.0.00.0100.00716.64
7.4.330.0030.00315.55
7.4.320.0030.00316.52
7.4.300.0000.00716.54
7.4.290.0040.00416.45
7.4.280.0000.00816.47
7.4.270.0030.00616.53
7.4.260.0040.00416.43
7.4.250.0000.00716.40
7.4.240.0030.00316.46
7.4.230.0000.00716.57
7.4.220.0030.00516.64
7.4.210.0020.01216.58
7.4.200.0030.00316.45
7.4.160.0070.01216.39
7.4.140.0110.00717.86
7.4.130.0180.00016.29
7.4.120.0100.01116.48
7.4.110.0080.00816.37
7.4.100.0070.01416.64
7.4.90.0090.00916.39
7.4.80.0130.01019.39
7.4.70.0130.00916.34
7.4.60.0080.00816.53
7.4.50.0070.01016.42
7.4.40.0060.01116.38
7.4.00.0070.00715.01
7.3.330.0050.00013.05
7.3.320.0000.00613.04
7.3.310.0000.00716.07
7.3.300.0030.00316.07
7.3.290.0050.00216.13
7.3.280.0130.00116.24
7.3.260.0080.01016.23
7.3.240.0110.00816.34
7.3.230.0080.00816.21
7.3.210.0070.01016.30
7.3.200.0120.00916.31
7.3.190.0060.00916.11
7.3.180.0070.01416.20
7.3.170.0160.00016.27
7.3.160.0100.01016.39
7.2.330.0160.00616.69
7.2.320.0090.00916.27
7.2.310.0140.00416.25
7.2.300.0120.00916.30
7.2.290.0030.01316.45
7.2.60.0030.01016.82
7.2.40.1280.01717.89
7.2.30.1220.01417.80
7.2.20.1220.01417.59
7.2.10.1070.01417.68
7.2.00.1260.01117.65
7.1.200.0080.00315.26
7.1.160.0810.00916.77
7.1.150.0850.00816.68
7.1.140.1510.01216.77
7.1.130.1120.01616.55
7.1.120.1130.00816.41
7.1.110.1180.00816.02
7.1.100.0950.00915.82
7.1.90.2640.01116.04
7.1.80.1240.00616.20
7.1.70.0970.01115.37
7.1.60.1420.01633.04
7.1.50.2180.01532.95
7.1.40.2490.02032.40
7.1.30.1470.01132.48
7.1.20.1340.01832.48
7.1.10.1560.01314.67
7.1.00.0690.01214.85

preferences:
58.73 ms | 400 KiB | 5 Q