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

Remove count versus sizeof restriction in coding guidelines

    XMLWordPrintable

Details

    • Improvement
    • Status: Unverified Fix (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 3.1.11-RC1
    • None
    • None

    Description

      We do both and `sizeof()` is an alias of `count()` and count() is faster so we really shouldn't be restricting it to sizeof() only, especially as extensions using sizeof() are apparently therefore deny-worthy

      Attachments

        Activity

          People

            MichaelC Michael Cullum
            MichaelC Michael Cullum
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: