Skip to content

Commit 2bbca53

Browse files
committed
feat: add general test fixture, update HTTP server & FastCGI tests, format PHP stack trace on HTTP 500
1 parent 8ae6205 commit 2bbca53

35 files changed

Lines changed: 850 additions & 284 deletions

‎index.d.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export { PHPEngine, PHPEngineOptions } from "./src/PHPEngine";
22
export { PHPContext, PHPContextOptions } from "./src/PHPContext";
33
export { PHPExtension } from "./src/PHPExtension";
4-
export { PHPError, PHPException, PHPTypeError, PHPParseError, PHPFatalError, PHPNotice, PHPWarning, ErrorException, } from "./src/runtime/errors/PHPError";
4+
export { PHPError, PHPException, PHPTypeError, PHPParseError, PHPFatalError, PHPNotice, PHPWarning, PHPExit, ErrorException, } from "./src/runtime/errors/PHPError";
55
export { PHPObject, PHPClass, PHPMethodMetadata, PHPPropertyMetadata, PHPParameterMetadata } from "./src/runtime/objects/PHPObject";
66
export { Superglobals } from "./src/runtime/superglobals/Superglobals";
77
export { OutputBufferStack } from "./src/runtime/output/OutputBuffer";

‎index.js‎

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎index.js.map‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎index.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export {
99
PHPFatalError,
1010
PHPNotice,
1111
PHPWarning,
12+
PHPExit,
1213
ErrorException,
1314
} from "./src/runtime/errors/PHPError";
1415
export { PHPObject, PHPClass, PHPMethodMetadata, PHPPropertyMetadata, PHPParameterMetadata } from "./src/runtime/objects/PHPObject";

‎src/PHPContext.js‎

Lines changed: 19 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)