3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $crap = "\u200e\u206a\u200f\u200e\u202d\u206f\u200c\u206a\u202c\u202b\u200f\u206f\u202b\u206e\u206e\u202b\u206e\u202e\u206c\u202b\u206d\u200e\u202a\u206d\u200b\u206c\u206a\u202e\u206b\u200b\u200f\u200b\u202d\u202d\u206f\u206b\u200c\u206a\u206f\u206b\u202e"; $str = preg_replace('/(\x{200e}|\x{200f})/u', '', $str); echo $str;
based on ZYktb
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.21.3, 7.0.0 - 7.2.6
Notice: Undefined variable: str in /in/sm80n on line 3
Output for hhvm-3.22.0
Notice: Undefined variable: str in /in/sm80n on line -1