fix php template
bug #4095 Fix php template (piotrantosik)

This PR was merged into the 2.3 branch.

Discussion
----------

Fix php template

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.3+
| Fixed tickets | no

Commits
-------

18d71b1 fix php template