3v4l.org

run code in 300+ PHP versions simultaneously
<?php function md5Reverse($hash) : Generator { $stringGenerator = stringGenerator(); foreach($stringGenerator as $string) { if(md5($string) === $hash){ yield $string; } } } function stringGenerator(): Generator { $state = ''; yield $state; } echo md5(''); var_dump(md5Reverse('d41d8cd98f00b204e9800998ecf8427e'));

preferences:
46.88 ms | 402 KiB | 5 Q