<?php function getUserEmail(): ?string { return 'foo@example.com'; } function sendEMail(string $email) { echo "Email address is $email"; } sendEmail( getUserEmail() ?: throw new Exception("Email required") );
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`