← All docs
date_interval_create_from_date_string()
Rewritten by the name resolver into a constructor or method call on the corresponding builtin class before type checking.
date_interval_create_from_date_string()
function date_interval_create_from_date_string(string $datetime): mixed
Rewritten by the name resolver into a constructor or method call on the corresponding builtin class before type checking.
Parameters:
$datetime(string)
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_interval_create_from_date_string is implemented in the compiler, see the internals page.