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

Description

int unicode_get_error_mode ( int $direction )

Return the current error mode for string conversions in direction .

Parameters

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 Values

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

Errors/Exceptions

Emits a E_WARNING level error if direction is invalid.

Notes

Warning

Den här funktionen är EXPERIMENTELL. Dess beteende, namnet på den, och allt annat dokumenterat om den här funktionen kan ändras i framtida utgåvar av PHP. Använd den på egen risk.