3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $y='0123456789'; $opciones = [ 'cost' => 12, ]; $y=password_hash($y, PASSWORD_DEFAULT, $opciones); if(password_verify($y,'$2y$12$xhNh4bvaZHSB9WxhReUdl.rrlVb1vx3UrnpT0B8VziIjD1Lpm102O')){ echo 'si'; } echo $y;
based on b1oZQ
Output for 7.1.0
$2y$12$/37pyjHOXYS.ykTi61wrmOu0Rwk2QHS9uhgJSC2QShERHQaEChdwu
Output for 7.0.14
$2y$12$8og5lsFvxmkA3cOVZ77HH.qydZK0Cijl69XN0Bu3X.A6ja2QXahna
Output for 7.0.6
$2y$12$WGyxuhEH1DPE3LGLUg8Yhekp2cjnxc8FqcFiYPzJhMIllOK2rZsw.
Output for 7.0.5
$2y$12$6vHR.6VQErSYyIHX4K4T7.U7wej6KISE31xLu0M3hF06LY.8iS.tK
Output for 7.0.4
$2y$12$WOkYtc5DBt6S9WnyuVyCe.GMmtX1ukk1udUMIYTNMOsvhJk0uiE3O
Output for 7.0.3
$2y$12$Q4VL35APKMNKrtYJod4qDOHFua8Xtp2y53rQAMYTEqnF/yxPoldqW
Output for 7.0.2
$2y$12$5foN81AL3LVSxr2dxVM.0.c8IHWDP7EX94dyiWWXtfLiONRwhesya
Output for 7.0.1
$2y$12$uK7eb7SV54p9i9.Ij5tn5OqBrMCzd3T8/cQGXcryfFin2CNQ/Lk1y
Output for 7.0.0
$2y$12$pkua04CUe4lgbwUst21yYOM5.a30.jpGCHM8qnwBxW2hRBtwNSC4K
Output for hhvm-3.12.0
$2y$12$fDEbnQC7YBU38QSt5CS11uT8IlQLDTIC8wZwgGIrET7LuW9b9WjRm
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.28
$2y$12$4BYGCCbRbq46F9MUgCxVg.xW88GzS2g58xp5lJHFVO0IbuokIw.Mi
Output for 5.6.21
$2y$12$bilBFUXQiU9/PCT8H9AOceCn370opAoydM571/OSiWBPXtYpUY4M2
Output for 5.6.20
$2y$12$LBQvOLQr6mNa1vNiywH9nurHR4jONBjBM0fNmmOMPDc3gK9wLZH2C
Output for 5.6.19
$2y$12$xU2LqtCfhC7NN1YX4EfXvuJhHw94Z9QvqvEwClJNwPCUL/n1HrvcG
Output for 5.6.18
$2y$12$zdBKsmEzA8AWGRBukuyHm.bDwibZqcw.ED9yYGt1bdSg.X9y4HZqW
Output for 5.6.17
$2y$12$IZGJCt3Lts9hQuuFtSBkn.ZdYzSu6wbEoZNu3eXqPhyiIXuOPMZHe
Output for 5.6.16
$2y$12$2cL5nHAHquEUZSnpq7mRBOyj8PoWWknlTvtt9g0pseRTxzjrK26Wi
Output for 5.6.15
$2y$12$gqN41nSdkcEzgS5/Hk4bYudVucfOwOJYPL0ID7J0PoFbg7E7.EoXe
Output for 5.6.14
$2y$12$s5Utm7ISxy4JTF6XGW6XdOxM91CQe6MnG7rwP8Q70bldLxpdjm7p.
Output for 5.6.13
$2y$12$Y3Wed/NypyHjRVK3cidI5eihAZyki3EYSK3libEy6XUikRjbNB0AC
Output for 5.6.12
$2y$12$CScpW.Hmv4qAaAm3RFx24em7pnCSRxYToDPm0oryr2KqvtVSHbGAC
Output for 5.6.11
$2y$12$S82W2AC.V6J00RM3UmCtDON1FnSEFkITgqZiqo/JACYEotm4gkUDK
Output for 5.6.10
$2y$12$EKd0g5K8u2.VZf0k7/vASOWymogQb2dP4ikvKckU51L6FeS8oE0P2
Output for 5.6.9
$2y$12$SaaD5p02LVn5GgjeOJ6dO.Y8ix3ZTeI8GDIYjdqlJT/uqzIJB41jq
Output for 5.6.8
$2y$12$r8cpEPIR6cK/N90e6MIyK.YzDfP3gP1jFp4rkGftKlndsnTuGJpti
Output for 5.5.35
$2y$12$s7lGWPYWLJpEVIyte1WFBu3H7bic54fdVArE.LMTBCXX1vBvFu6KK
Output for 5.5.34
$2y$12$8hcUIF8u6XOLGx3azvS8VOiYqtGtDAcILAwrBrOby.0soQKNWwjZe
Output for 5.5.33
$2y$12$jzsiUp9A5nrk1O0WZIk.BeJsFzQ6NEvDhHuj7tYjqdyZmptPOA2lm
Output for 5.5.32
$2y$12$HVGuaEJmbqR5097dkqHjA.c28ZljyF4O0AX0nvSOfIrzxFd/sdw/e
Output for 5.5.31
$2y$12$FqHhGl/aqGlcmIclTZjDUOHOi2CBKay/dTfgCsJV5O7VAHLksNXcO
Output for 5.5.30
$2y$12$hMaHizua4mww2xAsGe3iKuhxNdEqZyUXFVUhicKH0XOKZsMzEPTEu
Output for 5.5.29
$2y$12$8UzxJ/1fOUbkxtbA0y3N6OWwYBxqeKTICTToD.pfFpKXuXOMNbBgi
Output for 5.5.28
$2y$12$8wuh8m8KHp3Miz4M2XQybu.o3nEWt45quqKbQjr2.zdUmL18Vhjri
Output for 5.5.27
$2y$12$pfQH0Y1buP7ASyszm3sXSOFy3Dtx.JQe2OrarrWc7pTwEKLYgijVu
Output for 5.5.26
$2y$12$6.LCkFW.FDI4HWDRJhhFm.sD6XJAFhkIoxLjaf3PL89W5DlgfcGY.
Output for 5.5.25
$2y$12$B3wcHIxNKCba5pW0DY9E7.c4uJX3sCjM1dx6YJdKe2cVQPM40W17O
Output for 5.5.24
$2y$12$BRZ9Hy/.wXivJDiIVC7iXeu7XhMvZfMHVpiO6n83psE/6LrrBOUk6
Output for 5.4.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/HonGl on line 6
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/HonGl on line 3
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/HonGl on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/HonGl on line 3
Process exited with code 255.