]> granicus.if.org Git - php/commitdiff
Note
authorAndrei Zmievski <andrei@php.net>
Tue, 28 Mar 2006 06:30:47 +0000 (06:30 +0000)
committerAndrei Zmievski <andrei@php.net>
Tue, 28 Mar 2006 06:30:47 +0000 (06:30 +0000)
Zend/zend_operators.c

index ecbdc03b43035bdda3c860764a6f6f78749bf13c..e965e766840ae08d47503e21ab972b57447888cf 100644 (file)
@@ -1555,6 +1555,9 @@ ZEND_API int compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC)
                } else if (Z_TYPE_P(op1) == IS_STRING || Z_TYPE_P(op2) == IS_STRING) {
                        zendi_smart_strcmp(result, op1, op2);
                } else {
+                       /* FIXME
+                        * Will we ever get here? This might be dead code.
+                        */
                        Z_LVAL_P(result) = zend_binary_zval_strcmp(op1, op2);
                        Z_LVAL_P(result) = ZEND_NORMALIZE_BOOL(Z_LVAL_P(result));
                        Z_TYPE_P(result) = IS_LONG;