Skip to content

Compiler: Not-identical and not-equal operators (!=, !==) parity in JIT #211

@PurHur

Description

@PurHur

Problem

#90 tracks mixed-type equality. Web routing also needs reliable !== and != in JIT for guards like if ($_SERVER['REQUEST_METHOD'] !== 'POST').

Goal

Audit and fix TYPE_IDENTICAL / equality negation in JIT; match VM.

Tasks

Acceptance criteria

JIT and VM agree on edge cases (null, false, '', 0).

Files

  • lib/Compiler.php, lib/JIT.php, test/compliance/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions