<?php $empty_string = ""; $value1 = $empty_string ?: "non-empty string"; var_dump($value1); $non_empty_string = "something"; $value2 = $non_empty_string ?: "non-empty string"; var_dump($value2);
You have javascript disabled. You will not be able to edit any code.