Edit report at https://bugs.php.net/bug.php?id=64290&edit=1

 ID:                 64290
 Updated by:         larue...@php.net
 Reported by:        larue...@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] larue...@php.net

hmm, wrong assign

------------------------------------------------------------------------
[2013-02-24 06:31:54] larue...@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] larue...@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] larue...@php.net

hmm, after I re-configure , php 5.5 start to failed either...

------------------------------------------------------------------------
[2013-02-24 05:59:03] larue...@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

Reply via email to