PHP Classes

File: vendor/nikic/php-parser/test/code/prettyPrinter/expr/docStrings.test

Recommend this page to a friend!
  Packages of Abed Nego Ragil Putra   Laravel Blogging Platform   vendor/nikic/php-parser/test/code/prettyPrinter/expr/docStrings.test   Download  
File: vendor/nikic/php-parser/test/code/prettyPrinter/expr/docStrings.test
Role: Example script
Content type: text/plain
Description: Example script
Class: Laravel Blogging Platform
Manage blog posts using Laravel and Bootstrap
Author: By
Last change:
Date: 8 months ago
Size: 495 bytes
 

Contents

Class file image Download
Literals
-----
<?php

<<<'STR'
STR;
<<<STR
STR;

<<<'STR'
A
B
STR;
<<<STR
A
B
STR;

<<<'STR'
a\nb$c
STR;
<<<STR
a\\nb\$c
STR;

<<<STR
a$b
{$c->d}
STR;

call(
    <<<STR
A
STR
    , <<<STR
B
STR
);

function
test() {
    <<<STR
Foo
STR;
    <<<STR
Bar
STR;
}
-----
<<<'STR'
STR;
<<<STR
STR;
<<<'STR'
A
B
STR;
<<<STR
A
B
STR;
<<<'STR'
a\nb$c
STR;
<<<STR
a\\nb\$c
STR;
<<<STR
a{$b}
{$c->d}
STR;
call(<<<STR
A
STR
, <<<STR
B
STR
);
function
test()
{
    <<<STR
Foo
STR;
    <<<STR
Bar
STR;
}