Annotation of embedaddon/php/Zend/tests/bug53629.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Bug #53629 (memory leak inside highlight_string())
                      3: --FILE--
                      4: <?php
                      5: 
                      6: $str = '
                      7: <?php
                      8: class foo {
                      9:     public $bar = <<<EOT
                     10: bar
                     11:     EOT;
                     12: }
                     13: ?>
                     14: ';
                     15: $str2 = '
                     16: <?php
                     17: var_dump(array(<<<EOD
                     18: foobar!
                     19: EOD
                     20: ));
                     21: ?>
                     22: ';
                     23: 
                     24: highlight_string($str, true);
                     25: highlight_string($str2, true);
                     26: 
                     27: 
                     28: echo "Done\n";
                     29: ?>
                     30: --EXPECT--
                     31: Done

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>