Bugs & Features
<?php echo preg_replace('/(?=.)/u', '!', 'آرد'); //returns '!�!�!�!�!�!�'
Output for 4.3.0 - 4.3.4, 5.2.9 - 5.5.26, 5.6.0 - 5.6.10, 7.0.0alpha1 - 7.0.0alpha2, hhvm-3.6.1 - 3.9.0
!�!�!�!�!�!�
Output for 5.5.27 - 5.5.28, 5.6.11 - 5.6.12, 7.0.0beta1 - 7.0.0rc1
!آ!ر!د
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.