{"action":"created","issue":{"url":"https://api.github.com/repos/roots/bedrock-ansible/issues/254","labels_url":"https://api.github.com/repos/roots/bedrock-ansible/issues/254/labels{/name}","comments_url":"https://api.github.com/repos/roots/bedrock-ansible/issues/254/comments","events_url":"https://api.github.com/repos/roots/bedrock-ansible/issues/254/events","html_url":"https://github.com/roots/bedrock-ansible/pull/254","id":91919720,"number":254,"title":"Update env.j2","user":{"login":"nathanielks","id":314009,"avatar_url":"https://avatars.githubusercontent.com/u/314009?v=3","gravatar_id":"","url":"https://api.github.com/users/nathanielks","html_url":"https://github.com/nathanielks","followers_url":"https://api.github.com/users/nathanielks/followers","following_url":"https://api.github.com/users/nathanielks/following{/other_user}","gists_url":"https://api.github.com/users/nathanielks/gists{/gist_id}","starred_url":"https://api.github.com/users/nathanielks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathanielks/subscriptions","organizations_url":"https://api.github.com/users/nathanielks/orgs","repos_url":"https://api.github.com/users/nathanielks/repos","events_url":"https://api.github.com/users/nathanielks/events{/privacy}","received_events_url":"https://api.github.com/users/nathanielks/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-06-29T21:57:58Z","updated_at":"2015-07-01T19:30:37Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/roots/bedrock-ansible/pulls/254","html_url":"https://github.com/roots/bedrock-ansible/pull/254","diff_url":"https://github.com/roots/bedrock-ansible/pull/254.diff","patch_url":"https://github.com/roots/bedrock-ansible/pull/254.patch"},"body":"Jinja converts boolean values to \"True\" and \"False,\" which php doesn't like. This converts those values to values php will interpret as booleans."},"comment":{"url":"https://api.github.com/repos/roots/bedrock-ansible/issues/comments/117801500","html_url":"https://github.com/roots/bedrock-ansible/pull/254#issuecomment-117801500","issue_url":"https://api.github.com/repos/roots/bedrock-ansible/issues/254","id":117801500,"user":{"login":"swalkinshaw","id":295605,"avatar_url":"https://avatars.githubusercontent.com/u/295605?v=3","gravatar_id":"","url":"https://api.github.com/users/swalkinshaw","html_url":"https://github.com/swalkinshaw","followers_url":"https://api.github.com/users/swalkinshaw/followers","following_url":"https://api.github.com/users/swalkinshaw/following{/other_user}","gists_url":"https://api.github.com/users/swalkinshaw/gists{/gist_id}","starred_url":"https://api.github.com/users/swalkinshaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swalkinshaw/subscriptions","organizations_url":"https://api.github.com/users/swalkinshaw/orgs","repos_url":"https://api.github.com/users/swalkinshaw/repos","events_url":"https://api.github.com/users/swalkinshaw/events{/privacy}","received_events_url":"https://api.github.com/users/swalkinshaw/received_events","type":"User","site_admin":false},"created_at":"2015-07-01T19:30:37Z","updated_at":"2015-07-01T19:30:37Z","body":"@nathanielks I did some tests:\r\n\r\n```yaml\r\nenv:\r\n  foo1: true\r\n  foo2: True\r\n  foo3: 1\r\n  foo4: 0\r\n  foo5: 'true'\r\n```\r\n\r\n```php\r\nvar_dump(getenv('FOO1'));\r\nvar_dump(getenv('FOO2'));\r\nvar_dump(getenv('FOO3'));\r\nvar_dump(getenv('FOO4'));\r\nvar_dump(getenv('FOO5'));\r\nvar_dump(getenv('FOO6'));\r\n```\r\n\r\nResults in:\r\n\r\n```\r\nstring(4) \"True\"\r\nstring(4) \"True\"\r\nstring(1) \"1\"\r\nstring(0) \"\"\r\nstring(4) \"true\"\r\nstring(4) \"True\"\r\n```\r\n"}}