Bug #71967 [Fbk]: Regression "A non well formed numeric value encountered"

From: Date: Thu, 07 Apr 2016 12:45:34 +0000
Subject: Bug #71967 [Fbk]: Regression "A non well formed numeric value encountered"
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-200423@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=71967&edit=1 ID: 71967 Updated by: yunosh@php.net Reported by: yunosh@php.net Summary: Regression "A non well formed numeric value encountered" Status: Feedback Type: Bug Package: *General Issues Operating System: Linux -PHP Version: 7.0Git-2016-04-05 (Git) +PHP Version: master-2016-04-05 (Git) Block user comment: N Private report: N New Comment: Ah, no, sorry, this is on the master branch. Previous Comments: ------------------------------------------------------------------------ [2016-04-07 12:37:06] ajf@php.net Are you sure you're using the PHP-7.0 branch ("7.0Git-2016-04-05 (Git)" is what you reported)? The numeric strings changes were merged into master, not PHP-7.0. ------------------------------------------------------------------------ [2016-04-06 07:49:52] yunosh@php.net While debugging the issue, which is raised at https://github.com/horde/horde/blob/master/framework/Image/lib/Horde/Image/Exif/Base.php#L157 var_dump() reveals that the first two operands ($degrees and $minutes) are ints and the third ($seconds) is a float. ------------------------------------------------------------------------ [2016-04-05 22:07:52] nikic@php.net Please check whether the new warnings are expected as per https://wiki.php.net/rfc/invalid_strings_in_arithmetic. ------------------------------------------------------------------------ [2016-04-05 13:36:49] yunosh@php.net Description: ------------ Not sure if https://github.com/php/php-src/commit/82050dfd3cba70b866da871fa7cc05232cfabf63 is the culprit, but a recent change in master raised a lot of "A non well formed numeric value encountered" in our test suite: https://travis-ci.org/horde/horde/jobs/120849452 Test script: --------------- I couldn't strip it down to a short reproduce script, but this should do it: pear install pear.horde.org/horde_image cd /usr/share/php/test/Horde_Image/Horde/Image phpunit . ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=71967&edit=1

« previous php.bugs (#200423) next »