1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 10:16:41 +02:00

revert back the optimization for now.

This commit is contained in:
Sterling Hughes
2003-06-30 01:41:15 +00:00
parent 8cb5c9c6ba
commit dae3fefd10
+1 -5
View File
@@ -1200,11 +1200,7 @@ ZEND_API int compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC)
}
if (op1->type == IS_STRING && op2->type == IS_STRING) {
if (op1->value.str.len == op2->value.str.len) {
zendi_smart_strcmp(result, op1, op2);
} else {
ZVAL_LONG(result, 1);
}
zendi_smart_strcmp(result, op1, op2);
return SUCCESS;
}