Added global PHP functions wrapper