PHP » PYTHON |
login |
register |
about
|
|
unicode_set_error_mode(PHP 6 >= 6.0.0) unicode_set_error_mode — Set the error mode for strings conversions Description
bool unicode_set_error_mode
( int $direction
, int $mode
)
This function sets the error mode for string conversions between different encodings. An error can occur during conversion when an illegal character is encountered or if a character cannot be represented into the new encoding. By default, when an error is encountered, the conversion stops. Parameters
Return ValuesReturns TRUE on success or FALSE on failure. Errors/ExceptionsEmits a E_WARNING level error if the direction or the mode are invalid. NotesWarning
This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk. See Also
|
more
Recently updated
more
Most requested
|