Rob - Good call - I had not explicitly considered this boundary condition.

However I just tested it with no options and didn't get an error. Probably because this is in an if block which is only executed if phpOpts has contents. Unfortunately this is just above what GitHub is displaying here. ;-)