summaryrefslogtreecommitdiff
path: root/php/tests/broken.php
diff options
context:
space:
mode:
Diffstat (limited to 'php/tests/broken.php')
-rw-r--r--php/tests/broken.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/php/tests/broken.php b/php/tests/broken.php
new file mode 100644
index 00000000..b1a3839e
--- /dev/null
+++ b/php/tests/broken.php
@@ -0,0 +1,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);
+} \ No newline at end of file