added global shorthands php(), endphp()
refactored code output