function for print variables in php