3v4l.org

run code in 300+ PHP versions simultaneously
<?php $src = '000080c0'; $arr = array_map('hexdec', str_split($src, 2)); $float = unpack('f', pack("C*", ...$arr)); var_dump($float); // float(-4)

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.01119.84
8.4.150.0020.00114.05
8.4.140.0110.00917.41
8.4.130.0070.00517.78
8.4.120.0140.00620.59
8.4.110.0120.00918.92
8.4.100.0100.01017.60
8.4.90.0120.00820.64
8.4.80.0060.00518.71
8.4.70.0050.00618.95
8.4.60.0040.00418.68
8.4.50.0120.00919.11
8.4.40.0160.00319.28
8.4.30.0180.00320.28
8.4.20.0160.00318.00
8.4.10.0090.00619.23
8.3.280.0100.01018.36
8.3.270.0110.01016.56
8.3.260.0140.00616.57
8.3.250.0120.00816.95
8.3.240.0090.01016.68
8.3.230.0050.00316.59
8.3.220.0120.00618.71
8.3.210.0050.00316.59
8.3.200.0040.00516.77
8.3.190.0120.01017.07
8.3.180.0080.00316.37
8.3.170.0070.00718.83
8.3.160.0090.00918.53
8.3.150.0110.00720.55
8.3.140.0180.00916.43
8.3.130.0030.00518.46
8.3.120.0090.00920.64
8.3.110.0160.00016.63
8.3.100.0110.00724.06
8.3.90.0100.00626.77
8.3.80.0000.00816.50
8.3.70.0150.00616.58
8.3.60.0130.00318.18
8.3.50.0180.00016.32
8.3.40.0110.00418.77
8.3.30.0070.00718.58
8.3.20.0040.00424.18
8.3.10.0070.00024.66
8.3.00.0030.00626.16
8.2.290.0120.00716.28
8.2.280.0050.00318.09
8.2.270.0110.00716.81
8.2.260.0070.01020.25
8.2.250.0040.00416.64
8.2.240.0030.00618.89
8.2.230.0080.00020.94
8.2.220.0080.00037.54
8.2.210.0100.00726.77
8.2.200.0040.00418.17
8.2.190.0060.01516.58
8.2.180.0100.01025.92
8.2.170.0130.00318.79
8.2.160.0100.00322.96
8.2.150.0070.00025.66
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0040.00419.77
8.2.110.0030.00621.00
8.2.100.0070.00418.09
8.2.90.0000.00819.00
8.2.80.0030.00717.97
8.2.70.0090.00448.35
8.2.60.0080.00548.57
8.2.50.0100.00348.70
8.2.40.0090.00348.78
8.2.30.0080.00448.66
8.2.20.0070.00648.61
8.2.10.0060.00649.31
8.2.00.0080.00649.28
8.1.330.0140.00516.04
8.1.320.0140.00517.84
8.1.310.0030.00516.81
8.1.300.0030.00617.92
8.1.290.0040.00430.84
8.1.280.0140.00025.92
8.1.270.0040.00423.99
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00619.08
8.1.230.0110.00017.77
8.1.220.0030.00617.74
8.1.210.0060.00318.77
8.1.200.0090.00448.28
8.1.190.0030.00948.28
8.1.180.0050.00648.71
8.1.170.0070.00548.92
8.1.160.0090.00449.10
8.1.150.0090.00549.01
8.1.140.0080.00549.01
8.1.130.0080.00649.69
8.1.120.0090.00338.03
8.1.110.0110.00438.02
8.1.100.0120.00338.03
8.1.90.0110.00338.03
8.1.80.0140.00237.97
8.1.70.0100.00538.01
8.1.60.0080.00738.05
8.1.50.0100.00438.05
8.1.40.0090.00638.07
8.1.30.0130.00238.14
8.1.20.0090.00638.07
8.1.10.0110.00438.06
8.1.00.0110.00338.00
8.0.300.0040.00418.77
8.0.290.0060.00748.04
8.0.280.0120.00248.84
8.0.270.0080.00548.63
8.0.260.0050.00648.85
8.0.250.0080.00337.63
8.0.240.0110.00537.69
8.0.230.0070.00537.64
8.0.220.0130.00037.60
8.0.210.0110.00337.56
8.0.200.0110.00337.69
8.0.190.0110.00137.65
8.0.180.0100.00437.66
8.0.170.0100.00437.63
8.0.160.0090.00537.58
8.0.150.0080.00537.61
8.0.140.0100.00337.59
8.0.130.0080.00436.42
8.0.120.0080.00431.53
8.0.110.0110.00331.52
8.0.100.0090.00331.52
8.0.90.0090.00431.54
8.0.80.0060.00826.58
8.0.70.0080.00731.53
8.0.60.0100.00631.48
8.0.50.0090.00631.49
8.0.30.0090.00726.63
8.0.20.0070.00928.58
8.0.10.0120.00328.67
8.0.00.0070.00628.71
7.4.330.0070.00147.44
7.4.320.0060.00537.42
7.4.300.0120.00237.39
7.4.290.0070.00637.43
7.4.280.0110.00337.46
7.4.270.0090.00237.44
7.4.260.0100.00336.31
7.4.250.0090.00531.37
7.4.240.0080.00531.36
7.4.230.0060.00831.37
7.4.220.0070.00528.31
7.4.210.0090.00725.01
7.4.200.0090.00731.33
7.4.190.0100.00531.40
7.4.180.0090.00631.41
7.4.160.0110.00726.45
7.4.150.0080.00528.39
7.4.140.0100.00428.33
7.4.130.0070.00728.28
7.4.120.0090.00628.25
7.4.110.0110.00328.25
7.4.100.0120.00328.36
7.4.90.0070.00628.39
7.4.80.0040.00828.25
7.4.70.0080.00528.22
7.4.60.0080.00428.29
7.4.50.0090.00428.18
7.4.40.0100.00328.21
7.4.30.0090.00528.27
7.4.20.0090.00428.24
7.4.10.0070.00828.20
7.4.00.0090.00628.33
7.3.330.0080.00437.17
7.3.320.0100.00230.40
7.3.310.0110.00131.09
7.3.300.0090.00431.11
7.3.290.0080.00724.70
7.3.280.0090.00631.11
7.3.270.0100.00428.10
7.3.260.0080.00528.12
7.3.250.0090.00428.09
7.3.240.0100.00428.16
7.3.230.0100.00628.12
7.3.220.0090.00628.03
7.3.210.0100.00528.08
7.3.200.0100.00528.10
7.3.190.0090.00528.09
7.3.180.0070.00828.06
7.3.170.0120.00328.08
7.3.160.0100.00428.07
7.3.150.0110.00428.07
7.3.140.0100.00428.09
7.3.130.0110.00328.08
7.3.120.0080.00528.05
7.3.110.0060.00728.02
7.3.100.0040.00828.08
7.3.90.0090.00328.30
7.3.80.0080.00528.10
7.3.70.0070.00628.17
7.3.60.0070.00628.22
7.3.50.0080.00528.24
7.3.40.0060.00828.25
7.3.30.0090.00628.22
7.3.20.0080.00828.58
7.3.10.0070.00628.51
7.3.00.0070.00728.54

preferences:
40.59 ms | 403 KiB | 5 Q