Benefits of ArrayAccess Interface in PHP?
<p>Implementing ArrayAccess Interface in PHP , We can access Object Properties as Array Keys .
What are the benefits of having an Object behave like an Array ?
Like I see Frameworks implementing 'FORM' with ArrayAccess Interface and then We can access (HTML) Form Objects FIelds something like,</p>

<p>$form['nameField] instead-of $form->nameField 
$form['titleField'] instead-of $form->titleField</p>

<p>Whats the benefit of using $form['nameField] instead-of $form->nameField</p>

<p>Is it Speed of 'Array Data Structures' or Portablility between Object and Array Forms ?</p>

<p>Or Am I missing something :)</p>

<p>Thanks</p>
