Php implementation of the ii node