Sample Test: sample011.phpt

Back to "PHPT Test File Layout"

--TEST--
Bug #35382 (Comment in end of file produces fatal error)
--FILEEOF--
<?php
eval("echo 'Hello'; // comment");
echo " World";
//last line comment
--EXPECTF--
Hello World

Back to "PHPT Test File Layout"