No announcement yet.

Why don't vBulletin zend their php scripts?

  • Filter
  • Time
  • Show
Clear All
new posts

  • #31
    Originally posted by Wayne Luke
    No it doesn't it encodes the PHP to bytecode. Bytecode, is a state between code and fully compiled machine language.

    The PHP engine works by taking your code and compiling it into Bytecode before processing. This is often referred to "Just In Time Compiling". It is how .NET and Java work as well. When you use an encoder such as Zend Encoder or IonCube, it compiles the PHP to Bytecode and stores it as files. The loaders then take this code and feed it into the engine bypassing the original compiling step at runtime. You still need the PHP engine installed on the server to run encoded scripts. When an error such as a illegal function (i.e. Function not found), the engine interprets the bytecode and extrapolates the function name for output. The encoders do not store the function names in plain text.
    So it should be possible to still retrieve the function names with a hacked Zend Engine?

    edit: It isnt possible. Reading into the thread on WHT posted here, it appears that the script isnt executed by the "open source execution routine".
    Last edited by merk; Tue 28 Sep '04, 12:08am.


    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.