{"action":"created","issue":{"url":"https://api.github.com/repos/Nizarii/arma-rcon-class-php/issues/10","repository_url":"https://api.github.com/repos/Nizarii/arma-rcon-class-php","labels_url":"https://api.github.com/repos/Nizarii/arma-rcon-class-php/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/Nizarii/arma-rcon-class-php/issues/10/comments","events_url":"https://api.github.com/repos/Nizarii/arma-rcon-class-php/issues/10/events","html_url":"https://github.com/Nizarii/arma-rcon-class-php/issues/10","id":155303639,"number":10,"title":"getPlayersArray / getBansArray","user":{"login":"0FaKE","id":19412863,"avatar_url":"https://avatars.githubusercontent.com/u/19412863?v=3","gravatar_id":"","url":"https://api.github.com/users/0FaKE","html_url":"https://github.com/0FaKE","followers_url":"https://api.github.com/users/0FaKE/followers","following_url":"https://api.github.com/users/0FaKE/following{/other_user}","gists_url":"https://api.github.com/users/0FaKE/gists{/gist_id}","starred_url":"https://api.github.com/users/0FaKE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0FaKE/subscriptions","organizations_url":"https://api.github.com/users/0FaKE/orgs","repos_url":"https://api.github.com/users/0FaKE/repos","events_url":"https://api.github.com/users/0FaKE/events{/privacy}","received_events_url":"https://api.github.com/users/0FaKE/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-05-17T16:28:08Z","updated_at":"2016-05-18T15:44:20Z","closed_at":null,"body":">  Nizarii commented 3 days ago\r\n\r\nMir ist bis jetzt nichts Ungewöhnliches aufgefallen, bis auf https://github.com/Nizarii/arma-rcon-class-php/blob/master/arc.php#L532. Kannst bitte mal die Funktion formatList durch **diese hier** ersetzten? Vielen Dank schon mal im voraus! :+1:\r\n\r\n\r\nIch habe das selbe Problem, dass offenbar schon geklärt wurde.\r\nLeider ist der \"diese hier\" Github Link von dir nicht mehr aktiv.\r\n\r\nDie Fehlerquelle ist:\r\n\r\npreg_match_all(\"#(\\d+)\\s+(\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}:\\d+\\b)\\s+(\\d+)\\s+([0-9a-fA-F]+)\\(\\w+\\)\\s([\\S ]+)$#im\", $bans, $str);\r\n\r\nEr sortiert das PlayersArray ordentlich, gibt aber bei den Bans boolean:null aus.\r\n\r\nIch kann den Fehler darin leider nicht finden.\r\nDie preg_match_all Suche liefert keinen Wert zurück. Warum, wo ist der Fehler?\r\nDas Suchmuster ist das selbige wie bei dem PlayerArray"},"comment":{"url":"https://api.github.com/repos/Nizarii/arma-rcon-class-php/issues/comments/220068719","html_url":"https://github.com/Nizarii/arma-rcon-class-php/issues/10#issuecomment-220068719","issue_url":"https://api.github.com/repos/Nizarii/arma-rcon-class-php/issues/10","id":220068719,"user":{"login":"Nizarii","id":14844186,"avatar_url":"https://avatars.githubusercontent.com/u/14844186?v=3","gravatar_id":"","url":"https://api.github.com/users/Nizarii","html_url":"https://github.com/Nizarii","followers_url":"https://api.github.com/users/Nizarii/followers","following_url":"https://api.github.com/users/Nizarii/following{/other_user}","gists_url":"https://api.github.com/users/Nizarii/gists{/gist_id}","starred_url":"https://api.github.com/users/Nizarii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nizarii/subscriptions","organizations_url":"https://api.github.com/users/Nizarii/orgs","repos_url":"https://api.github.com/users/Nizarii/repos","events_url":"https://api.github.com/users/Nizarii/events{/privacy}","received_events_url":"https://api.github.com/users/Nizarii/received_events","type":"User","site_admin":false},"created_at":"2016-05-18T15:44:20Z","updated_at":"2016-05-18T15:44:20Z","body":"Danke für die Rückmeldung, ich schau mir mal die RegEx an. Nochmals wegen der Verbindung, diese bleibt bis zur Beendung des Scripts bestehen und wird dann automatisch geschlossen. Solltest du diese vorher schließen wollen, musst du nur `close()` ausführen. Die Verbindung aufrecht zu erhalten nach Ausführung des Scripts ist nur mit einem Daemon möglich und es sollte da ebenfalls kein Problem mit dem Destruktor auftreten."}}