3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(inet_pton('90.39.213.82')); var_dump(str_replace('\\', '\\\\', str_replace('\'', '\\\'', inet_pton('90.39.213.82'))));
based on OGXI6
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.3.0beta1
string(4) "Z'�R" string(6) "Z\\'�R"