cvs: ZendEngine2(PHP_5_0) / zend_operators.h

From: Date: Wed, 15 Sep 2004 13:41:39 +0000
Subject: cvs: ZendEngine2(PHP_5_0) / zend_operators.h
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-2979@lists.php.net to get a copy of this message
iliaa Wed Sep 15 09:41:39 2004 EDT Modified files: (Branch: PHP_5_0) /ZendEngine2 zend_operators.h Log: Fixed a bug causing ".123" * "90" and alike to return a 0. http://cvs.php.net/diff.php/ZendEngine2/zend_operators.h?r1=1.88.2.2&r2=1.88.2.3&ty=u Index: ZendEngine2/zend_operators.h diff -u ZendEngine2/zend_operators.h:1.88.2.2 ZendEngine2/zend_operators.h:1.88.2.3 --- ZendEngine2/zend_operators.h:1.88.2.2 Sat Sep 11 10:20:55 2004 +++ ZendEngine2/zend_operators.h Wed Sep 15 09:41:38 2004 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_operators.h,v 1.88.2.2 2004/09/11 14:20:55 derick Exp $ */ +/* $Id: zend_operators.h,v 1.88.2.3 2004/09/15 13:41:38 iliaa Exp $ */ #ifndef ZEND_OPERATORS_H #define ZEND_OPERATORS_H @@ -87,7 +87,7 @@ *lval = local_lval; } return IS_LONG; - } else if (end_ptr_long == str && *end_ptr_long != '\0') { /* ignore partial string matches */ + } else if (end_ptr_long == str && *end_ptr_long != '\0' && *str != '.') { /* ignore partial string matches */ return 0; } } else {

« previous php.zend-engine.cvs (#2979) next »