IntlCalendar::getErrorMessage

creationdev

Documentation

Formation référencement web
Formation référencement web

100$ CAD

Référencement web optimisé
Référencement web optimisé

500$ CAD

Conception web extra
Conception web extra

5000$ CAD

Conception d'application web
Conception d'application web

100$ CAD

Conception web microsite
Conception web microsite

1000$ CAD

Conception web standard
Conception web standard

2500$ CAD

Référencement web organique
Référencement web organique

300$ CAD

Conception web ecommerce
Conception web ecommerce

2500$ CAD

Référencement web stratégique
Référencement web stratégique

1000$ CAD

Référencement web expert
Référencement web expert

750$ CAD

Méthode

Méthode

IntlCalendar::getErrorMessage

IntlCalendar::getErrorMessage

Page Vue 26 déc. 2018
Page Vue 15 fois

(PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1)

IntlCalendar::getErrorMessage -- intlcal_get_error_message — Get last error message on the object

Description

Style orienté objet (method):

public IntlCalendar::getErrorMessage(): string|false

Style procédural:

intlcal_get_error_message(IntlCalendar $calendar): string|false

Returns the error message (if any) associated with the error reported by IntlCalendar::getErrorCode() or intlcal_get_error_code(). If there is no associated error message, only the string representation of the name of the error constant will be returned. Otherwise, the message also includes a message set on the side of the PHP binding.

Liste de paramètres

calendar

The calendar object, on the procedural style interface.

Valeurs de retour

The error message associated with last error that occurred in a function call on this object, or a string indicating the non-existence of an error. Returns false on failure.

Exemples

Exemple #1 IntlCalendar::getErrorMessage()

<?php
$cal = IntlCalendar::createInstance('UTC', 'en_US');
var_dump($cal->getErrorMessage());

$cal->getWeekendTransition(IntlCalendar::DOW_WEDNESDAY);
var_dump($cal->getErrorMessage());

L'exemple ci-dessus va afficher :

string(12) "U_ZERO_ERROR"
string(82) "intlcal_get_weekend_transition: Error calling ICU method: U_ILLEGAL_ARGUMENT_ERROR"


Source : http://www.php.net/
Ref : methode-intlcalendar::geterrormessage.php




Contact

Contact

Veuillez saisir les infos dans le formulaire d'identification
suivant pour concevoir et référencer votre site.









Veuillez saisir votre message.

Carte d'affaires

Affichage de la carte d'affaires recto/verso.

Carte d'affaires recto
Carte d'affaires verso

Partagez

Partagez

Discussion ayant comme sujet la page IntlCalendar::getErrorMessage.

©2025 creationdev -  F.A.Q. -  Soutien -  Haut de page
THÈMES: