3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(bin2hex(mb_substr(hex2bin("8964"), 0, 1)));

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.0110.01019.84
8.4.150.0010.00114.05
8.4.140.0130.00717.40
8.4.130.0120.00817.65
8.4.120.0100.00920.72
8.4.110.0130.00622.40
8.4.100.0130.00917.43
8.4.90.0100.01018.43
8.4.80.0130.00519.33
8.4.70.0110.00917.87
8.4.60.0050.00918.94
8.4.50.0100.00918.50
8.4.40.0100.01017.55
8.4.30.0050.00318.68
8.4.20.0110.01118.72
8.4.10.0130.00319.21
8.3.280.0160.00518.28
8.3.270.0120.01116.48
8.3.260.0140.00516.32
8.3.250.0100.00918.93
8.3.240.0130.00716.75
8.3.230.0110.00916.68
8.3.220.0040.00417.12
8.3.210.0140.00416.28
8.3.200.0050.00516.59
8.3.190.0130.00617.33
8.3.180.0050.00416.64
8.3.170.0060.01220.50
8.3.160.0060.00319.99
8.3.150.0130.00616.58
8.3.140.0080.00816.55
8.3.130.0050.00516.51
8.3.120.0030.00618.82
8.3.110.0090.00016.49
8.3.100.0120.00016.49
8.3.90.0060.00626.77
8.3.80.0090.00018.18
8.3.70.0000.01416.49
8.3.60.0090.00618.29
8.3.50.0110.00418.39
8.3.40.0090.00620.17
8.3.30.0110.00720.22
8.3.20.0000.00724.18
8.3.10.0040.00424.66
8.3.00.0080.01218.44
8.2.290.0110.00720.52
8.2.280.0130.00918.40
8.2.270.0040.00416.93
8.2.260.0070.01120.11
8.2.250.0040.01118.40
8.2.240.0000.00717.23
8.2.230.0000.00920.94
8.2.220.0050.00324.06
8.2.210.0000.00826.77
8.2.200.0100.00016.50
8.2.190.0110.00716.63
8.2.180.0110.01118.04
8.2.170.0110.01118.74
8.2.160.0040.01122.96
8.2.150.0040.00425.66
8.2.140.0000.00924.66
8.2.130.0130.00619.04
8.2.120.0190.00018.72
8.2.110.0040.01518.82
8.2.100.0150.00318.91
8.2.90.0110.00718.79
8.2.80.0100.01018.47
8.2.70.0070.01418.70
8.2.60.0130.00718.69
8.2.50.0130.00318.50
8.2.40.0040.01118.70
8.2.30.0150.00018.54
8.2.20.0070.01418.77
8.2.10.0120.00318.58
8.2.00.0110.00418.58
8.1.330.0120.00621.82
8.1.320.0100.00916.17
8.1.310.0040.01118.52
8.1.300.0160.00015.92
8.1.290.0080.00030.84
8.1.280.0070.01425.92
8.1.270.0080.00022.08
8.1.260.0100.01022.00
8.1.250.0070.00722.05
8.1.240.0120.00918.45
8.1.230.0120.00418.45
8.1.220.0150.00618.47
8.1.210.0080.00818.27
8.1.200.0070.00720.13
8.1.190.0040.01418.55
8.1.180.0040.00418.17
8.1.170.0040.00418.55
8.1.160.0130.00718.32
8.1.150.0090.00918.43
8.1.140.0090.00918.19
8.1.130.0030.00618.74
8.1.120.0040.00418.43
8.1.110.0070.01118.56
8.1.100.0050.00518.42
8.1.90.0030.00618.43
8.1.80.0050.00318.46
8.1.70.0050.00318.48
8.1.60.0050.00318.42
8.1.50.0080.00018.59
8.1.40.0040.00418.54
8.1.30.0080.00018.57
8.1.20.0120.00918.55
8.1.10.0090.00018.37
8.1.00.0160.00318.36

preferences:
102.16 ms | 403 KiB | 5 Q