|
INTERVIEW QUESTIONS
PROGRAMMING LANGUAGES
PHP
DETAILS
Question: What is the alternative structure for control structures?
Answer: The basic control structures are if, for, while, do while, for each and switch. If you are planning to use alternative structures then the closing braces should be changed to endif, endfor, endwhile, endswitch, and endforeach. Similarly the opening brace of the alternative syntax should be changed to (:) or colon. The alternative structure is applicable to else and elseif also.
|
|
|
Category |
PHP Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 8660 users |
Added on |
9/14/2014 |
Views |
71886 |
Rate it! |
|
|
Question:
What is the alternative structure for control structures?
Answer:
The basic control structures are if, for, while, do while, for each and switch. If you are planning to use alternative structures then the closing braces should be changed to endif, endfor, endwhile, endswitch, and endforeach. Similarly the opening brace of the alternative syntax should be changed to (:) or colon. The alternative structure is applicable to else and elseif also. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
Define about declare construct?
|
View Answer
|
|
Explain about require and include function?
|
View Answer
|
|
Explain about looping in PHP?
|
View Answer
|
|
Name and explain five of the PHP error constants?
|
View Answer
|
|
Describe about PHP error and logging information?
|
View Answer
|
|
Explain about PHP cookies?
|
View Answer
|
|
Explain about the $_GET variable of PHP?
|
View Answer
|
|
What is a PHP accelerator?
|
View Answer
|
|
Explain about objects in PHP?
|
View Answer
|
|
Explain about Functions in PHP?
|
View Answer
|
|
Explain about the data types in PHP?
|
View Answer
|
|
What exactly is PHP ?
|
View Answer
|
|
In case of download in php, How will you make a percentage bar showing current status of total 100%?
|
View Answer
|
|
Which will execute faster on php POST or GET? Explain
|
View Answer
|
|
What are new features that are in added in PHP5?
|
View Answer
|
|
How to prevent form hijacking in PHP?
|
View Answer
|
|
How can we submit a form without a submit button?
|
View Answer
|
|
How to add multiple categories through PHP?
|
View Answer
|
|
What do you need to do to improve the performance (speedy execution) for the script you have written?
|
View Answer
|
|
How do you capture audio/video in PHP?
|
View Answer
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All PHP Interview Questions & Answers - Exam Mode /
Learning Mode
|