3v4l.org

run code in 300+ PHP versions simultaneously
<?php $startTime = microtime(TRUE); $password='123456'; $cost=13; $hash=password_hash($password, PASSWORD_DEFAULT, array('cost' => $cost)); password_verify($password,$hash); $endTime = microtime(TRUE); $time = $endTime - $startTime; echo $time;

Abusive script

This script was stopped while abusing our resources

Output for 7.1.7
0.95695209503174
Output for 7.1.6
1.0008850097656
Output for 7.1.5
0.95137810707092
Output for 7.1.4
0.9537889957428
Output for 7.1.3
0.95207905769348
Output for 7.1.2
0.94483780860901
Output for 7.1.1
0.9574282169342
Output for 7.1.0
0.95975112915039
Output for 7.0.20
0.96293210983276
Output for 7.0.19
0.9512300491333
Output for 7.0.18
0.95004987716675
Output for 7.0.17
0.95567607879639
Output for 7.0.16
0.94732809066772
Output for 7.0.15
0.95486092567444
Output for 7.0.14
0.94161415100098
Output for 7.0.13
0.97225093841553
Output for 7.0.12
0.98689198493958
Output for 7.0.11
0.94093799591064
Output for 7.0.10
0.93927502632141
Output for 7.0.9
0.94792008399963
Output for 7.0.8
0.95726799964905
Output for 7.0.7
0.95083498954773
Output for 7.0.6
0.97816181182861
Output for 7.0.5
0.94773101806641
Output for 7.0.4
0.94427394866943
Output for 7.0.3
0.94915008544922
Output for 7.0.2
0.95415878295898
Output for 7.0.1
0.95663809776306
Output for 7.0.0
0.96666288375854
Output for 5.6.30
0.98704290390015
Output for 5.6.29
0.94634199142456
Output for 5.6.28
0.94801688194275
Output for 5.6.27
0.94486498832703
Output for 5.6.26
0.94851088523865
Output for 5.6.25
1.0373408794403
Output for 5.6.24
0.95757484436035
Output for 5.6.23
0.95457816123962
Output for 5.6.22
0.94986796379089
Output for 5.6.21
0.96396207809448
Output for 5.6.20
0.99273800849915
Output for 5.6.19
0.95979499816895
Output for 5.6.18
0.93985295295715
Output for 5.6.17
0.94470596313477
Output for 5.6.16
0.94283819198608
Output for 5.6.15
0.95109891891479
Output for 5.6.14
0.9517080783844
Output for 5.6.13
0.94319915771484
Output for 5.6.12
0.94074296951294
Output for 5.6.11
0.96305394172668
Output for 5.6.10
1.0221979618073
Output for 5.6.9
0.94139218330383
Output for 5.6.8
0.94466996192932
Output for 5.6.7
0.94569802284241
Output for 5.6.6
0.94087100028992
Output for 5.6.5
0.95710492134094
Output for 5.6.4
0.95625400543213
Output for 5.6.3
0.94097900390625
Output for 5.6.2
0.94551205635071
Output for 5.6.1
0.95351505279541
Output for 5.6.0
0.94407200813293
Output for 5.5.38
0.94872784614563
Output for 5.5.37
0.95407891273499
Output for 5.5.36
0.96074485778809
Output for 5.5.35
0.95427703857422
Output for 5.5.34
0.96567106246948
Output for 5.5.33
0.96594595909119
Output for 5.5.32
0.95453286170959
Output for 5.5.31
0.95582413673401
Output for 5.5.30
0.96678805351257
Output for 5.5.29
0.94632887840271
Output for 5.5.28
0.96211385726929
Output for 5.5.27
0.94917798042297
Output for 5.5.26
0.96790599822998
Output for 5.5.25
0.95812487602234
Output for 5.5.24
0.96538400650024
Output for 5.5.23
0.96562194824219
Output for 5.5.22
0.96655583381653
Output for 5.5.21
0.95997714996338
Output for 5.5.20
0.97777199745178
Output for 5.5.19
0.96163296699524
Output for 5.5.18
0.9662389755249
Output for 5.5.16
0.9558629989624
Output for 5.5.15
0.95532011985779
Output for 5.5.14
0.95457410812378
Output for 5.5.13
1.0020298957825
Output for 5.5.12
0.97419810295105
Output for 5.5.11
0.98401618003845
Output for 5.5.10
0.95982718467712
Output for 5.5.9
0.97078514099121
Output for 5.5.8
0.95884990692139
Output for 5.5.7
0.96052002906799
Output for 5.5.6
0.95600700378418
Output for 5.5.5
0.95532083511353
Output for 5.5.4
0.97941017150879
Output for 5.5.3
0.95580196380615
Output for 5.5.2
0.97622799873352
Output for 5.5.1
0.95931506156921
Output for 5.5.0
0.96119904518127
Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/N0DtK on line 6
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: password_hash() in /in/N0DtK on line 6
Process exited with code 255.
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.4
Fatal error: Call to undefined function: password_hash() in /in/N0DtK on line 6
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: password_hash() in /in/N0DtK on line 6

preferences:
72.3 ms | 550 KiB | 5 Q