#41706 [NEW]: bcompiler feature request
| From: | roberto at spadim dot com dot br | Date: | Fri, 15 Jun 2007 17:39:03 +0000 |
| Subject: | #41706 [NEW]: bcompiler feature request | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-113836@lists.php.net to get a copy of this message | ||
From: roberto at spadim dot com dot br
Operating system: linux
PHP version: 5.2.3
PHP Bug Type: Unknown/Other Function
Bug description: bcompiler feature request
Description:
------------
FROM THE SAME EMAIL TO alan_k@php.net
hello alan, i was using bcompiler to act like an php source code compiler
i write something like:
$fh = fopen($destination, "wb");
$ret1=bcompiler_write_header($fh);
$ret2=bcompiler_write_file($fh,$source);
$ret3=bcompiler_write_footer($fh);
fclose($fh);
ok
when i run the file on another path that wasn't the same that i "encoded"
it apache send me this error:
*Warning*: Could not redefine function spd_echo in
*/home/apache/172.16.0.1/work-rdm/encoder/rdm-business/index.spadim* on
line *2*
this is very strange, since my file is located at
/home/apache/172.16.0.1/rdm-encoded/
and it's not a symbolic link it's a real file
any idea?
thanks
if i could just "compile" the code could be easier :) since it's what i'm
searching, i bought the byterun compiler but it don't work at php 5.2
Reproduce code:
---------------
see description
Expected result:
----------------
see description
Actual result:
--------------
see description
--
Edit bug report at http://bugs.php.net/?id=41706&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41706&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41706&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41706&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=41706&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=41706&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=41706&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=41706&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=41706&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=41706&r=support
Expected behavior: http://bugs.php.net/fix.php?id=41706&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=41706&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=41706&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=41706&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41706&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=41706&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=41706&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=41706&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=41706&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=41706&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=41706&r=mysqlcfg