<?php function x(){ throw new Exception; } try { $a = 'meukee'; $x = $a ?? x(); var_dump($x); $a = null; $x = $a ?? x(); var_dump($x); } catch (Exception $e) { var_dump($x); # unchanged }
You have javascript disabled. You will not be able to edit any code.