3v4l.org

run code in 300+ PHP versions simultaneously
<?php $lib_lot = 'LOT-1_1'; $nom = str_replace(' ', '-', $lib_lot); echo $nomCrypte = substr(sha1($nom), 0, 10);

preferences:
37.81 ms | 402 KiB | 5 Q