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

utf8_normalizer_test uses call-time pass by reference

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Trivial
    • Resolution: Duplicate
    • 3.0.8
    • None
    • Test Suite
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: