3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print strcmp('a','a'); print strcmp('b','a'); print strcmp('ba','a'); print strcmp('ab','a'); print strcmp(1,123);
Output for 4.3.0 - 7.1.0
0111-2