Parser (parse, incremental reparse from lutra_text edits), outline with UTF-16 ranges and short signatures, folding ranges, 8 MiB parse cap. Snapshot tests for five PHP 8.3 fixtures, proptests (random bytes, reparse equals fresh parse, undo round trip), ignored release timing test. Docs: architecture Syntax section, parity evidence, G4 note. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
28 lines
286 B
PHP
28 lines
286 B
PHP
<?php
|
|
|
|
namespace Broken;
|
|
|
|
class Complete
|
|
{
|
|
public function ok(): bool
|
|
{
|
|
return true;
|
|
}
|
|
}
|
|
|
|
class Half extends
|
|
{
|
|
public function first(int $a
|
|
|
|
public function second(): void
|
|
{
|
|
if ($x {
|
|
}
|
|
}
|
|
|
|
function after_errors(): int
|
|
{
|
|
return 1;
|
|
}
|
|
|
|
class
|