summaryrefslogtreecommitdiff
path: root/tests/broken.php
blob: b1a3839e0bd809ab1cb4a0c112fb8b28c4f70d08 (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);
}