3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo password_hash(123,1);
Output for 7.1.0
$2y$10$Y2BtUUW0j1qKhL/lwupiHuNu.rmqxUh.Z0cS04uW.wJMQK0AURzrC
Output for 7.0.14
$2y$10$Yh9O85P62sxrCkfo/d1IN.LK2kiZvrjmKfi/XxGqiUmATwa4mmKsK
Output for 7.0.6
$2y$10$hXrczfQcukW5P.MIx1GMFevyxpsLn2AbkbhAK61rQMs8mX1wdOQxe
Output for 7.0.5
$2y$10$IQoR7hVUB2V2TMx8gIBWCevw0G2nxPHL62wrfTCuFXD5BDs3iOPSm
Output for 7.0.4
$2y$10$qADlZ1mpmVr4P2ZIKMxP4e1TZNPy0KudldC.3tS4bkWPEnwhcK/vW
Output for 7.0.3
$2y$10$HmzX.0g1VSMy0lWBJQ/UouxFICsOv8iTZ0mqUKrk4iHOFbr3K7ENy
Output for 7.0.2
$2y$10$H9f19YS4uhy1wxFpiENv3Oc.o6iK7/.HqU2KeZbSEmqbI1Yevteum
Output for 7.0.1
$2y$10$QVkRph77s8/ySGPYEEbqgOxukhYe764U1/sCWCa8wzWkfVN6KZMt2
Output for 7.0.0
$2y$10$tOAUjiP5OcxLfIGG.5PHvez1ZCwrh8SkLgXWcz6yV.AR41j1BbRdu
Output for hhvm-3.10.0 - 3.12.0
Catchable fatal error: Argument 1 to password_hash() must be of type ?string, int given in /in/TRNAV on line 2
Process exited with code 255.
Output for 5.6.28
$2y$10$C/syBqJj8lCWD/4W3P/lqO.nlNJ/Eg/G3uzM/.9MwWKUMOoj8rL3G
Output for 5.6.21
$2y$10$p9VczsUBy26jlHxOmrW3EON1vtl9GSNjBoE2dExNh4BWl2qsMHlWK
Output for 5.6.20
$2y$10$PZ5oRDgkovk53eEpL7G38.U1fXpkIS.fWK8qXcrzetc93I313H8Au
Output for 5.6.19
$2y$10$3U50QVii3/h0egCsMLqbBu1dY0VPy4ZKZm0KJN65Ka4UsXjGUCNsu
Output for 5.6.18
$2y$10$SmUwxlfN5NC1ksM/jqDBweramTF51rJ/XDVP6t5FJV.MZRs3jdpM6
Output for 5.6.17
$2y$10$pRXCbqPIb3l4PLS6Pmxky.zNjdw3j73RMDjWQwVbcPN.I3wOWRywm
Output for 5.6.16
$2y$10$udC2fzGZSP1AiQ7NQ7nU6OSSPrN7T1r2Yi0KfaGzudxtUr3c4EsOe
Output for 5.6.15
$2y$10$LwMl0pQSegB9oFcMzuMbmu8oDU4KheUDaTrXCYDCc7/0SqAiCNrfC
Output for 5.6.14
$2y$10$RMN8eS.YQa2qNAjNunQ0MuuV27g161hWtYyL.OGAoxvoEEXmqSFmS
Output for 5.6.13
$2y$10$Pf.Jonwvk/WrEyhfkAd4T.SEabTvAs.EBJCpd4RkFsDfnq6k9H0xq
Output for 5.6.12
$2y$10$ddiVq6XIOymWWYWLFMMCyOBAFclegxCV1OCySxPzOqc7lY7k79mBe
Output for 5.6.11
$2y$10$TcJVwuPR0QxcUxNELe7InepUfFJVDaSz1SZqCCo7xMt7zXxPL8h2y
Output for 5.6.10
$2y$10$JKrzFVFg3PUbRb/nRtOJtuxIMRqvyfcvh6Gj8u1YWYBPJHmgRUkPC
Output for 5.6.9
$2y$10$wCRRel/tfrVTAuvhet3cBOgwBp//kzp6Rfnur/qxIu7Yw7SWUmqjC
Output for 5.6.8
$2y$10$POq8ZUZAzvfe3foTy897dOEgMYeJYnUB/1cCPf9Z0qnzms/U0zD3S
Output for 5.6.7
$2y$10$hBdXodpjQzMiMIbsUrFOv.gSXNtJvfQt1Mxed/RZ6xu5vLuIAjA9W
Output for 5.5.35
$2y$10$rzM4WzAVtBw19ntO1/1fNuLKwEmZXyxAFFyCsne8mgnFRh0qEUkQ6
Output for 5.5.34
$2y$10$tz7bzW9gM5pXEVIOxgVXCuVle9qK3MTDa/0YRCGLp65ZrAGJsKnxS
Output for 5.5.33
$2y$10$VPPcf8g9VFXfX.j5zdnEb.mulTxnZ.jAffynolWGdM2MLvmk6yHuC
Output for 5.5.32
$2y$10$LApgQ8/3LexkJxi1RrZg..OqG3hZ1wlwC/1QJzrXlV8FSzHx5da0S
Output for 5.5.31
$2y$10$CqdAvKKfYvr2DkXq0fq7v.zvnuE8n3XDXEjIfNDfWKEbBQG35rVLi
Output for 5.5.30
$2y$10$eusPvXjtFcvb1dONh6Db6uL50d6y8sjwUiVwIAiPnLSwfxGtKqHhC
Output for 5.5.29
$2y$10$9IgU9FWwZs0ub8uP0kKYt.3s7buCnhzLu.PlcFft4i7/m3LjxCu2m
Output for 5.5.28
$2y$10$JiPVloLmLYatoMqNXaysIeanyM2xXS1DYAMgnv8Qvz.58pKvL/giK
Output for 5.5.27
$2y$10$MMsmug3yVbzY7lgHYxLNAOYl1Dhy.gLSB2k8QA5P4NAROnTyHSI1a
Output for 5.5.26
$2y$10$NMSaenUk02.vzyWeRU8iRuPubAE0AyhqsRDFs59mNx.0AwtzggmBO
Output for 5.5.25
$2y$10$Fa6hYtxYLq8NQKkUS2e2eeBdyMLGywGgFO8/y6lNFMOvBP2jCV4Ue
Output for 5.5.24
$2y$10$1zDCYZ1gzULcxCyiDsdIJued2o1H9/aSE4JyZICCXKN6Z1wyKXyLS
Output for 5.0.0 - 5.4.45
Fatal error: Call to undefined function password_hash() in /in/TRNAV on line 2
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: password_hash() in /in/TRNAV on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: password_hash() in /in/TRNAV on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: password_hash() in /in/TRNAV on line 2