PHP: allow NSLog() to print arrays and objects

Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>