← All docs

date_get_last_errors()

Returns the warnings and errors from the last date parse.

date_get_last_errors()

function date_get_last_errors(): mixed

Returns the warnings and errors from the last date parse.

Parameters: none.

Returns: mixed

Availability

  • Compiled (AOT): supported through the Elephc compiler.
  • eval() (magician interpreter): supported through the procedural date/time alias dispatcher.

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

For how date_get_last_errors is implemented in the compiler, see the internals page.