Updated the datautils.setString() to allow array of predefined values
Added resource exception
Added arrayKeys to PHP