mirror of
https://github.com/dunglas/frankenphp.git
synced 2025-12-24 13:38:11 +08:00
This PR: - moves state.go to its own module - moves the phpheaders test the phpheaders module - simplifies backoff.go - makes the backoff error instead of panic (so it can be tested) - removes some unused C structs
8 lines
179 B
PHP
8 lines
179 B
PHP
<?php
|
|
|
|
if (rand(1, 100) <= 50) {
|
|
throw new Exception('this exception is expected to fail the worker');
|
|
}
|
|
|
|
// frankenphp_handle_request() has not been reached (also a failure)
|