3v4l.org

run code in 300+ PHP versions simultaneously
<?php function randomPassword() { $currentmonth = date('n') - 1; $alphabet = "abcdefghijklm"; $random_hash = substr(md5(uniqid(rand(), true)), 28, 4); return $random_hash . substr($alphabet, $currentmonth, 1); } echo randomPassword();

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
132.84 ms | 1584 KiB | 16 Q