{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/10135","repository_url":"https://api.github.com/repos/laravel/framework","labels_url":"https://api.github.com/repos/laravel/framework/issues/10135/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/10135/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/10135/events","html_url":"https://github.com/laravel/framework/issues/10135","id":104554865,"number":10135,"title":"[5.1] Blade \"or\" Syntax Issue","user":{"login":"khninethree","id":908259,"avatar_url":"https://avatars.githubusercontent.com/u/908259?v=3","gravatar_id":"","url":"https://api.github.com/users/khninethree","html_url":"https://github.com/khninethree","followers_url":"https://api.github.com/users/khninethree/followers","following_url":"https://api.github.com/users/khninethree/following{/other_user}","gists_url":"https://api.github.com/users/khninethree/gists{/gist_id}","starred_url":"https://api.github.com/users/khninethree/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khninethree/subscriptions","organizations_url":"https://api.github.com/users/khninethree/orgs","repos_url":"https://api.github.com/users/khninethree/repos","events_url":"https://api.github.com/users/khninethree/events{/privacy}","received_events_url":"https://api.github.com/users/khninethree/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-02T19:26:52Z","updated_at":"2016-04-09T12:07:11Z","closed_at":"2015-09-02T20:12:38Z","body":"It seems as if the blade or syntax is causing an issue using a variable and a function:\r\n\r\neg:\r\n`{!! $form->text('search', null, ['placeholder' => 'this or that']) !!}`\r\n\r\nIs being compiled into:\r\n`<?php echo isset($form->text('search', null, ['placeholder' => 'this) ? $form->text('search', null, ['placeholder' => 'this : that']); ?>`\r\n\r\nIt seems this only happens if a variable is used, when using:\r\n`{!! Form::text('search', null, ['placeholder' => 'this or that']) !!}`\r\n\r\nThe syntax is formatted cleanly."},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/207780659","html_url":"https://github.com/laravel/framework/issues/10135#issuecomment-207780659","issue_url":"https://api.github.com/repos/laravel/framework/issues/10135","id":207780659,"user":{"login":"rkgrep","id":2423048,"avatar_url":"https://avatars.githubusercontent.com/u/2423048?v=3","gravatar_id":"","url":"https://api.github.com/users/rkgrep","html_url":"https://github.com/rkgrep","followers_url":"https://api.github.com/users/rkgrep/followers","following_url":"https://api.github.com/users/rkgrep/following{/other_user}","gists_url":"https://api.github.com/users/rkgrep/gists{/gist_id}","starred_url":"https://api.github.com/users/rkgrep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkgrep/subscriptions","organizations_url":"https://api.github.com/users/rkgrep/orgs","repos_url":"https://api.github.com/users/rkgrep/repos","events_url":"https://api.github.com/users/rkgrep/events{/privacy}","received_events_url":"https://api.github.com/users/rkgrep/received_events","type":"User","site_admin":false},"created_at":"2016-04-09T12:07:11Z","updated_at":"2016-04-09T12:07:11Z","body":"@GrahamCampbell I meant to replace `or` with `??` in blade syntax. However found a closed PR on that, so never mind."}}