pub const MAX_DEPTH: usize = 4096;
Nesting deeper than this is refused when reading (PHP recurses without a limit and exhausts its stack eventually).