Bugs & Features
<?php echo preg_replace('/(?=.)/u', '!', 'آرد'); //returns '!�!�!�!�!�!�'
Output for 4.3.0 - 4.3.4, 5.2.9 - 5.6.9, hhvm-3.6.1 - 3.7.0
!�!�!�!�!�!�
Output for 5.2.0 - 5.2.8
Output for 4.3.5 - 5.0.5, 5.1.1 - 5.1.6
!آرد
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/i0V7Z on line 2
Process exited with code 255.