Skip to content

Commit cc46f68

Browse files
committed
Adding test case for JSON heredoc support added by Ben Alman
1 parent 6f0f94d commit cc46f68

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Tests/test-cases.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,6 +415,10 @@ public function __construct(namespace\MyClass $myClass) {
415415
}
416416
CSS;
417417

418+
$blah =<<<JSON
419+
{ "blah": { "foo": 123, "bar": 321 } }
420+
JSON;
421+
418422
require 'foo';
419423
require_once 'blah';
420424
include 'lkajsdf';

0 commit comments

Comments
 (0)