|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #60295 bcompiler doesn't remove PHPDoc comments
Submitted: 2011-11-14 14:28 UTC Modified: 2017-01-10 07:58 UTC
Avg. Score:4.0 ± 1.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: Alexander dot Shepherd at Gmail dot com Assigned:
Status: Suspended Package: bcompiler (PECL)
PHP Version: 5.3.8 OS: Ubuntu
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2011-11-14 14:28 UTC] Alexander dot Shepherd at Gmail dot com
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
 * A sample file - this comment will break the output

//This comment will be removed
echo 'FooBar';

$fh = fopen('o.phb', 'w');

bcompiler_write_file($fh, 'foo.php');


include 'o.phb';

Expected result:

Actual result:
Failure. No error shown.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-01-10 07:58 UTC]
-Status: Open +Status: Suspended
 [2017-01-10 07:58 UTC]
Suspending this report as the extension have not had a release for almost 6 years.  Please revive this if the extension once again shows life
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Fri Sep 30 15:05:52 2022 UTC