3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password = '+n6p7y499({)EHqvyKz;Dd'; $salt = str_rev('7cc83d7a873d3eaf761dbe903a21b0d4'); $loop = preg_match('/(\d)/', $salt, $m) ? 10 + (int) $m[1] : 10; $encrypted = $password; for ($i = 0; $i < $loop; $i++) { $encrypted = hash('sha512', ($i % 2) ? ($salt . $encrypted) : ($encrypted . $salt)); } echo $encrypted . PHP_EOL . $salt;
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Call to undefined function str_rev() in /in/BfuHT:3 Stack trace: #0 {main} thrown in /in/BfuHT on line 3
Process exited with code 255.

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