3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = [ 'test_with_/_inside', 'test_with_#_inside', 'test_with_._inside', 'test_with_,_inside', 'test_with_!_inside', 'test_with_$_inside', ]; foreach ($arr as $string) { echo urlencode($string) . "\n"; }

preferences:
63.65 ms | 402 KiB | 5 Q