added z-php code