3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a= hash('md5','ryat',1); $a = 'ryat'."{$a}"; var_dump($a);
Output for 5.1.2 - 5.3.28, 5.4.0 - 5.4.26, 5.4.34 - 7.1.7
string(20) "ryat,��d^ ��Ϡ���"
Output for 5.4.32
string(20) "ryat,��d^ ��Ϡ��5.4.32�"
Output for 5.4.31
string(20) "ryat,��d^ ��Ϡ��5.4.31�"
Output for 5.4.30
string(20) "ryat,��d^ ��Ϡ��5.4.30�"
Output for 5.4.29
string(20) "ryat,��d^ ��Ϡ��5.4.29�"
Output for 5.4.28
string(20) "ryat,��d^ ��Ϡ��5.4.28�"
Output for 5.4.27
string(20) "ryat,��d^ ��Ϡ��5.4.27�"
Output for 5.3.29
string(20) "ryat,��d^ ��Ϡ��5.3.29�"
Output for 5.0.0 - 5.1.1
Fatal error: Call to undefined function hash() in /in/FQtbX on line 2
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: hash() in /in/FQtbX on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: hash() in /in/FQtbX on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: hash() in /in/FQtbX on line 2