some commonly usefull PHP functions (per divinity76