Re: cvs: php-src / README.PARAMETER_PARSING_API /win32/build config.w32 ZendEngine2 Zend.m4 zend_API.c zend_compile.c zend_execute.c
zend_execute_API.c zend_operators.c zend_operators.h zend_vm_def.h zend_vm_execute.h

From: Date: Thu, 04 Jun 2009 18:33:34 +0000
Subject: Re: cvs: php-src / README.PARAMETER_PARSING_API /win32/build config.w32 ZendEngine2 Zend.m4 zend_API.c zend_compile.c zend_execute.c
zend_execute_API.c zend_operators.c zend_operators.h zend_vm_def.h zend_vm_execute.h
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-58509@lists.php.net to get a copy of this message
Hmm, can we use something other than L? We were hoping to reserve L for use in PHP 6 for bigint numbers. -Andrei Matt Wilmas wrote:
mattwil Thu Jun 4 18:18:47 2009 UTC
  Modified files:                  /php-src	README.PARAMETER_PARSING_API     /ZendEngine2	Zend.m4 zend_API.c zend_compile.c zend_execute.c                 	zend_execute_API.c zend_operators.c zend_operators.h                 	zend_vm_def.h zend_vm_execute.h     /php-src/win32/build	config.w32   Log:
Restored double->long conversion behavior to that of PHP 5.2 (on most platforms) and prior: * Out-of-range numbers overflow/preserve least significant bits (no LONG_MAX/MIN limit) * See bug #42868 (presumably-rare platform with different results in 5.2) * On 32-bit platforms with 64-bit long type, a zend_long64 cast has been added,
      otherwise it's the same as 5.2
* Use this conversion method everywhere instead of some plain (long) casts Added 'L' parameter parsing specifier to ensure a LONG_MAX/MIN limit: * Essentially what 5.3's new conversion was doing in most cases * Functions with "limit" or "length" type params could be updated to use this,
      and prevent confusing overflow behavior with huge numbers (*also* in 5.2)
    - See bug #47854, for example; or even #42868 again
    # Test updates coming
  


« previous php.cvs (#58509) next »