php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61851 The Bcompiler is including a original file in encode file.
Submitted: 2012-04-25 15:58 UTC Modified: 2012-05-31 08:56 UTC
From: manactric at gmail dot com Assigned:
Status: Not a bug Package: bcompiler (PECL)
PHP Version: 5.3.10 OS: WINXP PRO
Private report: No CVE-ID: None
 [2012-04-25 15:58 UTC] manactric at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/function.bcompiler-write-file#refsect1-
function.bcompiler-write-file-examples
---
The Bcompiler is including a original file in encode file.
the encode file use original file to execute itself


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-05-30 07:37 UTC] stas@php.net
-Package: Testing related +Package: bcompiler
 [2012-05-30 07:41 UTC] stas@php.net
-Type: Security +Type: Bug
 [2012-05-31 00:50 UTC] stas@php.net
-Private report: Yes +Private report: No
 [2012-05-31 01:32 UTC] manactric at gmail dot com
Hey When you are fixing?
 [2012-05-31 01:34 UTC] manactric at gmail dot com
when you are fixing??
 [2012-05-31 08:56 UTC] val@php.net
-Status: Open +Status: Not a bug
 [2012-05-31 08:56 UTC] val@php.net
It's not a bug. Bcompiler does not include the original file into bytecodes. The encoded file doesn't require the original file to work.

The sample code you referred to is intended to show that including the encoded file should be equivalent to including the original source file.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 17:01:31 2024 UTC