3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo urlencode('-PT0001-' . substr( sha1( '95.233.99.216' . 80, true ), 0, 20 ));
based on bdT6d
Output for 5.0.0 - 7.3.0rc3
-PT0001-%0FJ%E5.-R%09%BA%C3%5BtIX%D1%80%25%095%AB%21
Output for 4.3.0 - 4.4.9
Warning: Wrong parameter count for sha1() in /in/iuBdJ on line 3 -PT0001-