3v4l.org

run code in 300+ PHP versions simultaneously
<?php $name = 'CSBill\UserBundle\Entity\User'; $string = sprintf('O:%d:"%s":0:{}', strlen($name), $name); var_dump(unseiralize($string);

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)
5.4.280.0060.04512.36
5.4.270.0080.04012.36
5.4.260.0010.04512.36
5.4.250.0090.03712.36
5.4.240.0070.03712.36
5.4.230.0040.04212.36
5.4.220.0070.03712.35
5.4.210.0070.03512.35
5.4.200.0080.04512.36
5.4.190.0070.03912.35
5.4.180.0110.03512.35
5.4.170.0090.03612.36
5.4.160.0060.03812.35
5.4.150.0120.04612.35
5.4.140.0090.05412.04
5.4.130.0080.05412.02
5.4.120.0150.05411.99
5.4.110.0110.05111.98
5.4.100.0090.04711.98
5.4.90.0080.04911.98
5.4.80.0120.04911.98
5.4.70.0070.05311.98
5.4.60.0090.04911.98
5.4.50.0120.05311.98
5.4.40.0080.05011.97
5.4.30.0070.05211.96
5.4.20.0090.04611.96
5.4.10.0100.04911.96
5.4.00.0130.04411.46
5.3.280.0070.05912.71
5.3.270.0080.05612.72
5.3.260.0060.06112.72
5.3.250.0070.05612.72
5.3.240.0120.05212.72
5.3.230.0080.05212.71
5.3.220.0090.05412.68
5.3.210.0130.04012.68
5.3.200.0060.04912.68
5.3.190.0130.04212.67
5.3.180.0060.03812.68
5.3.170.0070.04512.67
5.3.160.0060.03912.67
5.3.150.0090.04012.67
5.3.140.0140.04212.66
5.3.130.0100.03512.66
5.3.120.0060.04012.66
5.3.110.0070.04212.66
5.3.100.0050.04212.12
5.3.90.0100.05312.08
5.3.80.0090.05112.07
5.3.70.0090.05712.07
5.3.60.0100.06812.06
5.3.50.0090.05012.00
5.3.40.0080.05212.00
5.3.30.0080.04211.94
5.3.20.0050.06411.70
5.3.10.0110.04611.67
5.3.00.0070.04111.66
5.2.170.0060.0349.15
5.2.160.0050.0329.15
5.2.150.0050.0389.16
5.2.140.0090.0309.15
5.2.130.0040.0329.11
5.2.120.0080.0329.11
5.2.110.0090.0269.11
5.2.100.0050.0309.12
5.2.90.0050.0349.11
5.2.80.0060.0339.11
5.2.70.0100.0359.11
5.2.60.0070.0309.06
5.2.50.0100.0419.04
5.2.40.0080.0349.00
5.2.30.0050.0418.99
5.2.20.0090.0288.97
5.2.10.0080.0288.90
5.2.00.0060.0388.76
5.1.60.0060.0288.04
5.1.50.0050.0368.04
5.1.40.0050.0378.03
5.1.30.0090.0358.38
5.1.20.0060.0328.40
5.1.10.0080.0348.13
5.1.00.0040.0298.13
5.0.50.0030.0236.60
5.0.40.0060.0296.46
5.0.30.0060.0446.27
5.0.20.0100.0266.24
5.0.10.0070.0316.22
5.0.00.0060.0406.21
4.4.90.0080.0344.78
4.4.80.0070.0544.76
4.4.70.0080.0204.75
4.4.60.0050.0164.75
4.4.50.0030.0184.77
4.4.40.0030.0264.71
4.4.30.0030.0184.75
4.4.20.0030.0184.84
4.4.10.0030.0174.85
4.4.00.0100.0604.76
4.3.110.0040.0164.67
4.3.100.0060.0194.66
4.3.90.0070.0174.63
4.3.80.0050.0304.59
4.3.70.0040.0164.63
4.3.60.0050.0194.63
4.3.50.0050.0194.63
4.3.40.0020.0334.54
4.3.30.0030.0203.27
4.3.20.0010.0223.25
4.3.10.0030.0203.22
4.3.00.0130.0337.87

preferences:
146.21 ms | 1394 KiB | 7 Q