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--EXPECTF-- 32Deprecated: Using ${expr} (variable variables) in strings is deprecated, use {${expr}} instead in %s on line %d 33 34Deprecated: Using ${expr} (variable variables) in strings is deprecated, use {${expr}} instead in %s on line %d 35string(8) "Test 36FOO" 37string(16) " Test 38 FOO" 39