Bug 450864 - NPE while running PHP unit test

Change-Id: I10d826258c97a92f709813faa9966f933fdb52ad
Signed-off-by: Bartlomiej Laczkowski <bartlomiej.l@zend.com>