Zend
200-530 · Question #380
You want to create an anonymous function in the middle of a script that will return the square of a given number. Which of the following PHP scripts can you use to accomplish the task? Each correct…
Sign in or unlock 200-530 to reveal the answer and full explanation for question #380. The question stem and answer options stay visible for context.
Functions
Question
You want to create an anonymous function in the middle of a script that will return the square of a given number. Which of the following PHP scripts can you use to accomplish the task? Each correct answer represents a complete solution. Choose two.
Options
- A<?php
- B<?php
- C<?php
- D<?php
Unlock 200-530 to see the answer
You've previewed enough free 200-530 questions. Unlock 200-530 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#anonymous functions#closures#lambda#first-class functions