3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = "test"; $y = "test\0anything"; $salt = '$2y$04$sdlkfjsd2lkf4h6zldf35ksj252gh'; var_dump(crypt($x, $salt), crypt($y, $salt));

This is an error 500

Value for `_results` contains invalid data `array`


preferences:
178.79 ms | 3326 KiB | 10 Q