3v4l.org

run code in 300+ PHP versions simultaneously
<?php $salt = hash('sha256', uniqid(mt_rand(), true) . 'ooga boogaadmin'); $hash = $salt . 'abcd'; echp "salt: $salt\nhash: $hash";
Output for 5.3.0 - 5.3.27, 5.4.0 - 5.4.21
Parse error: syntax error, unexpected '"' in /in/eIO6T on line 4
Process exited with code 255.

preferences:
175.94 ms | 1395 KiB | 57 Q