Forum und email

unicode_get_error_mode

(No version information available, might be only in CVS)

unicode_get_error_mode — Get the error mode for strings conversions

說明

int unicode_get_error_mode ( int $direction )

Return the current error mode for string conversions in direction .

參數

direction

Get the error mode for conversion direction . This can either be FROM_UNICODE or TO_UNICODE. See unicode_set_error_mode() for more details.

Return值

This function returns one of the error mode constants or FALSE on failure.

錯誤/例外

Emits a E_WARNING level error if direction is invalid.

註釋

Warning

本函式是實驗性的。這個函式的行為、名稱、和關於此函式的任何其他文件在未來PHP的發行中可能會在不通知的情況下改變。 使用此函式需自行承擔風險。