repo.or.cz
/
tomato.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Updates to Tomato RAF including NGINX && PHP
[tomato.git]
/
release
/
src
/
router
/
php
/
Zend
/
tests
/
nowdoc_002.phpt
blob
3b17da814f928d8cd9c9ff1c5fabc2f8fe65c9ff
1
--TEST--
2
basic binary nowdoc syntax
3
--FILE--
4
<?php
5
6
require_once 'nowdoc.inc';
7
8
print b<<<'ENDOFNOWDOC'
9
This is a nowdoc test.
10
11
ENDOFNOWDOC;
12
13
$x = b<<<'ENDOFNOWDOC'
14
This is another nowdoc test.
15
16
ENDOFNOWDOC;
17
18
print "{$x}";
19
20
?>
21
--EXPECT--
22
This is a nowdoc test.
23
This is another nowdoc test.