3v4l.org

run code in 300+ PHP versions simultaneously
<?php $nom = str_replace(' ', '-', 'lot test 1 2013-07-09'); $nomCrypte = substr(sha1($nom), 0, 10); echo $nomCrypte;

preferences:
41.25 ms | 402 KiB | 5 Q