3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = 'f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2'; $string = filter_var($string, FILTER_SANATIZE_STRING); echo $string;
Output for 7.2.0
Warning: Use of undefined constant FILTER_SANATIZE_STRING - assumed 'FILTER_SANATIZE_STRING' (this will throw an Error in a future version of PHP) in /in/emMZ3 on line 3 Warning: filter_var() expects parameter 2 to be integer, string given in /in/emMZ3 on line 3
Output for 7.0.0 - 7.1.10
Notice: Use of undefined constant FILTER_SANATIZE_STRING - assumed 'FILTER_SANATIZE_STRING' in /in/emMZ3 on line 3 Warning: filter_var() expects parameter 2 to be integer, string given in /in/emMZ3 on line 3
Output for 5.3.19 - 5.6.28
Notice: Use of undefined constant FILTER_SANATIZE_STRING - assumed 'FILTER_SANATIZE_STRING' in /in/emMZ3 on line 3 Warning: filter_var() expects parameter 2 to be long, string given in /in/emMZ3 on line 3