Which of the following values for the $s parameter do NOT yield a type error when calling the doSomething() function?

Given the following PHP function: function doSomething(?string $s) {
// …
}
Which of the following values for the $s parameter do NOT yield a type error when calling the doSomething() function?
A. ‘null’
B. null
C. "
D. All of the above

Download Printable PDF. VALID exam to help you PASS.

2 thoughts on “Which of the following values for the $s parameter do NOT yield a type error when calling the doSomething() function?

  1. ATTENTION PLEASE!!!

    Those Zend Certified Engineer 200-710 exam questions on this site are out of date!!!

    Only 50 questions in total, many new questions are NOT available!!!

    Highly recommend to learn part of the NEWEST 200-710 exam questions with 200q+ from Google Drive:

    https://drive.google.com/open?id=1qLWaMRvT0Rxwl6HHpolT-tpmpQtYBvTn

    By the way, if you have other valid 200-710 study materials, please sharing them with us.

    SHARING IS CARING!

    Good luck, all!

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.