Laravel Display Array Php Functions