{"action":"created","issue":{"url":"https://api.github.com/repos/krakjoe/pthreads/issues/545","labels_url":"https://api.github.com/repos/krakjoe/pthreads/issues/545/labels{/name}","comments_url":"https://api.github.com/repos/krakjoe/pthreads/issues/545/comments","events_url":"https://api.github.com/repos/krakjoe/pthreads/issues/545/events","html_url":"https://github.com/krakjoe/pthreads/issues/545","id":125609169,"number":545,"title":"pthreads 2.0 incompatible to PHP7","user":{"login":"deeky666","id":1411514,"avatar_url":"https://avatars.githubusercontent.com/u/1411514?v=3","gravatar_id":"","url":"https://api.github.com/users/deeky666","html_url":"https://github.com/deeky666","followers_url":"https://api.github.com/users/deeky666/followers","following_url":"https://api.github.com/users/deeky666/following{/other_user}","gists_url":"https://api.github.com/users/deeky666/gists{/gist_id}","starred_url":"https://api.github.com/users/deeky666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deeky666/subscriptions","organizations_url":"https://api.github.com/users/deeky666/orgs","repos_url":"https://api.github.com/users/deeky666/repos","events_url":"https://api.github.com/users/deeky666/events{/privacy}","received_events_url":"https://api.github.com/users/deeky666/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-08T13:08:21Z","updated_at":"2016-01-08T13:24:38Z","closed_at":null,"body":"Just encountered the following compile error when trying to build pthreads 2.0.10 with PHP7:\r\n\r\n```\r\npthreads.h:41:40: fatal error: ext/standard/php_smart_str.h: No such file or directory\r\n #include <ext/standard/php_smart_str.h>\r\n                                        ^\r\ncompilation terminated.\r\nMakefile:194: recipe for target 'php_pthreads.lo' failed\r\nmake: *** [php_pthreads.lo] Error 1\r\n```\r\n\r\nLooks like in PHP 5 the header file is named `php_smart_str.h` while it is named `php_smart_string.h` in PHP7. If pthreads 2.0 is not intended to be compatible with PHP7, at least the documentation should reflect this. Currently it states as requirements `PHP5.3+`."},"comment":{"url":"https://api.github.com/repos/krakjoe/pthreads/issues/comments/170003195","html_url":"https://github.com/krakjoe/pthreads/issues/545#issuecomment-170003195","issue_url":"https://api.github.com/repos/krakjoe/pthreads/issues/545","id":170003195,"user":{"login":"smolinari","id":3314957,"avatar_url":"https://avatars.githubusercontent.com/u/3314957?v=3","gravatar_id":"","url":"https://api.github.com/users/smolinari","html_url":"https://github.com/smolinari","followers_url":"https://api.github.com/users/smolinari/followers","following_url":"https://api.github.com/users/smolinari/following{/other_user}","gists_url":"https://api.github.com/users/smolinari/gists{/gist_id}","starred_url":"https://api.github.com/users/smolinari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smolinari/subscriptions","organizations_url":"https://api.github.com/users/smolinari/orgs","repos_url":"https://api.github.com/users/smolinari/repos","events_url":"https://api.github.com/users/smolinari/events{/privacy}","received_events_url":"https://api.github.com/users/smolinari/received_events","type":"User","site_admin":false},"created_at":"2016-01-08T13:24:38Z","updated_at":"2016-01-08T13:24:38Z","body":"Only version 3 works with PHP7.\r\n\r\nScott"}}