On Tue, Mar 8, 2016 at 9:59 AM, Midori Kocak wrote:
>
> $this->request->data['comments']['user_id'] =
> $this->request->data['comments']['user_id'] ?? ‘value’;
> $this->request->data['comments']['user_id’] ??= ‘value’;
>
RFC it so there's a proper vote process, but you've got mine (pending
a pro
On 3/8/2016 6:59 PM, Midori Kocak wrote:
> Remember my question?
>
> $this->request->data['comments']['user_id'] =
> $this->request->data['comments']['user_id'] ?? ‘value’;
>
> I want to check if some var is null and if the same var is null set the same
> var to ‘value’.
>
> Hence I am repeat
On 3/8/16 11:59 AM, Midori Kocak wrote:
Remember my question?
$this->request->data['comments']['user_id'] =
$this->request->data['comments']['user_id'] ?? ‘value’;
I want to check if some var is null and if the same var is null set the same
var to ‘value’.
Hence I am repeating the same var
Remember my question?
$this->request->data['comments']['user_id'] =
$this->request->data['comments']['user_id'] ?? ‘value’;
I want to check if some var is null and if the same var is null set the same
var to ‘value’.
Hence I am repeating the same variable after the equal operator, this does n
A question about null coalescing operator..
$this->request->data['comments']['user_id'] =
$this->request->data['comments']['user_id'] ?? ‘value’;
I want to check if some var is null and if the same var is null set the same
var to ‘value’.
Hence I am repeating the same variable after the equal