We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8273cf commit 539ed04Copy full SHA for 539ed04
src/parse.ts
@@ -98,7 +98,7 @@ export namespace PHPTypes {
98
export class PHPReference extends makeRegExpClass( /^[Rr]:([^;]+);/, input => parseInt( input ) ) { }
99
100
export type PHPBooleanIdentifier = 'b';
101
- export class PHPBoolean extends makeRegExpClass( /^b:([01]);/, input => globalThis.Boolean( parseInt( input ) ) ) { }
+ export class PHPBoolean extends makeRegExpClass( /^b:([01]);/, input => Boolean( parseInt( input ) ) ) { }
102
103
export type PHPFloatIdentifier = 'd';
104
export class PHPFloat extends makeRegExpClass( /^d:([^;]+);/, input => parseFloat( input.replace( 'INF', 'Infinity' ) ) ) { }
0 commit comments