Bug #64290 [Asn]: behavior change of converting to long
| From: | laruence@php.net | Date: | Sun, 24 Feb 2013 06:38:26 +0000 |
| Subject: | Bug #64290 [Asn]: behavior change of converting to long | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-177376@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
Type: Bug
Package: *General Issues
PHP Version: master-Git-2013-02-24 (Git)
-Assigned To: glopes
+Assigned To: cataphract
Block user comment: N
Private report: N
New Comment:
hmm, wrong assign
Previous Comments:
------------------------------------------------------------------------
[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