# [PATCH] Compiling bcompiler with PHP5

- Thread: https://externals.io/message/13265
- Original archive: https://news-web.php.net/php.internals/13265
- Started by Frank M. Kromann on 2004-10-11T22:35:55+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #13265 — Frank M. Kromann — 2004-10-11T22:35:55+00:00

URL: https://externals.io/message/13265#13265

Hi Andi,

I was just trying to compile and use the latest version of pecl/becompiler
on win32. When I compile as shared these needs to be exported. I would
prefere to have this extension as shared as it's not used that often. I
have not testet on Linux, but I would asume the same is the case there.

Another fix could be to change the bcompiler to not use these
symbols/functions, but that would be a step backwards.

- Frank

> Are you sure it needs access to these functions? That seems kind of
strange...
> They aren't really supposed to be exported. If there's a real reason
I'll 
> export them.
> 
> Andi
> 
> At 12:33 PM 10/11/2004 -0700, Frank M. Kromann wrote:
> > […]

---

## #13266 — Andi Gutmans — 2004-10-11T22:47:39+00:00

URL: https://externals.io/message/13265#13266 · In reply to: #13265

It'd be smarter for bcompiler to set the correct destructor during 
unserializing then doing the comparisons it does during serialization.
I encourage the author to fix this. There's no good reason to do it this way.

Andi

At 03:35 PM 10/11/2004 -0700, Frank M. Kromann wrote:
>Hi Andi,
>
>I was just trying to compile and use the latest version of pecl/becompiler
>on win32. When I compile as shared these needs to be exported. I would
>prefere to have this extension as shared as it's not used that often. I
>have not testet on Linux, but I would asume the same is the case there.
>
>Another fix could be to change the bcompiler to not use these
>symbols/functions, but that would be a step backwards.
>
>- Frank
>
> > […]
>strange...
> > […]
>I'll
> > […]
