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

Remove count versus sizeof restriction in coding guidelines

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 3.1.11-RC1
    • None
    • None
    • None

      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

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

              Created:
              Updated:
              Resolved: