|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-01-10 07:58 UTC] kalle@php.net
-Status: Open
+Status: Suspended
[2017-01-10 07:58 UTC] kalle@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 13 14:00:01 2025 UTC |
Description: ------------ Output files include PHPDoc comments (/** Comments */) which are not meant to be there. This makes running the file fail at runtime. Other comments are removed correctly. Test script: --------------- foo.php: /** * Foo * * A sample file - this comment will break the output */ //This comment will be removed echo 'FooBar'; bar.php: $fh = fopen('o.phb', 'w'); bcompiler_write_header($fh); bcompiler_write_file($fh, 'foo.php'); bcompiler_write_footer($fh); fclose($fh); include 'o.phb'; Expected result: ---------------- FooBar Actual result: -------------- Failure. No error shown.