Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
PHP
php null coalesce
Proud Puma
Programming language:
PHP
2021-05-19 16:27:35
0
Q:
php null coalesce
Phil Hatcher
Code:
PHP
2021-07-14 16:59:20
// if $_POST['name'] doesn't exist $result will equal to John $result = $_POST['name'] ?? 'John';
2
Tags
php
Related
null value in php stackoverflow
php check for null
integer nullable laravel
remove null values from array php
null condition in php
laravel query not null
php null
laravel where is null
null php
is null php
New to Communities?
Join the community