Bug #64290 [Asn->Csd]: behavior change of converting to long

From: Date: Sun, 03 Mar 2013 03:00:04 +0000
Subject: Bug #64290 [Asn->Csd]: behavior change of converting to long
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-177544@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=64290&edit=1 ID: 64290 Updated by: laruence@php.net Reported by: laruence@php.net Summary: behavior change of converting to long -Status: Assigned +Status: Closed Type: Bug Package: *General Issues PHP Version: master-Git-2013-02-24 (Git) Assigned To: cataphract Block user comment: N Private report: N New Comment: Automatic comment on behalf of laruence Revision: http://git.php.net/?p=php-src.git;a=commit;h=505c6ca486aa8edbc3a42ae0f4ba7eb01d02721c Log: Fixed bug #64290 (behavior change of converting to long) Previous Comments: ------------------------------------------------------------------------ [2013-02-24 06:38:26] laruence@php.net hmm, wrong assign ------------------------------------------------------------------------ [2013-02-24 06:31:54] laruence@php.net a more simple example: <?php var_dump(intval(10E20)); ?> php 5.3, 5.4, output int(0); php 5.5, master , output: int(3875820019684212736) ------------------------------------------------------------------------ [2013-02-24 06:14:23] laruence@php.net glopes could you please look at this? should due the recently changes you did to zend_operators.h if the change is okey, please correct the test script. thanks ------------------------------------------------------------------------ [2013-02-24 06:11:25] laruence@php.net hmm, after I re-configure , php 5.5 start to failed either... ------------------------------------------------------------------------ [2013-02-24 05:59:03] laruence@php.net Description: ------------ ext/ereg/tests/split_variation_004.phpt failed (centOS 64 bits) in 5.5 10E20 give the count of zif_split 0 but in master give the count 1864712049423024128 something changed to convert_to_long from 5.5 to master Test script: --------------- diff is: 013+ array(5) { 013- array(1) { 015+ string(1) "1" 016+ [1]=> 017+ string(1) "2" 018+ [2]=> 019+ string(1) "3" 020+ [3]=> 021+ string(1) "4" 022+ [4]=> 023+ string(1) "5" 015- string(9) "1 2 3 4 5" ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=64290&edit=1

« previous php.bugs (#177544) next »