3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(password_verify('test', '$2y$10$pWlfc.bdCtnOVTrxTxX5s.r6lo0H.n1am/v9g5CX4M9DFHFLaj3E2')); $hash = password_hash('test', PASSWORD_DEFAULT); print $hash; print "\n"; var_dump(password_verify('test', $hash));
Output for 7.2.0
bool(false) $2y$10$zxkhuTixQc6NzlyZuqhZI.oL9DS.5M2Hx8b959hr29ewbhWcf.2VS bool(true)
Output for 7.1.10
bool(false) $2y$10$ZJQUWgboCn6yhyF0j3mem.Vo.2fHHwL80Hg71up62haQXe7cPV/Va bool(true)
Output for 7.1.7
bool(false) $2y$10$P8yMp0i0jRYUYzlHja7lwutRi4XSJeslfcz/tuRnnuNFfbKMcKM02 bool(true)
Output for 7.1.6
bool(false) $2y$10$Peki7TKobfPvqn13KhFhGu6oeoPgJGfkIDdLIUXHrf7WrPzC.2Nea bool(true)
Output for 7.1.5
bool(false) $2y$10$sRP7adjPQcLyCHBy8ycoi.WwA5YMvnvCE.aaEBYG35U56pcmbNmPi bool(true)
Output for 7.1.0
bool(false) $2y$10$hjsJeBXYFzPQZQYj668UjOU6V77gi1jmonlbZxBt8QvKIP3rqYyt. bool(true)
Output for 7.0.20
bool(false) $2y$10$dHujkb7CdpFCrkZwGhObqe3x752/CDGzy4/rIAGYglym39JHM5SE2 bool(true)
Output for 7.0.14
bool(false) $2y$10$MJvi6wXmDosLYKPcsyVNEu3.PCB1RCeN5h9QodXZthAEoDa.LfVIa bool(true)
Output for 7.0.6
bool(false) $2y$10$kp.HrjFLSc9y9yN0L/Ph7.CwarSD/Hz7.UBBGIOEY2gQAdefBgyHy bool(true)
Output for 7.0.5
bool(false) $2y$10$m7Q4zsoav54rLwNsAqcQTu4htB8zNX84LPu1WAATaFCwruxkl4p6G bool(true)
Output for 7.0.4
bool(false) $2y$10$M/tPqDXImD2nAkhMImPj3u5/RawEciuCIRU5TOl1DS6d1p0JQo31q bool(true)
Output for 7.0.3
bool(false) $2y$10$AuDgI7C.b1IY2qdQ0YvRYO4My6Erf9JtvYD06i13iRRZuN5KJrJPu bool(true)
Output for 7.0.2
bool(false) $2y$10$Rjlz.wJTUt.dt4mZyLiHs.VToe65cnGTq9.SgUG42pisyb7wV7Dv. bool(true)
Output for 7.0.1
bool(false) $2y$10$N6rVFvrZOi.wKux5vERk8exmIvOlReYWqBV8jd1lO.0YJkOIOc.uK bool(true)
Output for 7.0.0
bool(false) $2y$10$3R4xWvGXN5axs2bqIFa9aejNxKvPfOBOw6elrc7U5Fe4anZfziUZ. bool(true)
Output for 5.6.28
bool(false) $2y$10$LbyzYZRyz3gssIs9/NACVOskp7UwTOQsW8HXWEuzF8atz2.f3kV6C bool(true)
Output for 5.6.21
bool(false) $2y$10$/EmIxwgdMjzK1wBmVg1pbejFR63EflEKAzvBMUPKbY4xH3bBvcVWG bool(true)
Output for 5.6.20
bool(false) $2y$10$ukpa41vPCc6IyNOEczoguuOdXnWhx8zVEkpoBdhX7bRoCkdQDHwn6 bool(true)
Output for 5.6.19
bool(false) $2y$10$zsx.AMvMANKvgoLepj42GOdvtQy1RxNo957Gt2ewKYSNPbEd796Ke bool(true)
Output for 5.6.18
bool(false) $2y$10$SELDgaA1FM9XnXwQZ.SZzO2i/2sst5a0UlTjgHqBbKGFmYfd2cmga bool(true)
Output for 5.6.17
bool(false) $2y$10$NRkf65iB1ZsBYihHAYSSX.fh4PsKD3O59Uw4nEJuCclfSUeMNShpK bool(true)
Output for 5.6.16
bool(false) $2y$10$sYTwmnToW.5/mvwGofKyM.lstPgAeNZFO7hrA.gge1XBc5NdNzZde bool(true)
Output for 5.6.15
bool(false) $2y$10$MWHZmiL/LoaLt9j1GEGIvugBg1lBdWQUFY/4tNQHuVHr5IKCIo8Ui bool(true)
Output for 5.6.14
bool(false) $2y$10$RbPOiqdXwclVo1aax.zTR.kDzxc4KOxx.ffNr6STSheGysvKoqeIa bool(true)
Output for 5.6.13
bool(false) $2y$10$NoOLeC8BOxhvV79j2HNPs.jyrCdYkG.oYPmaI7hlPWVA9haAdegZS bool(true)
Output for 5.6.12
bool(false) $2y$10$7oTwAOBSSBTgVpiRsH2gH.xXfcb26st1puS.xIeUL23f7KdQrY0qW bool(true)
Output for 5.6.11
bool(false) $2y$10$F82wmmq3r9zVQ5gt/dWM0uaQcosJMBFey2Uy7I2aBg01ECG1DT6z2 bool(true)
Output for 5.6.10
bool(false) $2y$10$2qjUwhs.TkBVEqu3tdeSz.omXHor6VkXvbjtupSlcc9b/Zo6DK2qO bool(true)
Output for 5.6.9
bool(false) $2y$10$PMBvVAk7SHky4HOQQT2Cf.qRieRgvBle5N5lePgRDiIc4t7hW8OsK bool(true)
Output for 5.6.8
bool(false) $2y$10$g7fBDZ0M0QvQUPtE7N3xvuGev4BRV2nuWTwgk00PYmWlTrTjXT/Qe bool(true)
Output for 5.5.35
bool(false) $2y$10$ZVgiToXadtJuma5RQyPqT.1oAf6yhEbZ79r6UKeWV4fLBxw.MBwWu bool(true)
Output for 5.5.34
bool(false) $2y$10$I2dMFkqaTPcP1yYdhVa/wulNcuYMW.7ghaOv5srRyeTjaiNRjkLZO bool(true)
Output for 5.5.33
bool(false) $2y$10$S2Xpxl6WUm3wB9SC3JhVYOIqeV6BT7zwt.7TsOaIuztSNpLNOeT9e bool(true)
Output for 5.5.32
bool(false) $2y$10$1hJusyb122mHAvzc3nlE0ONhkMlYjXJqDdqXrYTxYVHon34SDjBtG bool(true)
Output for 5.5.31
bool(false) $2y$10$PrPgqO.OfofMyHLCQm4ZK.TyExIALoF6Rg83lEPV1PO3PhN23G61a bool(true)
Output for 5.5.30
bool(false) $2y$10$4Qa.CThOKbpsFYKPDoZVb./zNAY.jMF5sFKktSXE5kUain.Oc7Qi. bool(true)
Output for 5.5.29
bool(false) $2y$10$X6RNeUgo6mAq5oDK31hhLO8oS7IvpUcjEafZjnVep0DZYPezqy01W bool(true)
Output for 5.5.28
bool(false) $2y$10$4/hqVWEvTCifEUAn5bHLKO8QPS9eh2S7/WcBJXtocaP8aycJrZqpy bool(true)
Output for 5.5.27
bool(false) $2y$10$wwZm2hDunA8g8.cfBZo6n.i.i2jlfC7flT8FCq3R1Sqs3NLWo4Z7O bool(true)
Output for 5.5.26
bool(false) $2y$10$5C3U9raaJODgdudQR9FzRetOdob7/YSSgIfL.s34M7/z1wNM7AYoO bool(true)
Output for 5.5.25
bool(false) $2y$10$uIV3RYjq56638fE9e.6PE.c5adzCZ9KYZ1ThL2v9QUnEUHypCUrK. bool(true)
Output for 5.5.24
bool(false) $2y$10$xwWWT3obhgZGWre/j17rN.eXcUJABOZ2K4TcZqNmXxiTagZS0gzBu bool(true)
Output for 5.0.0 - 5.4.45
Fatal error: Call to undefined function password_verify() in /in/Ki14I on line 3
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: password_verify() in /in/Ki14I on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: password_verify() in /in/Ki14I on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: password_verify() in /in/Ki14I on line 3