derickr / vld

BSD 2-Clause "Simplified" License
464 stars 87 forks source link

no ZEND_FETCH_CLASS opcode #35

Closed aodzip closed 5 years ago

aodzip commented 5 years ago

Code image Output image Should Line 3 is something like ZEND_FETCH_CLASS :-5 'SomeClass'

derickr commented 5 years ago

There is no need for PHP to have a ZEND_FETCH_CLASS here, as this is already resolved in the compilation phase. The FETCH_CLASS has been turned into the NOP in opcode 1. If you have the class definition below the new SomeClass, then, it should show.

aodzip commented 5 years ago

Thank you, very appreciate your help.