From: Antony Dovgal Date: Fri, 27 Apr 2007 21:27:14 +0000 (+0000) Subject: fix typo (Z_USTRVAL_P -> Z_USTRLEN_P) and CS X-Git-Tag: RELEASE_1_2_0~204 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=35ba6cd0df9a25bf2eab9cea57e912229364ff36;p=php fix typo (Z_USTRVAL_P -> Z_USTRLEN_P) and CS --- diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c index 6c29cd42ba..d1cd6355ab 100644 --- a/Zend/zend_operators.c +++ b/Zend/zend_operators.c @@ -570,9 +570,8 @@ ZEND_API int convert_to_boolean(zval *op) { UChar *strval = Z_USTRVAL_P(op); - if (Z_USTRVAL_P(op) == 0 - || (Z_USTRLEN_P(op)==1 && - (Z_USTRVAL_P(op)[0]=='0'))) { + if (Z_USTRLEN_P(op) == 0 + || (Z_USTRLEN_P(op)==1 && Z_USTRVAL_P(op)[0]=='0')) { Z_LVAL_P(op) = 0; } else { Z_LVAL_P(op) = 1;