[TASK] Add PHP5 constructor to test code