3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo bin2hex(mcrypt_encrypt(MCRYPT_DES, "12345678", "encrypt this", MCRYPT_MODE_ECB));

preferences:
25.26 ms | 404 KiB | 5 Q