zend 2.1 function export request

php.internals

val khokhlov

21 years ago
Hello, Zend developers: can you, please, consider exporting void zend_vm_set_opcode_handler(zend_op* op) i can't help using it to restore opcode handler ptrs after loading a pre-compiled opcodes array
-- Best regards, val mailto:val@vk.kiev.ua

Derick Rethans

21 years ago
On Fri, 25 Feb 2005, val khokhlov wrote:
> Zend developers: can you, please, consider exporting > > void zend_vm_set_opcode_handler(zend_op* op) > > i can't help using it to restore opcode handler ptrs after loading a > pre-compiled opcodes array
Write a patch please? Derick
-- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org

val khokhlov

21 years ago
Hello Derick, Sunday, February 27, 2005, 2:24:42 PM, you wrote: DR> On Fri, 25 Feb 2005, val khokhlov wrote:
>> Zend developers: can you, please, consider exporting >> void zend_vm_set_opcode_handler(zend_op* op)
DR> Write a patch please? --- zend_vm.h.orig Sun Feb 27 20:05:21 2005 +++ zend_vm.h Sun Feb 27 20:05:45 2005 @@ -22,7 +22,7 @@ #define ZEND_VM_H ZEND_API void zend_vm_use_old_executor(); -void zend_vm_set_opcode_handler(zend_op* opcode); +ZEND_API void zend_vm_set_opcode_handler(zend_op* opcode); #define ZEND_VM_SET_OPCODE_HANDLER(opline) zend_vm_set_opcode_handler(opline)
-- Best regards, val mailto:val@vk.kiev.ua

Antony Dovgal

21 years ago
On Sun, 27 Feb 2005 20:11:40 +0200 val khokhlov <val@vk.kiev.ua> wrote:
> Hello Derick, > > Sunday, February 27, 2005, 2:24:42 PM, you wrote: > > DR> On Fri, 25 Feb 2005, val khokhlov wrote: > > >> Zend developers: can you, please, consider exporting > >> void zend_vm_set_opcode_handler(zend_op* op) > DR> Write a patch please? > > --- zend_vm.h.orig Sun Feb 27 20:05:21 2005 > +++ zend_vm.h Sun Feb 27 20:05:45 2005 > @@ -22,7 +22,7 @@ > #define ZEND_VM_H > > ZEND_API void zend_vm_use_old_executor(); > -void zend_vm_set_opcode_handler(zend_op* opcode); > +ZEND_API void zend_vm_set_opcode_handler(zend_op* opcode); > > #define ZEND_VM_SET_OPCODE_HANDLER(opline) > #zend_vm_set_opcode_handler(opline)
Val, see also zend_vm_gen.php, it generates zend_vm_execute.h, which contains zend_vm_set_opcode_handler's body.
-- Wbr, Antony Dovgal aka tony2001 antony@zend.com