4

I'm new to Aptana, so don't quite have all of the behaviors sorted. I have PHP code that works, but Aptana is throwing syntax errors on both of the brackets:

public function addRecord($data)
{
    $request = [
        'action' => 'addrecord',
        'data' => json_encode($data)
    ];

    return $this->requestJson($request, 'POST');
}

What am I not seeing here?

JW_Swartz
  • 55
  • 7

1 Answers1

1

It seems that Aptana does support PHP 5.4 now, whereas it didn't when the original post was made.

Project->Properties->PHP Development-> Select PHP 5.4.x
GAMITG
  • 3,810
  • 7
  • 32
  • 51