3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = md5('QNKCDZO'); $b = md5('QNKCDZO'); var_dump(md5('QNKCDZO') == md5('QNKCDZO')); // should true because same content var_dump(md5('QNKCDZO') === md5('QNKCDZO')); // should true because not same variable / ram var_dump($a == $b); // should true because same content var_dump($a === $b); // should false because not same variable / ram
Output for 4.3.0 - 5.0.5, 5.1.1 - 7.2.0
bool(true) bool(true) bool(true) bool(true)
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/bP1UN on line 9
Process exited with code 255.