From 4cdbcb57689a10dd4b4a608eecf0a915bd596a44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Mon, 18 Jul 2022 19:37:58 +0200 Subject: [PATCH] Add function parameter example to nowdoc section Resolves #30 --- spec.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/spec.md b/spec.md index 760ca45..41052cd 100644 --- a/spec.md +++ b/spec.md @@ -1276,6 +1276,18 @@ function allowed() compliant heredoc COMPLIANT; + + var_dump( + 'foo', + <<<'COMPLIANT' + This + is + a + compliant + parameter + COMPLIANT, + 'bar', + ); } ```