Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 640 Bytes

0311.md

File metadata and controls

18 lines (15 loc) · 640 Bytes

Which of the statements below best describe the following PHP code. Note that backticks are being used (not single quotes).

$output = `ls`;
  • A) The 'ls' command is executed and its output is assigned to $output
  • B) The value 'ls' is assigned to $output.
  • C) The value 'ls' is assigned to $output and written to the system log file.
  • D) The 'ls' command is executed and its output is written to the system log file.
Answer

Answer: A