Added chunks pagination for PHP engine [skip CI]