3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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);
based on 9MCsh
Output for 7.1.0
float(0.0010421276092529) float(3.6001205444336E-5)
Output for 7.0.14
float(0.0010268688201904) float(3.6954879760742E-5)
Output for 7.0.6
float(0.00089311599731445) float(4.6014785766602E-5)
Output for 7.0.5
float(0.00089216232299805) float(3.3855438232422E-5)
Output for 7.0.4
float(0.00059103965759277) float(3.3140182495117E-5)
Output for 7.0.3
float(0.00069308280944824) float(2.5033950805664E-5)
Output for 7.0.2
float(0.00071310997009277) float(2.598762512207E-5)
Output for 7.0.1
float(0.00077915191650391) float(2.598762512207E-5)
Output for 7.0.0
float(0.00095605850219727) float(4.2915344238281E-5)
Output for 5.6.28
float(0.0010559558868408) float(4.6968460083008E-5)
Output for 5.6.21
float(0.00065112113952637) float(3.0040740966797E-5)
Output for 5.6.20
float(0.0010111331939697) float(5.6028366088867E-5)
Output for 5.6.19
float(0.00085902214050293) float(3.9100646972656E-5)
Output for 5.6.18
float(0.00083804130554199) float(4.8160552978516E-5)
Output for 5.6.17
float(0.00062990188598633) float(2.9087066650391E-5)
Output for 5.6.16
float(0.00097107887268066) float(4.1961669921875E-5)
Output for 5.6.15
float(0.00091004371643066) float(5.0067901611328E-5)
Output for 5.6.14
float(0.0006248950958252) float(2.6941299438477E-5)
Output for 5.6.13
float(0.00083494186401367) float(3.7908554077148E-5)
Output for 5.6.12
float(0.0007469654083252) float(4.3869018554688E-5)
Output for 5.6.11
float(0.00063204765319824) float(2.9087066650391E-5)
Output for 5.6.10
float(0.00067591667175293) float(2.7894973754883E-5)
Output for 5.6.9
float(0.00064396858215332) float(2.8848648071289E-5)
Output for 5.6.8
float(0.00091099739074707) float(4.1007995605469E-5)
Output for 5.6.7
float(0.0005190372467041) float(2.3841857910156E-5)
Output for 5.5.35
float(0.00069808959960938) float(3.2186508178711E-5)
Output for 5.5.34
float(0.00087904930114746) float(3.8862228393555E-5)
Output for 5.5.33
float(0.00091385841369629) float(5.1975250244141E-5)
Output for 5.5.32
float(0.00075507164001465) float(3.504753112793E-5)
Output for 5.5.31
float(0.00081300735473633) float(3.7193298339844E-5)
Output for 5.5.30
float(0.00081801414489746) float(4.4107437133789E-5)
Output for 5.5.29
float(0.00074887275695801) float(3.504753112793E-5)
Output for 5.5.28
float(0.00090408325195312) float(4.1961669921875E-5)
Output for 5.5.27
float(0.00065279006958008) float(3.0040740966797E-5)
Output for 5.5.26
float(0.00098991394042969) float(4.4822692871094E-5)
Output for 5.5.25
float(0.00084805488586426) float(4.0054321289062E-5)
Output for 5.5.24
float(0.00063180923461914) float(2.9087066650391E-5)
Output for 5.4.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/T6DA9 on line 5
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/T6DA9 on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected '[' in /in/T6DA9 on line 5
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/T6DA9 on line 5
Process exited with code 255.