--TEST-- preg_replace() and invalid UTF8 offset --SKIPIF-- --FILE-- --EXPECT-- bool(false) array(0) { } bool(true) int(1) array(1) { [0]=> string(28) " uma string utf8 bem formada" } bool(true) Done