3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = date('YmdHi'); $b = 'secret'; $bb = sha1($b); $bc = preg_replace('#[^0-9]#u', '', $bb); $bd = (int)$bc - (int)$a; $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 $bd . PHP_EOL; echo $c . PHP_EOL; echo $d . PHP_EOL; echo $e . PHP_EOL;
Output for git.master, git.master_jit, rfc.property-hooks
201312140116 secret e5e9fa1ba31ecd1ae84f75caaa474f3a663f05f4 59131184754743663054 9223371835542635691 secret|201312140116 c2VjcmV0fDIwMTMxMjE0MDExNg== secret|201312140116

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:
44.32 ms | 401 KiB | 8 Q