3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = 'asd' . chr(0x20) . ' ' . chr(0x19) . chr(0x00) . 'df'; var_dump($str); $str = preg_replace('/[x00-x19]/', '', $str); var_dump($str);
Output for 4.3.0 - 7.1.0
string(10) "asd df" string(5) " "