|
Stomp::errorstomp_errorGets the last stomp error BeschreibungObjektorientierter Stil (method):
public string Stomp::error
( void
)
Prozeduraler Stil:
string stomp_error
( resource
$link
)Gets the last stomp error. Parameter-Liste
Rückgabewerte
Returns an error string or Beispiele
Beispiel #1 Objektorientierter Stil
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie: bool(false) string(43) "Invalid transaction id: unknown-transaction"
Beispiel #2 Prozeduraler Stil
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie: bool(false) string(43) "Invalid transaction id: unknown-transaction" |