Imagine you are reviewing someone else's PHP code and notice that they are using short open tags (). Why might this be a concern?
- a) Short open tags can lead to slower script execution.
- b) Short open tags are deprecated and may not be supported on all servers.
- c) Short open tags improve code readability.
- d) Short open tags are required for PHP scripts.
b) Short open tags are deprecated in PHP and may not be supported on all servers. This can lead to compatibility issues. Using standard
Loading...
Related Quiz
- What are the differences between an interface and a class in PHP?
- In PHP, you can encode an array into a JSON object using the json_encode() ______.
- What is the $_GET superglobal in PHP?
- You have a string "OpenAI" and you want to replace "Open" with "Close". Which PHP function will you use?
- What is the $_POST superglobal in PHP?