1--TEST-- 2Flexible heredoc syntax complex test 4: interpolated variable with 3the same delimiter name as the heredoc 4--FILE-- 5<?php 6 7{ 8 $FOO = "FOO"; 9 define("FOO", "FOO"); 10 $b = <<<FOO 11 Test 12 ${ 13 FOO 14 } 15 FOO; 16 var_dump($b); 17} 18 19{ 20 $FOO = "FOO"; 21 $b = <<<FOO 22 Test 23 ${ 24 FOO 25 } 26 FOO; 27 var_dump($b); 28} 29 30?> 31--EXPECT-- 32string(8) "Test 33FOO" 34string(16) " Test 35 FOO" 36