while (FALSE !== ($ch= fgetc($handle))) { //check for the sign of 2-byte cyrillic letters if (empty($mbch) && (FALSE !== array_search(ord($ch), Array(208,209,129)...
Thefgetc() function may fail if: [ENOMEM] [CX] Insufficient storage space is available. [ENXIO] [CX] A request was made of a nonexistent device, or the request wa...