3v4l.org

run code in 300+ PHP versions simultaneously
<?php $item = '1010'; echo base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_128, 1320686422602744, $item, MCRYPT_MODE_ECB));

preferences:
51.63 ms | 402 KiB | 5 Q