Revert "removed PHP code"

This reverts commit ed5a66ffdef1460ee146c2500c528adec456fcef.