What are the differences between associative array and object?
<p>For writing in PHP for a long time, I was unable to decide when I should use associative array and when use object for a entity.</p>

<p>Both of them can express struct data, and object seems more static, and assoc array seem more dynamic.</p>

<p>Any other differences between them? which condition should use them?</p>
