mirror of
https://github.com/php/frankenphp.git
synced 2026-03-24 00:52:11 +01: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)
|