how does php work anyway?