{"action":"created","comment":{"url":"https://api.github.com/repos/DrDoomsday/forum/pulls/comments/48507030","id":48507030,"diff_hunk":"@@ -179,7 +197,7 @@ function printLines(array $lines) {\n // Here is one such \"machine\" class that represents a \"number clicker\"\n \n /**\n- * Class that holds the cound of something\n+ * Class that holds the count of something","path":"php-practice/section5.php","position":58,"original_position":58,"commit_id":"06588531aa063c65a878a19267e91eef7c78d0f2","original_commit_id":"06588531aa063c65a878a19267e91eef7c78d0f2","user":{"login":"paulstatezny","id":4662353,"avatar_url":"https://avatars.githubusercontent.com/u/4662353?v=3","gravatar_id":"","url":"https://api.github.com/users/paulstatezny","html_url":"https://github.com/paulstatezny","followers_url":"https://api.github.com/users/paulstatezny/followers","following_url":"https://api.github.com/users/paulstatezny/following{/other_user}","gists_url":"https://api.github.com/users/paulstatezny/gists{/gist_id}","starred_url":"https://api.github.com/users/paulstatezny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulstatezny/subscriptions","organizations_url":"https://api.github.com/users/paulstatezny/orgs","repos_url":"https://api.github.com/users/paulstatezny/repos","events_url":"https://api.github.com/users/paulstatezny/events{/privacy}","received_events_url":"https://api.github.com/users/paulstatezny/received_events","type":"User","site_admin":false},"body":"Hehe thanks.","created_at":"2015-12-28T21:32:59Z","updated_at":"2015-12-28T21:32:59Z","html_url":"https://github.com/DrDoomsday/forum/pull/11#discussion_r48507030","pull_request_url":"https://api.github.com/repos/DrDoomsday/forum/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/DrDoomsday/forum/pulls/comments/48507030"},"html":{"href":"https://github.com/DrDoomsday/forum/pull/11#discussion_r48507030"},"pull_request":{"href":"https://api.github.com/repos/DrDoomsday/forum/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/DrDoomsday/forum/pulls/11","id":54633532,"html_url":"https://github.com/DrDoomsday/forum/pull/11","diff_url":"https://github.com/DrDoomsday/forum/pull/11.diff","patch_url":"https://github.com/DrDoomsday/forum/pull/11.patch","issue_url":"https://api.github.com/repos/DrDoomsday/forum/issues/11","number":11,"state":"open","locked":false,"title":"answer all but last question","user":{"login":"DrDoomsday","id":14076818,"avatar_url":"https://avatars.githubusercontent.com/u/14076818?v=3","gravatar_id":"","url":"https://api.github.com/users/DrDoomsday","html_url":"https://github.com/DrDoomsday","followers_url":"https://api.github.com/users/DrDoomsday/followers","following_url":"https://api.github.com/users/DrDoomsday/following{/other_user}","gists_url":"https://api.github.com/users/DrDoomsday/gists{/gist_id}","starred_url":"https://api.github.com/users/DrDoomsday/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DrDoomsday/subscriptions","organizations_url":"https://api.github.com/users/DrDoomsday/orgs","repos_url":"https://api.github.com/users/DrDoomsday/repos","events_url":"https://api.github.com/users/DrDoomsday/events{/privacy}","received_events_url":"https://api.github.com/users/DrDoomsday/received_events","type":"User","site_admin":false},"body":"@paulstatezny I tried doing Section5.php. I got to the last question. I know that method one \"addItem\" we are creating an array to push the Items to. I know that method two is going to display all the items in the array. I know that method three is going to get the \"cost\" value of each of the items in the array and total their value. I'm just not sure how to do that. I know that we can put the name and cost of $item in an array I'm just not sure how to create multiple arrays. So I know I have the idea down I just don't have the syntax down.","created_at":"2015-12-28T05:51:53Z","updated_at":"2015-12-28T21:32:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c9668ab02b19add1a20f9485dc2c795c49e21dde","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/DrDoomsday/forum/pulls/11/commits","review_comments_url":"https://api.github.com/repos/DrDoomsday/forum/pulls/11/comments","review_comment_url":"https://api.github.com/repos/DrDoomsday/forum/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DrDoomsday/forum/issues/11/comments","statuses_url":"https://api.github.com/repos/DrDoomsday/forum/statuses/06588531aa063c65a878a19267e91eef7c78d0f2","head":{"label":"DrDoomsday:section5.php","ref":"section5.php","sha":"06588531aa063c65a878a19267e91eef7c78d0f2","user":{"login":"DrDoomsday","id":14076818,"avatar_url":"https://avatars.githubusercontent.com/u/14076818?v=3","gravatar_id":"","url":"https://api.github.com/users/DrDoomsday","html_url":"https://github.com/DrDoomsday","followers_url":"https://api.github.com/users/DrDoomsday/followers","following_url":"https://api.github.com/users/DrDoomsday/following{/other_user}","gists_url":"https://api.github.com/users/DrDoomsday/gists{/gist_id}","starred_url":"https://api.github.com/users/DrDoomsday/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DrDoomsday/subscriptions","organizations_url":"https://api.github.com/users/DrDoomsday/orgs","repos_url":"https://api.github.com/users/DrDoomsday/repos","events_url":"https://api.github.com/users/DrDoomsday/events{/privacy}","received_events_url":"https://api.github.com/users/DrDoomsday/received_events","type":"User","site_admin":false},"repo":{"id":45805722,"name":"forum","full_name":"DrDoomsday/forum","owner":{"login":"DrDoomsday","id":14076818,"avatar_url":"https://avatars.githubusercontent.com/u/14076818?v=3","gravatar_id":"","url":"https://api.github.com/users/DrDoomsday","html_url":"https://github.com/DrDoomsday","followers_url":"https://api.github.com/users/DrDoomsday/followers","following_url":"https://api.github.com/users/DrDoomsday/following{/other_user}","gists_url":"https://api.github.com/users/DrDoomsday/gists{/gist_id}","starred_url":"https://api.github.com/users/DrDoomsday/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DrDoomsday/subscriptions","organizations_url":"https://api.github.com/users/DrDoomsday/orgs","repos_url":"https://api.github.com/users/DrDoomsday/repos","events_url":"https://api.github.com/users/DrDoomsday/events{/privacy}","received_events_url":"https://api.github.com/users/DrDoomsday/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DrDoomsday/forum","description":"Files for Forum portion of the Website","fork":false,"url":"https://api.github.com/repos/DrDoomsday/forum","forks_url":"https://api.github.com/repos/DrDoomsday/forum/forks","keys_url":"https://api.github.com/repos/DrDoomsday/forum/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DrDoomsday/forum/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DrDoomsday/forum/teams","hooks_url":"https://api.github.com/repos/DrDoomsday/forum/hooks","issue_events_url":"https://api.github.com/repos/DrDoomsday/forum/issues/events{/number}","events_url":"https://api.github.com/repos/DrDoomsday/forum/events","assignees_url":"https://api.github.com/repos/DrDoomsday/forum/assignees{/user}","branches_url":"https://api.github.com/repos/DrDoomsday/forum/branches{/branch}","tags_url":"https://api.github.com/repos/DrDoomsday/forum/tags","blobs_url":"https://api.github.com/repos/DrDoomsday/forum/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DrDoomsday/forum/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DrDoomsday/forum/git/refs{/sha}","trees_url":"https://api.github.com/repos/DrDoomsday/forum/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DrDoomsday/forum/statuses/{sha}","languages_url":"https://api.github.com/repos/DrDoomsday/forum/languages","stargazers_url":"https://api.github.com/repos/DrDoomsday/forum/stargazers","contributors_url":"https://api.github.com/repos/DrDoomsday/forum/contributors","subscribers_url":"https://api.github.com/repos/DrDoomsday/forum/subscribers","subscription_url":"https://api.github.com/repos/DrDoomsday/forum/subscription","commits_url":"https://api.github.com/repos/DrDoomsday/forum/commits{/sha}","git_commits_url":"https://api.github.com/repos/DrDoomsday/forum/git/commits{/sha}","comments_url":"https://api.github.com/repos/DrDoomsday/forum/comments{/number}","issue_comment_url":"https://api.github.com/repos/DrDoomsday/forum/issues/comments{/number}","contents_url":"https://api.github.com/repos/DrDoomsday/forum/contents/{+path}","compare_url":"https://api.github.com/repos/DrDoomsday/forum/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DrDoomsday/forum/merges","archive_url":"https://api.github.com/repos/DrDoomsday/forum/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DrDoomsday/forum/downloads","issues_url":"https://api.github.com/repos/DrDoomsday/forum/issues{/number}","pulls_url":"https://api.github.com/repos/DrDoomsday/forum/pulls{/number}","milestones_url":"https://api.github.com/repos/DrDoomsday/forum/milestones{/number}","notifications_url":"https://api.github.com/repos/DrDoomsday/forum/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DrDoomsday/forum/labels{/name}","releases_url":"https://api.github.com/repos/DrDoomsday/forum/releases{/id}","created_at":"2015-11-09T00:24:08Z","updated_at":"2015-11-14T20:16:04Z","pushed_at":"2015-12-28T21:15:22Z","git_url":"git://github.com/DrDoomsday/forum.git","ssh_url":"git@github.com:DrDoomsday/forum.git","clone_url":"https://github.com/DrDoomsday/forum.git","svn_url":"https://github.com/DrDoomsday/forum","homepage":null,"size":80,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"DrDoomsday:master","ref":"master","sha":"1f9b5490ac19ee7e6ef5c9618f4d5356a73c5f2d","user":{"login":"DrDoomsday","id":14076818,"avatar_url":"https://avatars.githubusercontent.com/u/14076818?v=3","gravatar_id":"","url":"https://api.github.com/users/DrDoomsday","html_url":"https://github.com/DrDoomsday","followers_url":"https://api.github.com/users/DrDoomsday/followers","following_url":"https://api.github.com/users/DrDoomsday/following{/other_user}","gists_url":"https://api.github.com/users/DrDoomsday/gists{/gist_id}","starred_url":"https://api.github.com/users/DrDoomsday/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DrDoomsday/subscriptions","organizations_url":"https://api.github.com/users/DrDoomsday/orgs","repos_url":"https://api.github.com/users/DrDoomsday/repos","events_url":"https://api.github.com/users/DrDoomsday/events{/privacy}","received_events_url":"https://api.github.com/users/DrDoomsday/received_events","type":"User","site_admin":false},"repo":{"id":45805722,"name":"forum","full_name":"DrDoomsday/forum","owner":{"login":"DrDoomsday","id":14076818,"avatar_url":"https://avatars.githubusercontent.com/u/14076818?v=3","gravatar_id":"","url":"https://api.github.com/users/DrDoomsday","html_url":"https://github.com/DrDoomsday","followers_url":"https://api.github.com/users/DrDoomsday/followers","following_url":"https://api.github.com/users/DrDoomsday/following{/other_user}","gists_url":"https://api.github.com/users/DrDoomsday/gists{/gist_id}","starred_url":"https://api.github.com/users/DrDoomsday/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DrDoomsday/subscriptions","organizations_url":"https://api.github.com/users/DrDoomsday/orgs","repos_url":"https://api.github.com/users/DrDoomsday/repos","events_url":"https://api.github.com/users/DrDoomsday/events{/privacy}","received_events_url":"https://api.github.com/users/DrDoomsday/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/DrDoomsday/forum","description":"Files for Forum portion of the Website","fork":false,"url":"https://api.github.com/repos/DrDoomsday/forum","forks_url":"https://api.github.com/repos/DrDoomsday/forum/forks","keys_url":"https://api.github.com/repos/DrDoomsday/forum/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DrDoomsday/forum/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DrDoomsday/forum/teams","hooks_url":"https://api.github.com/repos/DrDoomsday/forum/hooks","issue_events_url":"https://api.github.com/repos/DrDoomsday/forum/issues/events{/number}","events_url":"https://api.github.com/repos/DrDoomsday/forum/events","assignees_url":"https://api.github.com/repos/DrDoomsday/forum/assignees{/user}","branches_url":"https://api.github.com/repos/DrDoomsday/forum/branches{/branch}","tags_url":"https://api.github.com/repos/DrDoomsday/forum/tags","blobs_url":"https://api.github.com/repos/DrDoomsday/forum/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DrDoomsday/forum/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DrDoomsday/forum/git/refs{/sha}","trees_url":"https://api.github.com/repos/DrDoomsday/forum/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DrDoomsday/forum/statuses/{sha}","languages_url":"https://api.github.com/repos/DrDoomsday/forum/languages","stargazers_url":"https://api.github.com/repos/DrDoomsday/forum/stargazers","contributors_url":"https://api.github.com/repos/DrDoomsday/forum/contributors","subscribers_url":"https://api.github.com/repos/DrDoomsday/forum/subscribers","subscription_url":"https://api.github.com/repos/DrDoomsday/forum/subscription","commits_url":"https://api.github.com/repos/DrDoomsday/forum/commits{/sha}","git_commits_url":"https://api.github.com/repos/DrDoomsday/forum/git/commits{/sha}","comments_url":"https://api.github.com/repos/DrDoomsday/forum/comments{/number}","issue_comment_url":"https://api.github.com/repos/DrDoomsday/forum/issues/comments{/number}","contents_url":"https://api.github.com/repos/DrDoomsday/forum/contents/{+path}","compare_url":"https://api.github.com/repos/DrDoomsday/forum/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DrDoomsday/forum/merges","archive_url":"https://api.github.com/repos/DrDoomsday/forum/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DrDoomsday/forum/downloads","issues_url":"https://api.github.com/repos/DrDoomsday/forum/issues{/number}","pulls_url":"https://api.github.com/repos/DrDoomsday/forum/pulls{/number}","milestones_url":"https://api.github.com/repos/DrDoomsday/forum/milestones{/number}","notifications_url":"https://api.github.com/repos/DrDoomsday/forum/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DrDoomsday/forum/labels{/name}","releases_url":"https://api.github.com/repos/DrDoomsday/forum/releases{/id}","created_at":"2015-11-09T00:24:08Z","updated_at":"2015-11-14T20:16:04Z","pushed_at":"2015-12-28T21:15:22Z","git_url":"git://github.com/DrDoomsday/forum.git","ssh_url":"git@github.com:DrDoomsday/forum.git","clone_url":"https://github.com/DrDoomsday/forum.git","svn_url":"https://github.com/DrDoomsday/forum","homepage":null,"size":80,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DrDoomsday/forum/pulls/11"},"html":{"href":"https://github.com/DrDoomsday/forum/pull/11"},"issue":{"href":"https://api.github.com/repos/DrDoomsday/forum/issues/11"},"comments":{"href":"https://api.github.com/repos/DrDoomsday/forum/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/DrDoomsday/forum/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/DrDoomsday/forum/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DrDoomsday/forum/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/DrDoomsday/forum/statuses/06588531aa063c65a878a19267e91eef7c78d0f2"}}}}