Migrate phan/var_representation_polyfill to TypeScript

D Converted · version 0.1.4

phan/var_representation_polyfill 0.1.4 is a PHP package released under the MIT license and requires PHP ^7.2.0|^8.0.0. Pext migrates it to TypeScript; its PHPUnit suite has not been run against the TypeScript output yet. It has no tracked dependencies, and 1 tracked package depends on it.

Polyfill for var_representation: convert a variable to a string in a way that fixes the shortcomings of var_export

ConvertsYes
Runs on Node.jsNot yet run
Runs on BunNot yet measured
TypeScript typesNot emitted

PHPUnit results on Node.js

The original PHPUnit suite has not been run against the TypeScript output yet. This page will update once it has.

What “Converted” means

Converts cleanly to TypeScript. Test verification is pending or still climbing.

Requirements

PHP
^7.2.0|^8.0.0
Extensions
tokenizer

As declared in the package's Composer metadata. Pext provides PHP extensions through its runtime modules.

Dependencies

No tracked dependencies.

Used by

More from phan

Upstream

Version
0.1.4
License
MIT
Keywords
var_export, var_representation

Migrating a codebase that uses phan/var_representation_polyfill?

See how Pext migrates a real PHP application, its Composer dependencies and its test suite to TypeScript.