@php-wasm/universalFunctionsisLegacyPHPVersionisLegacyPHPVersion CallableisLegacyPHPVersion(version: string): version is 5.2Type guard for legacy PHP versions. Lets callers narrow a string to LegacyPHPVersion without the as readonly string[] cast that would otherwise be required to satisfy Array.prototype.includes.Parametersversion: stringReturns version is 5.2
Type guard for legacy PHP versions. Lets callers narrow a string to
LegacyPHPVersionwithout theas readonly string[]cast that would otherwise be required to satisfyArray.prototype.includes.