protected function throwUndefinedLabelError() { foreach ($this->ctx->unresolvedGotos as $name => $_) { throw new \RuntimeException("'goto' to undefined label '{$name}'"); } }