[OnePiece5] error_get_last is available in 5.2 or later of PHP version.