php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71314 var_export(INF) prints INF.0
Submitted: 2016-01-08 14:06 UTC Modified: 2016-01-08 17:03 UTC
From: hamid dot a85 at gmail dot com Assigned: ajf (profile)
Status: Closed Package: *General Issues
PHP Version: 7.0.2 OS: Ubuntu 14.04
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: hamid dot a85 at gmail dot com
New email:
PHP Version: OS:

 

 [2016-01-08 14:06 UTC] hamid dot a85 at gmail dot com
Description:
------------
var_export(INF) prints INF.0 instead of INF which breaks mockery/mockery package

Test script:
---------------
var_export(INF);


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-01-08 14:12 UTC] hamid dot a85 at gmail dot com
-Package: SCA_SDO +Package: *General Issues
 [2016-01-08 14:12 UTC] hamid dot a85 at gmail dot com
general issue
 [2016-01-08 17:03 UTC] ajf@php.net
-Status: Open +Status: Verified -Assigned To: +Assigned To: ajf
 [2016-01-08 17:05 UTC] ajf@php.net
Well, that'll teach me to better test my bug fixes. I introduced this when fixing bug #66179.
 [2016-01-08 17:21 UTC] ajf@php.net
Automatic comment on behalf of ajf@ajf.me
Revision: http://git.php.net/?p=php-src.git;a=commit;h=ae50a0c0beba08e6abbc6cb5131fc44d5c6dde42
Log: Fix bug #71314
 [2016-01-08 17:21 UTC] ajf@php.net
-Status: Verified +Status: Closed
 [2016-01-08 17:22 UTC] ajf@php.net
Automatic comment on behalf of ajf@ajf.me
Revision: http://git.php.net/?p=php-src.git;a=commit;h=ae50a0c0beba08e6abbc6cb5131fc44d5c6dde42
Log: Fix bug #71314
 [2016-01-08 17:24 UTC] ajf@php.net
This is fixed now in the PHP-7.0 and master branches. Hopefully it'll make its way into 7.0.3, this is a pretty awful regression which is entirely my fault, and I apologise for that.
 [2016-01-08 17:57 UTC] hamid dot a85 at gmail dot com
Thanks ajf for the agility.
 [2016-07-20 11:34 UTC] davey@php.net
Automatic comment on behalf of ajf@ajf.me
Revision: http://git.php.net/?p=php-src.git;a=commit;h=ae50a0c0beba08e6abbc6cb5131fc44d5c6dde42
Log: Fix bug #71314
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 10:01:29 2024 UTC