3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $var = 'status=200&username=14109FE1EDB7,BCF5ACBBA80F,F04F7C24B714'; $arr = explode(',', preg_filter('/status=200&username=/', '', $var)); print_r($arr);
Output for 5.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Array ( [0] => 14109FE1EDB7 [1] => BCF5ACBBA80F [2] => F04F7C24B714 )
Output for 5.2.3 - 5.2.17
Fatal error: Call to undefined function preg_filter() in /in/kKpVN on line 4
Process exited with code 255.
Output for 5.0.0 - 5.2.2
<br /> <b>Fatal error</b>: Call to undefined function preg_filter() in <b>/in/kKpVN</b> on line <b>4</b><br />
Process exited with code 255.
Output for 4.4.5 - 4.4.9
<br /> <b>Fatal error</b>: Call to undefined function: preg_filter() in <b>/in/kKpVN</b> on line <b>4</b><br />
Process exited with code 255.
Output for 4.3.2 - 4.4.4
<br /> <b>Fatal error</b>: Call to undefined function: preg_filter() in <b>/in/kKpVN</b> on line <b>4</b><br />
Process exited with code 255.
Output for 4.3.0 - 4.3.1
<br /> <b>Fatal error</b>: Call to undefined function: preg_filter() in <b>/in/kKpVN</b> on line <b>4</b><br />