PHP : Fix issue with counter and initial value
PHP : Fix issue with Counter and initial