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

utf8_normalizer_test uses call-time pass by reference

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Trivial
    • Resolution: Duplicate
    • Affects Version/s: 3.0.8
    • Fix Version/s: None
    • Component/s: Test Suite
    • Labels:
      None

      Description

      I'm not 100% sure this is a bug. utf8_normalizer_test uses call-time pass by reference to call_user_func, twice. I received warnings about that while trying to run the test suite. I notice that http://us3.php.net/call_user_func states that call_user_func parameters are not passed by reference, which on one hand I suppose could mean they are always copied, and on the other hand if call-time pass by reference actually works then using it despite warnings may yield memory savings.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bantu Andreas Fischer
                Reporter:
                Oleg Oleg [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: