Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-14793

"A non-numeric value encountered" PHP warning on PHP 7.1+

XMLWordPrintable

      It seems that for PHP 7.1+ the default behavior is throwing E_WARNING errors on operations with automatic type conversions (example: https://travis-ci.org/phpbb/phpbb/jobs/161847620#L860).
      So it seems to be a good idea to explicitly typecast variables in these cases.

            Marc Marc
            rxu rxu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: