changed [] with array()

closes #95
array initialization with "[]" requires PHP 5.4. Since lib supports PHP 5.2.1 it should be "array()"