{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/hhvm/issues/7239","repository_url":"https://api.github.com/repos/facebook/hhvm","labels_url":"https://api.github.com/repos/facebook/hhvm/issues/7239/labels{/name}","comments_url":"https://api.github.com/repos/facebook/hhvm/issues/7239/comments","events_url":"https://api.github.com/repos/facebook/hhvm/issues/7239/events","html_url":"https://github.com/facebook/hhvm/issues/7239","id":166490177,"number":7239,"title":"No return from array_unique() with Nested arrays halts and throws array to string conversion","user":{"login":"photodude","id":10253980,"avatar_url":"https://avatars.githubusercontent.com/u/10253980?v=3","gravatar_id":"","url":"https://api.github.com/users/photodude","html_url":"https://github.com/photodude","followers_url":"https://api.github.com/users/photodude/followers","following_url":"https://api.github.com/users/photodude/following{/other_user}","gists_url":"https://api.github.com/users/photodude/gists{/gist_id}","starred_url":"https://api.github.com/users/photodude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/photodude/subscriptions","organizations_url":"https://api.github.com/users/photodude/orgs","repos_url":"https://api.github.com/users/photodude/repos","events_url":"https://api.github.com/users/photodude/events{/privacy}","received_events_url":"https://api.github.com/users/photodude/received_events","type":"User","site_admin":false},"labels":[{"id":34421,"url":"https://api.github.com/repos/facebook/hhvm/labels/php5%20incompatibility","name":"php5 incompatibility","color":"837ced","default":false},{"id":190045067,"url":"https://api.github.com/repos/facebook/hhvm/labels/php7%20incompatibility","name":"php7 incompatibility","color":"0052cc","default":false},{"id":123540600,"url":"https://api.github.com/repos/facebook/hhvm/labels/probably%20easy","name":"probably easy","color":"009800","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-07-20T04:06:14Z","updated_at":"2016-11-14T19:07:20Z","closed_at":null,"body":"### HHVM Version 3.12.5 / 3.14.3\n### Standalone code, or other way to reproduce the problem\n\nNo return from array_unique() with Nested arrays halts and throws array to string conversion\n\nHappens with two nested arrays merged and made unique\n\n `array_unique(array_merge($this->_links, $data['links']))`\n\n``` php\n<?php\nerror_reporting(E_ALL);\n$b = array(\n  'index.php' =>\n  array(\n    'relation' => \"Start\",\n    'relType'  => \"rel\",\n    'attribs'  => array(),\n  )\n);\n$c = array(\n  'index.php' => \n  array(\n    'relation' => \"Start\",\n    'relType'  => \"rel\",\n    'attribs'  => array(),\n  )\n);\n$u = array_unique(array_merge($b,$c));\n```\n\nRelated issue https://github.com/facebook/hhvm/issues/1561\n### Expected result\n\nShould return a new array without duplicate values ignoring internal `array to string conversion` notices from the nested arrays\n### Actual result\n\n[no array is returned, just the `array to string conversion` notice is thrown](https://travis-ci.org/photodude/joomla-cms/jobs/145968091#L1259-L1260)\n"},"comment":{"url":"https://api.github.com/repos/facebook/hhvm/issues/comments/260429841","html_url":"https://github.com/facebook/hhvm/issues/7239#issuecomment-260429841","issue_url":"https://api.github.com/repos/facebook/hhvm/issues/7239","id":260429841,"user":{"login":"Orvid","id":709247,"avatar_url":"https://avatars.githubusercontent.com/u/709247?v=3","gravatar_id":"","url":"https://api.github.com/users/Orvid","html_url":"https://github.com/Orvid","followers_url":"https://api.github.com/users/Orvid/followers","following_url":"https://api.github.com/users/Orvid/following{/other_user}","gists_url":"https://api.github.com/users/Orvid/gists{/gist_id}","starred_url":"https://api.github.com/users/Orvid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Orvid/subscriptions","organizations_url":"https://api.github.com/users/Orvid/orgs","repos_url":"https://api.github.com/users/Orvid/repos","events_url":"https://api.github.com/users/Orvid/events{/privacy}","received_events_url":"https://api.github.com/users/Orvid/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T19:07:19Z","updated_at":"2016-11-14T19:07:19Z","body":"@photodude The hhvm 3.14.4 error is an issue with 3v4l.org's config currently. :("}}
{"actor":{"display_login":"Orvid"}}