3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = date('YmdHis'); $b = 'secret'; $bb = sha1($b); $bc = preg_replace('#[^0-9]#u', '', $bb); $c = "{$b}|{$a}"; $d = base64_encode($c); $e = base64_decode($d); echo $a . PHP_EOL; echo $b . PHP_EOL; echo $bb . PHP_EOL; echo $bc . PHP_EOL; echo $c . PHP_EOL; echo $d . PHP_EOL; echo $e . PHP_EOL;
Output for git.master, git.master_jit, rfc.property-hooks
20131214011448 secret e5e9fa1ba31ecd1ae84f75caaa474f3a663f05f4 59131184754743663054 secret|20131214011448 c2VjcmV0fDIwMTMxMjE0MDExNDQ4 secret|20131214011448

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
45.98 ms | 401 KiB | 8 Q