title: Error after altering xml custom feed by function
body: <p>WHen using a plugin in wordpress to create a custom xml feed, i have the option to insert custom functions. For example, i want a different field when a customer enters a different delivery adress.</p>
  
  <p>When executing i get the following error: </p>
  
  <pre><code>PHP Parse error: syntax error, unexpected ')' in .../wp-content/plugins/wp-all-export-pro/libraries/WpaeXmlProcessor.php(510) : eval()'d code on line 1\n.
  </code></pre>
  
  <p>The function is as follow:</p>
  
  <pre><code>function get_order_item_lines( $skus = '', $qty = '', $id = '', $breedte = '', $lengte = '' ){
      $skus = preg_replace('/\D/', '', $skus);
      $xml = '';
      if ( !empty( $skus ) &amp;&amp; is_array( $skus ) ){
          foreach ( $skus as $key =&gt; $sku ){
              $xml .= "**LT**item**GT**";
              $xml .= "**LT**EAN**GT**" . $sku . "**LT**/EAN**GT**";
              $xml .= "**LT**aantal**GT**" . (empty($qty[$key]) ? "" : $qty[$key]) . "**LT**/aantal**GT**";
              $xml .= "**LT**productmaatmat**GT**" . (empty($id) ? "" : $id) . "**LT**/productmaatmat**GT**";
              $xml .= "**LT**breedte**GT**" . (empty($breedte[$key]) ? "" : $breedte[$key]) . "**LT**/breedte**GT**";
              $xml .= "**LT**lengte**GT**" . (empty($lengte[$key]) ? "" : $lengte[$key]) . "**LT**/lengte**GT**";
              $xml .= "**LT**/item**GT**";
          }
      } else {
              $xml .= "**LT**item**GT**";
              $xml .= "**LT**EAN**GT**" . $skus . "**LT**/EAN**GT**";
              $xml .= "**LT**aantal**GT**" . ( empty( $qty ) ? "" : $qty ) . "**LT**/aantal**GT**";
              $xml .= "**LT**productmaatmat**GT**" . ( empty( $id ) ? "" : $id ) . "**LT**/productmaatmat**GT**";
              $xml .= "**LT**breedte**GT**" . ( empty($breedte) ? "" : $breedte ) . "**LT**/breedte**GT**";
              $xml .= "**LT**lengte**GT**" . ( empty($lengte) ? "" : $lengte ) . "**LT**/lengte**GT**";
              $xml .= "**LT**/item**GT**";
      }
      return $xml;
  }
  </code></pre>
  
  <p>Im really searching where the error is. I know it is in this function, because when i remove this function, it does work.</p>
  
  <p>Any suggestions?</p>