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

Tests use call-time pass by reference which results in Fatal error on PHP 5.4

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.9
    • Fix Version/s: 3.0.10-RC1
    • Component/s: Test Suite
    • Labels:
      None

      Description

      Running tests on PHP 5.4 fails because tests use call time pass by reference, although they don't have to.

        Issue Links

          Activity

          Hide
          bantu Andreas Fischer added a comment -
          Show
          bantu Andreas Fischer added a comment - This fails as per http://tracker.phpbb.com/browse/PHPBB3-10008 :-/
          Hide
          bantu Andreas Fischer added a comment - - edited

          PHP 5.3: Type of "Call-time pass-by-reference has been deprecated" is E_DEPRECATED.
          PHP 5.3: Type of "Parameter 1 to utf_normalizer::nfc() expected to be a reference, value given" is E_WARNING.

          PHP 5.4: Type of "Call-time pass-by-reference has been deprecated" is E_COMPILE_ERROR.
          PHP 5.4: Type of "Parameter 1 to utf_normalizer::nfc() expected to be a reference, value given" is E_WARNING.

          Show
          bantu Andreas Fischer added a comment - - edited PHP 5.3: Type of "Call-time pass-by-reference has been deprecated" is E_DEPRECATED. PHP 5.3: Type of "Parameter 1 to utf_normalizer::nfc() expected to be a reference, value given" is E_WARNING. PHP 5.4: Type of "Call-time pass-by-reference has been deprecated" is E_COMPILE_ERROR. PHP 5.4: Type of "Parameter 1 to utf_normalizer::nfc() expected to be a reference, value given" is E_WARNING.

            People

            • Assignee:
              naderman Nils Adermann
              Reporter:
              naderman Nils Adermann
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development