3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(password_verify('test', '$2y$10$o9XkNI1sp0qH9ty57K77Pe8OJcDpOD4VwTRRD.4QjYKIJ/GoWQsvW'));

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).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)
7.2.00.0070.07319.09
7.1.200.0130.06115.47
7.1.100.0130.06417.88
7.1.70.0000.07017.11
7.1.60.0070.12619.46
7.1.50.0100.09516.89
7.1.00.0130.15722.43
7.0.200.0000.06716.48
7.0.140.0070.16021.92
7.0.60.0130.16320.04
7.0.50.0130.18017.80
7.0.40.0030.12719.90
7.0.30.0230.11020.18
7.0.20.0330.13720.19
7.0.10.0300.15020.16
7.0.00.0070.16320.19
5.6.280.0100.14021.12
5.6.210.0100.12720.61
5.6.200.0030.15718.18
5.6.190.0130.16720.49
5.6.180.3430.10020.56
5.6.170.0170.15020.40
5.6.160.0530.09720.52
5.6.150.0100.14018.11
5.6.140.0070.16718.17
5.6.130.0170.14318.11
5.6.120.0100.12321.09
5.6.110.0170.15021.00
5.6.100.0270.11721.01
5.6.90.0130.14321.02
5.6.80.0100.14020.36
5.6.70.0230.09320.39
5.5.350.0170.16020.40
5.5.340.0070.14717.89
5.5.330.0000.17020.47
5.5.320.0470.18720.26
5.5.310.0270.11320.50
5.5.300.0030.16718.01
5.5.290.0030.14017.91
5.5.280.0070.09720.76
5.5.270.0030.15720.78
5.5.260.0100.12020.79
5.5.250.0030.13720.48
5.5.240.0170.13320.15
5.4.450.0030.07019.32
5.4.440.0330.06019.10
5.4.430.1130.07319.13
5.4.420.0600.00019.25
5.4.410.0230.04319.02
5.4.400.0200.05018.76
5.4.390.0070.06018.57
5.4.380.0370.04318.64
5.4.370.0070.03718.51
5.4.360.0030.04018.70
5.4.350.0040.03611.97
5.4.340.0110.04311.97
5.4.320.0070.04412.46
5.4.310.0050.04612.45
5.4.300.0090.04112.45
5.4.290.0060.05412.45
5.4.280.0070.05312.34
5.4.270.0060.05512.35
5.4.260.0100.05512.35
5.4.250.0100.05412.34
5.4.240.0030.04212.34
5.4.230.0160.04512.34
5.4.220.0070.04912.34
5.4.210.0090.04312.34
5.4.200.0060.04312.34
5.4.190.0070.04312.33
5.4.180.0060.03912.33
5.4.170.0090.03712.34
5.4.160.0140.05812.34
5.4.150.0200.08512.34
5.4.140.0090.05812.02
5.4.130.0140.08312.01
5.4.120.0100.06511.97
5.4.110.0380.11211.96
5.4.100.0290.07211.96
5.4.90.0090.05111.96
5.4.80.0130.04011.96
5.4.70.0210.10011.96
5.4.60.0090.04411.96
5.4.50.0090.06111.96
5.4.40.0100.05311.95
5.4.30.0100.05611.95
5.4.20.0130.04811.95
5.4.10.0120.04611.95
5.4.00.0110.06111.44
5.3.290.0110.04312.80
5.3.280.0100.05212.70
5.3.270.0240.06812.72
5.3.260.0110.03812.72
5.3.250.0100.05012.71
5.3.240.0070.05712.72
5.3.230.0080.04012.71
5.3.220.0110.03812.68
5.3.210.0130.04712.68
5.3.200.0110.03612.68
5.3.190.0120.05212.68
5.3.180.0070.04112.68
5.3.170.0100.05212.67
5.3.160.0080.03812.67
5.3.150.0210.09512.67
5.3.140.0120.05512.66
5.3.130.0140.05912.66
5.3.120.0220.05712.66
5.3.110.0140.05212.65
5.3.100.0100.04512.12
5.3.90.0150.05412.08
5.3.80.0090.07212.07
5.3.70.0070.03512.07
5.3.60.0030.03812.06
5.3.50.0050.03912.00
5.3.40.0070.04212.00
5.3.30.0070.03711.95
5.3.20.0090.05311.72
5.3.10.0070.04111.70
5.3.00.0090.03911.68
5.2.170.0060.0339.18
5.2.160.0080.0359.18
5.2.150.0050.0339.18
5.2.140.0090.0289.18
5.2.130.0080.0289.14
5.2.120.0110.0339.13
5.2.110.0080.0379.14
5.2.100.0100.0389.14
5.2.90.0110.0329.14
5.2.80.0080.0299.13
5.2.70.0120.0399.14
5.2.60.0080.0389.09
5.2.50.0070.0349.05
5.2.40.0100.0349.04
5.2.30.0020.0359.00
5.2.20.0070.0329.00
5.2.10.0070.0308.92
5.2.00.0090.0288.78
5.1.60.0050.0248.06
5.1.50.0060.0248.06
5.1.40.0030.0268.04
5.1.30.0050.0308.39
5.1.20.0130.0378.41
5.1.10.0040.0278.14
5.1.00.0030.0288.14
5.0.50.0120.0516.61
5.0.40.0030.0226.47
5.0.30.0070.0286.28
5.0.20.0080.0406.26
5.0.10.0060.0276.23
5.0.00.0050.0316.23
4.4.90.0010.0204.78
4.4.80.0030.0164.76
4.4.70.0040.0154.75
4.4.60.0040.0154.75
4.4.50.0010.0174.77
4.4.40.0040.0254.71
4.4.30.0040.0194.76
4.4.20.0030.0174.84
4.4.10.0040.0224.85
4.4.00.0030.0344.76
4.3.110.0060.0154.67
4.3.100.0020.0244.67
4.3.90.0060.0164.63
4.3.80.0050.0354.59
4.3.70.0050.0334.63
4.3.60.0060.0224.63
4.3.50.0030.0224.62
4.3.40.0040.0334.54
4.3.30.0030.0533.28
4.3.20.0120.0383.25
4.3.10.0020.0163.21
4.3.00.0130.0276.60