3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $data = array( 'key1' => 'val1', 'key2' => 'Äèöüß' ); var_dump(filter_var_array($data,FILTER_SANITIZE_FULL_SPECIAL_CHARS));
based on pUAUL
Output for 5.6.7 - 5.6.28, 7.0.0 - 7.1.0
array(2) { ["key1"]=> string(4) "val1" ["key2"]=> string(33) "&Auml;&egrave;&ouml;&uuml;&szlig;" }
Output for 5.3.3 - 5.4.17, hhvm-3.12.0
array(2) { ["key1"]=> string(4) "val1" ["key2"]=> string(10) "Äèöüß" }
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.4.18 - 5.5.35
array(2) { ["key1"]=> string(4) "val1" ["key2"]=> string(61) "&Atilde;�&Atilde;&uml;&Atilde;&para;&Atilde;&frac14;&Atilde;�" }
Output for 5.2.0 - 5.3.2
Notice: Use of undefined constant FILTER_SANITIZE_FULL_SPECIAL_CHARS - assumed 'FILTER_SANITIZE_FULL_SPECIAL_CHARS' in /in/7eF8K on line 10 bool(false)
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function filter_var_array() in /in/7eF8K on line 10
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: filter_var_array() in /in/7eF8K on line 10
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: filter_var_array() in /in/7eF8K on line 10
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: filter_var_array() in /in/7eF8K on line 10