Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-8597

PHP strict warning: Only variables should be assigned by reference.

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.0.4
    • Fix Version/s: 4.1.0
    • Component/s: None
    • Labels:
      None

      Description

      CiviCRM quite frequently uses the following paradigm:

      $foo =& ClassName::functionName();

      Unless CiviCRM is striving for compatibility with PHP 4, the ampersand should be dropped:

      $foo = ClassName::functionName();

        Attachments

          Activity

            People

            • Assignee:
              rohan Rohan S. Chavan
              Reporter:
              pillarsdotnet Bob Vincent
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: