Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-14793

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

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: