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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: manactric at gmail dot com
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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 Apr 25 12:01:31 2024 UTC