{"action":"created","comment":{"url":"https://api.github.com/repos/SimpleMachines/SMF2.1/pulls/comments/36049230","id":36049230,"diff_hunk":"@@ -899,6 +899,28 @@ function permute($array)\n \treturn $orders;\n }\n \n+// Rearranges all parameters to be in the right order.  Returns TRUE if no parameters are leftover.\n+function_param_order($message, &$parameters, &$out)\n+{\n+\t$params = explode(' ', substr($message, 0, strpos($message, ']')));","path":"Sources/Subs.php","position":7,"original_position":7,"commit_id":"c2db5300b222cf139909cd20ac800b2683d96fcf","original_commit_id":"c2db5300b222cf139909cd20ac800b2683d96fcf","user":{"login":"douglasorend","id":13600973,"avatar_url":"https://avatars.githubusercontent.com/u/13600973?v=3","gravatar_id":"","url":"https://api.github.com/users/douglasorend","html_url":"https://github.com/douglasorend","followers_url":"https://api.github.com/users/douglasorend/followers","following_url":"https://api.github.com/users/douglasorend/following{/other_user}","gists_url":"https://api.github.com/users/douglasorend/gists{/gist_id}","starred_url":"https://api.github.com/users/douglasorend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/douglasorend/subscriptions","organizations_url":"https://api.github.com/users/douglasorend/orgs","repos_url":"https://api.github.com/users/douglasorend/repos","events_url":"https://api.github.com/users/douglasorend/events{/privacy}","received_events_url":"https://api.github.com/users/douglasorend/received_events","type":"User","site_admin":false},"body":"Please provide an example.","created_at":"2015-08-02T22:53:24Z","updated_at":"2015-08-02T22:53:24Z","html_url":"https://github.com/SimpleMachines/SMF2.1/pull/2957#discussion_r36049230","pull_request_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/pulls/2957","_links":{"self":{"href":"https://api.github.com/repos/SimpleMachines/SMF2.1/pulls/comments/36049230"},"html":{"href":"https://github.com/SimpleMachines/SMF2.1/pull/2957#discussion_r36049230"},"pull_request":{"href":"https://api.github.com/repos/SimpleMachines/SMF2.1/pulls/2957"}}},"pull_request":{"url":"https://api.github.com/repos/SimpleMachines/SMF2.1/pulls/2957","id":41401973,"html_url":"https://github.com/SimpleMachines/SMF2.1/pull/2957","diff_url":"https://github.com/SimpleMachines/SMF2.1/pull/2957.diff","patch_url":"https://github.com/SimpleMachines/SMF2.1/pull/2957.patch","issue_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/issues/2957","number":2957,"state":"open","locked":false,"title":"Subs.php - Faster/Better Parser Modification","user":{"login":"douglasorend","id":13600973,"avatar_url":"https://avatars.githubusercontent.com/u/13600973?v=3","gravatar_id":"","url":"https://api.github.com/users/douglasorend","html_url":"https://github.com/douglasorend","followers_url":"https://api.github.com/users/douglasorend/followers","following_url":"https://api.github.com/users/douglasorend/following{/other_user}","gists_url":"https://api.github.com/users/douglasorend/gists{/gist_id}","starred_url":"https://api.github.com/users/douglasorend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/douglasorend/subscriptions","organizations_url":"https://api.github.com/users/douglasorend/orgs","repos_url":"https://api.github.com/users/douglasorend/repos","events_url":"https://api.github.com/users/douglasorend/events{/privacy}","received_events_url":"https://api.github.com/users/douglasorend/received_events","type":"User","site_admin":false},"body":"Please see http://www.simplemachines.org/community/index.php?topic=538611.0 for a description of the issue and my solution.  Thank you!\r\n\r\nSigned-off-by: Douglas Orend douglas.orend@comcast.net","created_at":"2015-08-01T13:48:23Z","updated_at":"2015-08-02T22:53:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c2c81bb11c46c2b90358baa240eab73b7583443a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/pulls/2957/commits","review_comments_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/pulls/2957/comments","review_comment_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/pulls/comments{/number}","comments_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/issues/2957/comments","statuses_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/statuses/c2db5300b222cf139909cd20ac800b2683d96fcf","head":{"label":"douglasorend:patch-1","ref":"patch-1","sha":"c2db5300b222cf139909cd20ac800b2683d96fcf","user":{"login":"douglasorend","id":13600973,"avatar_url":"https://avatars.githubusercontent.com/u/13600973?v=3","gravatar_id":"","url":"https://api.github.com/users/douglasorend","html_url":"https://github.com/douglasorend","followers_url":"https://api.github.com/users/douglasorend/followers","following_url":"https://api.github.com/users/douglasorend/following{/other_user}","gists_url":"https://api.github.com/users/douglasorend/gists{/gist_id}","starred_url":"https://api.github.com/users/douglasorend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/douglasorend/subscriptions","organizations_url":"https://api.github.com/users/douglasorend/orgs","repos_url":"https://api.github.com/users/douglasorend/repos","events_url":"https://api.github.com/users/douglasorend/events{/privacy}","received_events_url":"https://api.github.com/users/douglasorend/received_events","type":"User","site_admin":false},"repo":{"id":40047898,"name":"SMF2.1","full_name":"douglasorend/SMF2.1","owner":{"login":"douglasorend","id":13600973,"avatar_url":"https://avatars.githubusercontent.com/u/13600973?v=3","gravatar_id":"","url":"https://api.github.com/users/douglasorend","html_url":"https://github.com/douglasorend","followers_url":"https://api.github.com/users/douglasorend/followers","following_url":"https://api.github.com/users/douglasorend/following{/other_user}","gists_url":"https://api.github.com/users/douglasorend/gists{/gist_id}","starred_url":"https://api.github.com/users/douglasorend/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/douglasorend/subscriptions","organizations_url":"https://api.github.com/users/douglasorend/orgs","repos_url":"https://api.github.com/users/douglasorend/repos","events_url":"https://api.github.com/users/douglasorend/events{/privacy}","received_events_url":"https://api.github.com/users/douglasorend/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/douglasorend/SMF2.1","description":"Thoughts, Ideas and bits of code for SMF (2.1)","fork":true,"url":"https://api.github.com/repos/douglasorend/SMF2.1","forks_url":"https://api.github.com/repos/douglasorend/SMF2.1/forks","keys_url":"https://api.github.com/repos/douglasorend/SMF2.1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/douglasorend/SMF2.1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/douglasorend/SMF2.1/teams","hooks_url":"https://api.github.com/repos/douglasorend/SMF2.1/hooks","issue_events_url":"https://api.github.com/repos/douglasorend/SMF2.1/issues/events{/number}","events_url":"https://api.github.com/repos/douglasorend/SMF2.1/events","assignees_url":"https://api.github.com/repos/douglasorend/SMF2.1/assignees{/user}","branches_url":"https://api.github.com/repos/douglasorend/SMF2.1/branches{/branch}","tags_url":"https://api.github.com/repos/douglasorend/SMF2.1/tags","blobs_url":"https://api.github.com/repos/douglasorend/SMF2.1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/douglasorend/SMF2.1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/douglasorend/SMF2.1/git/refs{/sha}","trees_url":"https://api.github.com/repos/douglasorend/SMF2.1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/douglasorend/SMF2.1/statuses/{sha}","languages_url":"https://api.github.com/repos/douglasorend/SMF2.1/languages","stargazers_url":"https://api.github.com/repos/douglasorend/SMF2.1/stargazers","contributors_url":"https://api.github.com/repos/douglasorend/SMF2.1/contributors","subscribers_url":"https://api.github.com/repos/douglasorend/SMF2.1/subscribers","subscription_url":"https://api.github.com/repos/douglasorend/SMF2.1/subscription","commits_url":"https://api.github.com/repos/douglasorend/SMF2.1/commits{/sha}","git_commits_url":"https://api.github.com/repos/douglasorend/SMF2.1/git/commits{/sha}","comments_url":"https://api.github.com/repos/douglasorend/SMF2.1/comments{/number}","issue_comment_url":"https://api.github.com/repos/douglasorend/SMF2.1/issues/comments{/number}","contents_url":"https://api.github.com/repos/douglasorend/SMF2.1/contents/{+path}","compare_url":"https://api.github.com/repos/douglasorend/SMF2.1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/douglasorend/SMF2.1/merges","archive_url":"https://api.github.com/repos/douglasorend/SMF2.1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/douglasorend/SMF2.1/downloads","issues_url":"https://api.github.com/repos/douglasorend/SMF2.1/issues{/number}","pulls_url":"https://api.github.com/repos/douglasorend/SMF2.1/pulls{/number}","milestones_url":"https://api.github.com/repos/douglasorend/SMF2.1/milestones{/number}","notifications_url":"https://api.github.com/repos/douglasorend/SMF2.1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/douglasorend/SMF2.1/labels{/name}","releases_url":"https://api.github.com/repos/douglasorend/SMF2.1/releases{/id}","created_at":"2015-08-01T13:46:24Z","updated_at":"2015-08-01T13:46:27Z","pushed_at":"2015-08-02T20:49:25Z","git_url":"git://github.com/douglasorend/SMF2.1.git","ssh_url":"git@github.com:douglasorend/SMF2.1.git","clone_url":"https://github.com/douglasorend/SMF2.1.git","svn_url":"https://github.com/douglasorend/SMF2.1","homepage":"","size":40314,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"release-2.1"}},"base":{"label":"SimpleMachines:release-2.1","ref":"release-2.1","sha":"19db20808631c5204d95ed41cbfbae66b8055d78","user":{"login":"SimpleMachines","id":1085746,"avatar_url":"https://avatars.githubusercontent.com/u/1085746?v=3","gravatar_id":"","url":"https://api.github.com/users/SimpleMachines","html_url":"https://github.com/SimpleMachines","followers_url":"https://api.github.com/users/SimpleMachines/followers","following_url":"https://api.github.com/users/SimpleMachines/following{/other_user}","gists_url":"https://api.github.com/users/SimpleMachines/gists{/gist_id}","starred_url":"https://api.github.com/users/SimpleMachines/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimpleMachines/subscriptions","organizations_url":"https://api.github.com/users/SimpleMachines/orgs","repos_url":"https://api.github.com/users/SimpleMachines/repos","events_url":"https://api.github.com/users/SimpleMachines/events{/privacy}","received_events_url":"https://api.github.com/users/SimpleMachines/received_events","type":"Organization","site_admin":false},"repo":{"id":3257475,"name":"SMF2.1","full_name":"SimpleMachines/SMF2.1","owner":{"login":"SimpleMachines","id":1085746,"avatar_url":"https://avatars.githubusercontent.com/u/1085746?v=3","gravatar_id":"","url":"https://api.github.com/users/SimpleMachines","html_url":"https://github.com/SimpleMachines","followers_url":"https://api.github.com/users/SimpleMachines/followers","following_url":"https://api.github.com/users/SimpleMachines/following{/other_user}","gists_url":"https://api.github.com/users/SimpleMachines/gists{/gist_id}","starred_url":"https://api.github.com/users/SimpleMachines/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimpleMachines/subscriptions","organizations_url":"https://api.github.com/users/SimpleMachines/orgs","repos_url":"https://api.github.com/users/SimpleMachines/repos","events_url":"https://api.github.com/users/SimpleMachines/events{/privacy}","received_events_url":"https://api.github.com/users/SimpleMachines/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SimpleMachines/SMF2.1","description":"Thoughts, Ideas and bits of code for SMF (2.1)","fork":false,"url":"https://api.github.com/repos/SimpleMachines/SMF2.1","forks_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/forks","keys_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/teams","hooks_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/hooks","issue_events_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/issues/events{/number}","events_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/events","assignees_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/assignees{/user}","branches_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/branches{/branch}","tags_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/tags","blobs_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/git/refs{/sha}","trees_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/statuses/{sha}","languages_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/languages","stargazers_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/stargazers","contributors_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/contributors","subscribers_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/subscribers","subscription_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/subscription","commits_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/commits{/sha}","git_commits_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/git/commits{/sha}","comments_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/comments{/number}","issue_comment_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/issues/comments{/number}","contents_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/contents/{+path}","compare_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/merges","archive_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/downloads","issues_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/issues{/number}","pulls_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/pulls{/number}","milestones_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/milestones{/number}","notifications_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/labels{/name}","releases_url":"https://api.github.com/repos/SimpleMachines/SMF2.1/releases{/id}","created_at":"2012-01-24T16:36:19Z","updated_at":"2015-07-29T16:43:08Z","pushed_at":"2015-08-01T13:48:23Z","git_url":"git://github.com/SimpleMachines/SMF2.1.git","ssh_url":"git@github.com:SimpleMachines/SMF2.1.git","clone_url":"https://github.com/SimpleMachines/SMF2.1.git","svn_url":"https://github.com/SimpleMachines/SMF2.1","homepage":"","size":40314,"stargazers_count":170,"watchers_count":170,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":139,"mirror_url":null,"open_issues_count":136,"forks":139,"open_issues":136,"watchers":170,"default_branch":"release-2.1"}},"_links":{"self":{"href":"https://api.github.com/repos/SimpleMachines/SMF2.1/pulls/2957"},"html":{"href":"https://github.com/SimpleMachines/SMF2.1/pull/2957"},"issue":{"href":"https://api.github.com/repos/SimpleMachines/SMF2.1/issues/2957"},"comments":{"href":"https://api.github.com/repos/SimpleMachines/SMF2.1/issues/2957/comments"},"review_comments":{"href":"https://api.github.com/repos/SimpleMachines/SMF2.1/pulls/2957/comments"},"review_comment":{"href":"https://api.github.com/repos/SimpleMachines/SMF2.1/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/SimpleMachines/SMF2.1/pulls/2957/commits"},"statuses":{"href":"https://api.github.com/repos/SimpleMachines/SMF2.1/statuses/c2db5300b222cf139909cd20ac800b2683d96fcf"}}}}