3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a =serialize([5]); $b = serialize(["abc"]); $c = $a.$b; var_dump(unserialize($c));

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.5.00.0100.01320.11
8.4.150.0010.00114.05
8.4.140.0180.00317.65
8.4.130.0170.00417.81
8.4.120.0130.00522.45
8.4.110.0120.00820.51
8.4.100.0140.00617.75
8.4.90.0070.00520.58
8.4.80.0090.01020.75
8.4.70.0130.00620.53
8.4.60.0090.01220.45
8.4.50.0140.00618.38
8.4.40.0100.01017.67
8.4.30.0190.00018.73
8.4.20.0030.01319.59
8.4.10.0090.00019.36
8.3.280.0150.00918.46
8.3.270.0150.00416.45
8.3.260.0130.00716.92
8.3.250.0150.00318.84
8.3.240.0100.00916.56
8.3.230.0110.00916.52
8.3.220.0140.00320.78
8.3.210.0120.00616.66
8.3.200.0040.00516.94
8.3.190.0120.01117.24
8.3.180.0050.00318.73
8.3.170.0130.00317.27
8.3.160.0060.00316.73
8.3.150.0120.00616.56
8.3.140.0120.00316.66
8.3.130.0060.00316.62
8.3.120.0030.00620.58
8.3.110.0060.00316.61
8.3.100.0060.00316.61
8.3.90.0050.00318.57
8.3.80.0000.00917.97
8.3.70.0100.00716.50
8.3.60.0070.01518.51
8.3.50.0070.01016.61
8.3.40.0190.01519.65
8.3.30.0130.00718.96
8.3.20.0060.00921.76
8.3.10.0140.00421.77
8.3.00.0210.00418.96
8.2.290.0140.00417.05
8.2.280.0090.00919.86
8.2.270.0070.01116.70
8.2.260.0070.01117.21
8.2.250.0070.00017.04
8.2.240.0080.00017.00
8.2.230.0000.00920.94
8.2.220.0060.00337.54
8.2.210.0050.00226.77
8.2.200.0030.00616.50
8.2.190.0070.00718.16
8.2.180.0100.00618.16
8.2.170.0110.00718.96
8.2.160.0170.00920.21
8.2.150.0180.00418.93
8.2.140.0090.00620.47
8.2.130.0000.01520.43
8.2.120.0140.00319.32
8.2.110.0140.00419.27
8.2.100.0120.00619.35
8.2.90.0110.00418.89
8.2.80.0130.00319.45
8.2.70.0100.00718.77
8.2.60.0170.00318.96
8.2.50.0180.00618.88
8.2.40.0090.01218.88
8.2.30.0170.00718.60
8.2.20.0170.00718.72
8.2.10.0200.00318.53
8.2.00.0160.00718.75
8.1.330.0030.00421.71
8.1.320.0120.00817.85
8.1.310.0040.01116.42
8.1.300.0040.00416.07
8.1.290.0100.00018.88
8.1.280.0100.00325.92
8.1.270.0100.00722.05
8.1.260.0120.00622.00
8.1.250.0000.01822.04
8.1.240.0170.01018.33
8.1.230.0200.00318.44
8.1.220.0150.00618.86
8.1.210.0190.00318.58
8.1.200.0180.00318.57
8.1.190.0130.01018.69
8.1.180.0170.00718.30
8.1.170.0190.00318.64
8.1.160.0140.00718.13
8.1.150.0110.01118.66
8.1.140.0160.00618.39
8.1.130.0170.00418.38
8.1.120.0160.00618.55
8.1.110.0150.00918.45
8.1.100.0070.01119.63
8.1.90.0180.00418.21
8.1.80.0160.00319.74
8.1.70.0130.00618.80
8.1.60.0230.00318.29
8.1.50.0190.00618.60
8.1.40.0140.00718.54
8.1.30.0110.00418.76
8.1.20.0090.00619.66
8.1.10.0060.00918.37
8.1.00.0120.00418.49

preferences:
95.95 ms | 403 KiB | 5 Q