Fixed issues when run with php-ng

Fixed several fails I met

thanks
both jmp_addr and base_adress are zend_op *.... so I think this is right...