summaryrefslogtreecommitdiff
path: root/ext/standard/tests/strings/bug63874.phpt
blob: 066cc155df9600cdc036f4abdb3bd59da7c53e9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--TEST--
Bug #63874 (Segfault if php_strip_whitespace has heredoc)
--FILE--
<?php
echo php_strip_whitespace(__FILE__);

return <<<A
a
A;
?>
--EXPECT--
<?php
echo php_strip_whitespace(__FILE__); return <<<A
a
A;
?>