B Production-ready · version 7.1.6
sebastian/comparator 7.1.6 is a PHP package released under the BSD-3-Clause license and requires PHP >=8.3. Pext migrates it to TypeScript; on Node.js, 361 of 377 PHPUnit tests pass (95.7%), with 15 failures and 1 error. It depends on 2 tracked packages (weakest tier: Runtime-assisted), and 1 tracked package depends on it.
Provides the functionality to compare PHP values for equality
95.7% of 377 tests passing (361 passed, 15 failed, 1 errors, 0 skipped). Verified 2026-10-23.
The 3 test classes with the most failing tests on Node.js:
| Test class | Failing tests |
|---|---|
| DOMNodeComparatorTest | 13 |
| ClosureComparatorTest | 2 |
| NumberComparatorTest | 1 |
Passes at least 80% of its original tests and behaves like the PHP original on the paths that matter. Remaining gaps are tracked.
As declared in the package's Composer metadata. Pext provides PHP extensions through its runtime modules.
Weakest dependency: C Runtime-assisted
See how Pext migrates a real PHP application, its Composer dependencies and its test suite to TypeScript.