3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo crypt('meow', '$2y$05$....................//meow') . PHP_EOL; // salt: ....................// echo crypt('meow', '$2y$05$....................//woof') . PHP_EOL; // salt: ....................// echo crypt('meow', '$2y$05$....................//oink') . PHP_EOL; // salt: ....................// echo $meow = crypt('meow', '$2y$05$..................../meow') . PHP_EOL; // salt: ..................../m echo $woof = crypt('meow', '$2y$05$..................../woof') . PHP_EOL; // salt: ..................../w echo $oink = crypt('meow', '$2y$05$..................../oink') . PHP_EOL; // salt: ..................../o echo $meow = crypt('meow', $meow) . PHP_EOL; // salt: ..................../m echo $woof = crypt('meow', $woof) . PHP_EOL; // salt: ..................../w echo $oink = crypt('meow', $oink) . PHP_EOL; // salt: ..................../o
Output for 5.3.7 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
$2y$05$..................../.0/SFonSqiMg1jG/nWVk278LFl597ZlC $2y$05$..................../.0/SFonSqiMg1jG/nWVk278LFl597ZlC $2y$05$..................../.0/SFonSqiMg1jG/nWVk278LFl597ZlC $2y$05$..................../eZ/qB29TfhKdQOwZTIrLyzBTMYOwupD6 $2y$05$..................../u45Ujx7ViT/dCkbXPqwsVuv407AA/99a $2y$05$..................../eZ/qB29TfhKdQOwZTIrLyzBTMYOwupD6 $2y$05$..................../eZ/qB29TfhKdQOwZTIrLyzBTMYOwupD6 $2y$05$..................../u45Ujx7ViT/dCkbXPqwsVuv407AA/99a $2y$05$..................../eZ/qB29TfhKdQOwZTIrLyzBTMYOwupD6
Output for 5.3.2 - 5.3.6
$2xYy7jBbE1SQ $2xYy7jBbE1SQ $2xYy7jBbE1SQ $2xYy7jBbE1SQ $2xYy7jBbE1SQ $2xYy7jBbE1SQ $2xYy7jBbE1SQ $2xYy7jBbE1SQ $2xYy7jBbE1SQ
Output for 5.3.0 - 5.3.1
$2f9BANAdBqpY $2f9BANAdBqpY $2f9BANAdBqpY $2f9BANAdBqpY $2f9BANAdBqpY $2f9BANAdBqpY $2f9BANAdBqpY $2f9BANAdBqpY $2f9BANAdBqpY
Output for 4.3.0 - 5.0.5, 5.1.1 - 5.2.17

Process exited with code 139.
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/klgKZ on line 13
Process exited with code 255.