Skip to main content

Module util

Module util 

Source

Functions§

format_type_hint
Format a TypeHint as a PHP type string, e.g. ?int, string|null.
offset_to_position
Convert a byte offset into a (line, character) position.