<?php $x = null; $y = 0; $z = ((int) $x) ?: null; var_dump($z);
You have javascript disabled. You will not be able to edit any code.