3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $foo = "▒▒▒Y#CzdU▒BB▒(ȅi▒](▒▒▒▒W▒dv▒▒6m▒▒▒~▒▒▒{A։9fI΄#`I▒▒Q▒▒▒o▒▒tE▒▒]▒'J▒▒ `▒*q▒▒X}▒▒▒▒)P{▒-hs▒▒Uz▒6▒i▒▒▒J▒I"; preg_match_all('([a-zA-Z0-9]{1})', $foo, $matches); var_dump($matches);
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
array(1) { [0]=> array(34) { [0]=> string(1) "Y" [1]=> string(1) "C" [2]=> string(1) "z" [3]=> string(1) "d" [4]=> string(1) "U" [5]=> string(1) "B" [6]=> string(1) "B" [7]=> string(1) "i" [8]=> string(1) "W" [9]=> string(1) "d" [10]=> string(1) "v" [11]=> string(1) "6" [12]=> string(1) "m" [13]=> string(1) "A" [14]=> string(1) "9" [15]=> string(1) "f" [16]=> string(1) "I" [17]=> string(1) "I" [18]=> string(1) "Q" [19]=> string(1) "o" [20]=> string(1) "t" [21]=> string(1) "E" [22]=> string(1) "J" [23]=> string(1) "q" [24]=> string(1) "X" [25]=> string(1) "P" [26]=> string(1) "h" [27]=> string(1) "s" [28]=> string(1) "U" [29]=> string(1) "z" [30]=> string(1) "6" [31]=> string(1) "i" [32]=> string(1) "J" [33]=> string(1) "I" } }