Index: operator.c =================================================================== RCS file: /repository/pecl/operator/operator.c,v retrieving revision 1.7 diff -u -r1.7 operator.c --- operator.c 19 Jan 2006 03:37:59 -0000 1.7 +++ operator.c 28 Jan 2006 12:08:54 -0000 @@ -193,6 +193,7 @@ zval *op2 = php_operator_zval_ptr(&(opline->op2), &free_op2, execute_data TSRMLS_CC); if (opline->op1.op_type == IS_CONST || + op1 == NULL || op1->type != IS_OBJECT || !zend_hash_exists(&Z_OBJCE_P(op1)->function_table, (char*)methodname, methodname_len + 1)) { /* Rely on primary handler */