summaryrefslogtreecommitdiff
path: root/tests/broken.php
blob: 42b4e7c2d07f6749935f221ab872f2648cbd27b1 (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->receive($ctx)) {
    echo undefined_function();
    $rr->send((string)$in);
}