3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string = '  love@outerbanks.org  '; preg_match('/(\x{c2a0}*)/u', $string, $out); for ($i = 0;$i < strlen($out[1]);$i++) { echo dechex(ord($out[1][$i])).PHP_EOL; } var_dump($out);
based on rePBu
Output for 4.3.3 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
array(2) { [0]=> string(0) "" [1]=> string(0) "" }
Output for 4.3.0 - 4.3.2
Notice: Undefined offset: 1 in /in/n2CRP on line 6 array(0) { }