Skip to content

Stdlib: strspn() and strcspn() VM + LLVM JIT/AOT #589

@PurHur

Description

@PurHur

Problem

strspn / strcspn are referenced in php-types patches but missing from ext/standard/Module.php.

Goal

Two-argument subset on VM and JIT/AOT via libc strspn(3) / strcspn(3) (no Zend wrappers).

Acceptance criteria

  • Compliance PHPT for both functions
  • AOT fixture PHPT
  • PHPUnit smoke (VM + AOT)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions