what’s the meaning/function for ‘??’ in php/laravel [duplicate] - development

what’s the meaning/function for ‘??’ in php/laravel [duplicate]

This question already has an answer here:

I found out that laravel use ‘??’ symbol in php

the example code is

  $this->connections->connection($config['connection'] ?? null)

What does ‘??’ mean ?



from Laravel Questions and Answers https://laravelquestions.com/php/whats-the-meaning-function-for-in-php-laravel-duplicate/
via Lzo Media

Comments

Popular posts from this blog

ng-show doesn’t work correct with value boolean

ng-include of inline SVG does not display gradient except in Chrome

Using PHP and MySQL data to generate PDF letters like in MS Word mailmerge functionality - development