Basic programming principles created in PHP