DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
php null coalesce
// if $_POST['name'] doesn't exist $result will equal to John $result = $_POST['name'] ?? 'John';
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#php
#null
#coalesce
ADD COMMENT
Topic
COMMENT
Name
2+1 =
Submit