3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = '3v4l.org is an online shell that allows you to evaluate (hence 3v4l) your code on my server. I compiled more than 100 different PHP versions (every version released since 4.3.0) plus HHVM for you to use. For every script you submit, this site tells you:'; $hash = password_hash($input, PASSWORD_BCRYPT, ['cost' => 8]); $start = microtime(1); for($i = 0; $i < 100; $i++) { password_verify($hash, $input); } var_dump(microtime(1)-$start); $start = microtime(1); for($i = 0; $i < 100; $i++) { password_verify($hash, ''); } var_dump(microtime(1)-$start);

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)
7.2.00.0070.02719.48
7.1.70.0000.02517.23
7.1.60.0070.04319.32
7.1.50.0100.04017.09
7.1.00.0070.10022.38
7.0.200.0030.02116.90
7.0.140.0000.10322.03
7.0.60.0100.10720.11
7.0.50.0070.10717.94
7.0.40.0000.06020.11
7.0.30.0470.08720.39
7.0.20.0400.08720.27
7.0.10.0070.11020.15
7.0.00.0100.11020.14
5.6.280.0100.09321.03
5.6.210.0070.06720.50
5.6.200.0100.10018.23
5.6.190.0170.10020.67
5.6.180.0170.10320.66
5.6.170.0200.06320.61
5.6.160.0070.11720.50
5.6.150.0130.09718.28
5.6.140.0030.05318.24
5.6.130.0130.08718.34
5.6.120.0030.08021.17
5.6.110.0030.06021.01
5.6.100.0100.05721.04
5.6.90.0000.06320.97
5.6.80.0070.10320.41
5.6.70.2630.04720.56
5.5.350.0430.07720.34
5.5.340.0130.09018.05
5.5.330.0100.10720.31
5.5.320.0400.08320.30
5.5.310.0370.09020.57
5.5.300.0130.08018.04
5.5.290.0130.09717.98
5.5.280.0100.11020.91
5.5.270.0130.08720.82
5.5.260.0000.12320.97
5.5.250.0200.08320.72
5.5.240.3000.05720.19
5.4.450.0130.05719.58
5.4.440.0100.06319.54
5.4.430.0200.05019.54
5.4.420.0570.05719.62
5.4.410.0370.04719.31
5.4.400.0630.05719.09
5.4.390.0870.05319.08
5.4.380.0900.06319.01
5.4.370.0670.06018.99
5.4.360.0870.05319.16
5.4.350.0470.05719.15
5.4.340.0050.03411.98
5.4.320.0060.03612.46
5.4.310.0060.03712.45
5.4.300.0050.03612.45
5.4.290.0070.03612.45
5.4.280.0080.03212.35
5.4.270.0060.03912.35
5.4.260.0070.03612.35
5.4.250.0050.03812.35
5.4.240.0040.03712.35
5.4.230.0080.03412.34
5.4.220.0070.03312.34
5.4.210.0060.03512.34
5.4.200.0060.03812.34
5.4.190.0050.04212.34
5.4.180.0040.03612.34
5.4.170.0040.03612.35
5.4.160.0090.03212.35
5.4.150.0050.03712.34
5.4.140.0090.03412.03
5.4.130.0070.03412.02
5.4.120.0090.03911.97
5.4.110.0120.03411.96
5.4.100.0050.03411.97
5.4.90.0060.03611.97
5.4.80.0070.03511.97
5.4.70.0100.03511.96
5.4.60.0050.04011.96
5.4.50.0050.03711.96
5.4.40.0060.03511.95
5.4.30.0060.03511.95
5.4.20.0070.03711.95
5.4.10.0070.04011.95
5.4.00.0070.03411.44
5.3.290.0070.04312.80
5.3.280.0090.03612.71
5.3.270.0090.03812.72
5.3.260.0030.04312.72
5.3.250.0060.03712.72
5.3.240.0060.03612.72
5.3.230.0080.03412.71
5.3.220.0090.03912.68
5.3.210.0050.04412.68
5.3.200.0060.03612.68
5.3.190.0040.03912.68
5.3.180.0090.03312.68
5.3.170.0030.04012.67
5.3.160.0060.03612.68
5.3.150.0080.03912.68
5.3.140.0070.03512.66
5.3.130.0100.04512.66
5.3.120.0020.04512.66
5.3.110.0030.04012.66
5.3.100.0040.03912.11
5.3.90.0040.03812.08
5.3.80.0040.04312.07
5.3.70.0060.04112.08
5.3.60.0060.03712.06
5.3.50.0060.03812.00
5.3.40.0050.03812.00
5.3.30.0060.03611.95
5.3.20.0090.03611.72
5.3.10.0070.03611.70
5.3.00.0060.03811.69
5.2.170.0030.0329.18
5.2.160.0050.0289.18
5.2.150.0060.0309.18
5.2.140.0020.0339.18
5.2.130.0030.0349.14
5.2.120.0040.0289.14
5.2.110.0040.0309.14
5.2.100.0050.0299.14
5.2.90.0070.0269.14
5.2.80.0050.0329.14
5.2.70.0030.0339.14
5.2.60.0050.0309.10
5.2.50.0060.0269.07
5.2.40.0050.0289.04
5.2.30.0050.0299.01
5.2.20.0030.0319.00
5.2.10.0030.0318.93
5.2.00.0050.0288.78
5.1.60.0010.0338.07
5.1.50.0070.0278.06
5.1.40.0040.0258.05
5.1.30.0060.0288.40
5.1.20.0060.0278.42
5.1.10.0030.0318.14
5.1.00.0040.0268.14
5.0.50.0060.0236.63
5.0.40.0040.0196.48
5.0.30.0060.0376.29
5.0.20.0030.0206.26
5.0.10.0040.0196.25
5.0.00.0030.0326.24
4.4.90.0020.0164.78
4.4.80.0010.0164.75
4.4.70.0020.0164.75
4.4.60.0030.0154.75
4.4.50.0040.0134.77
4.4.40.0030.0244.71
4.4.30.0020.0164.76
4.4.20.0030.0154.84
4.4.10.0070.0164.85
4.4.00.0000.0284.76
4.3.110.0030.0174.67
4.3.100.0020.0174.66
4.3.90.0010.0154.63
4.3.80.0060.0254.58
4.3.70.0030.0134.63
4.3.60.0030.0144.63
4.3.50.0020.0204.63
4.3.40.0020.0284.53
4.3.30.0030.0153.28
4.3.20.0020.0163.26
4.3.10.0020.0173.23
4.3.00.0270.0206.89

preferences:
35.13 ms | 401 KiB | 5 Q