title: PHP class getting error when using return
body: <p>I have the following code:</p>
  
  <pre><code>public function lockFields($lockFieldsDB, $lockValue) {
      if($lockFieldsDB == $lockValue){
          $lockInputField = 'readonly="readonly"';
          $lockSelectField = 'disabled = "disabled"';
          $lockImage = '&lt;img title="Locked field" src="http://www.trustive.com/static/images/padlock_icon.png"&gt;';
      }
      else {
          $lockInputField = null;
          $lockSelectField = null;
          $lockImage = null;
      }
      return [$lockInputField, $lockSelectField, $lockImage];
  }
  </code></pre>
  
  <p>The code used to work fine, but my host made some maintenance to his server and it seems that I am getting the following error in my php <code>syntax error, unexpected '['</code> This refers to <code>return [$lockInputField, $lockSelectField, $lockImage];</code></p>
  
  <p>I can't seem to understand why it worked and now it doesn't after the update </p>