3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $t = time(); echo dechex($t).PHP_EOL.base64_encode($t);
Output for 4.3.10 - 4.4.9, 5.0.2 - 7.1.0
51404246 MTM2MzE2NTc2Ng==
Output for 4.3.0 - 4.3.9, 5.0.0 - 5.0.1
Notice: Use of undefined constant PHP_EOL - assumed 'PHP_EOL' in /in/BnAMd on line 3 51404246PHP_EOLMTM2MzE2NTc2Ng==