mirror of
https://github.com/php/php-src.git
synced 2024-10-04 00:06:16 +00:00
8228597ecc
T_END_HEREDOC don't carry a token value anymore since commit 4cf90e06c
Bugfix by Nikita for bug #60097
17 lines
214 B
PHP
17 lines
214 B
PHP
--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;
|
|
?>
|