summaryrefslogtreecommitdiff
path: root/tests/broken.php
blob: 1f869b2dda789ca7542fe1e8aed7a83b2656b8a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<?php
/**
 * @var Goridge\RelayInterface $relay
 */

use Spiral\Goridge;
use Spiral\RoadRunner;

$rr = new RoadRunner\Worker($relay);

while ($in = $rr->waitPayload()) {
    echo undefined_function();
    $rr->send((string)$in->body, null);
}