PHP API Input treatment changed, ng API changed