A PHP internals mailing list thread discussing a Pre-RFC proposal for scalar object methods in PHP, where scalar types like strings and integers could use method-call syntax (e.g., $s->trim()). The proposal author Michal Kral clarifies that dispatch is syntactic and compile-time only, requiring typed locals or literals as receivers — not runtime type inference. Critic Seifeddine Gmati (maintainer of Mago static analyzer) argues the design is too restrictive and inconsistent: identical AST may or may not dispatch depending on file order and surrounding declarations, making it hard to reason about and difficult for static analyzers to model soundly. He also disputes the claim that PHP's .stub.php files are consumed by PHPStan, Psalm, or Mago — each ships its own stubs. The debate centers on whether compile-time-only dispatch with typed locals is a workable tradeoff or an unacceptable inconsistency compared to full runtime dispatch as in Nikita's scalar_objects extension.