mirror of
https://github.com/php/php-src.git
synced 2024-12-18 14:30:35 +08:00
18 lines
130 B
PHP
18 lines
130 B
PHP
--TEST--
|
|
Testinh heredoc syntax
|
|
--FILE--
|
|
<?php
|
|
|
|
$a = <<<A
|
|
A;
|
|
;
|
|
A;
|
|
\;
|
|
A;
|
|
|
|
var_dump(strlen($a) == 12);
|
|
|
|
?>
|
|
--EXPECT--
|
|
bool(true)
|