3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(strcmp("🍺", "🍣")); var_dump(strcmp("🍣", "🍺")); var_dump(strlen("🍣")); var_dump(strlen("🍺"));
based on R9Ule
Output for 7.1.25 - 7.3.2
int(5888) int(-5888) int(4) int(4)