open navigation menu
AiFolder
Tools for a smarter you
Discover
Tools
AI
Games
Interviews
Blog
More
Search AiFolder
Toggle theme
Toggle theme
Sign in
Exit
00:00
Submit test
PHP · Intermediate
10 questions · Question 1 of 10
10%
Multiple Choice
Mid
Explain the difference between shell_exec() and exec()
A
Single quoted strings will display things almost completely "as is." Double quote strings will display a host of escaped characters (including some regexes), and variables in the strings will be evaluated.
B
There are (more than) three popular ways to use MySQL from PHP: 1.
C
shell exec returns all of the output stream as a string.
D
PHP supports only single inheritance; it means that a class can be extended from only one single class using the keyword 'extended'.
Previous
Next