Php Interview QUESTIONS AND ANSWERS :: part9 : 6 to 10
Following PHP Multiple choice objective type questions and answers will help you in many software compnaies written examinations and inteview 2015 :
6.What will be the output of the following PHP code? |
No output is returned |
Integer is not valid |
Integer is valid |
Error |
7.What will be the output of the following PHP code? array ("min_range"=>0, "max_range"=>256)); if (!filter_var($var, FILTER_VALIDATE_INT, $int_options)) echo("Integer is not valid"); else echo("Integer is valid"); ?> |
No output is returned |
Integer is not valid |
Integer is valid |
Error |
8.If the input variable is a string like this “https://www.saåånfoøøundry.com/”, the $url variable after the sanitizing will look like |
https://www.saåånfoøøundry.com/ |
https://www.saaanfoooundry.com/ |
https://www.saånfoøundry.com/ |
https://www.sanfoundry.com/ |
9.Which one of the following filter is used to filter several variables with the same or different filters? |
filter_var_array() |
filter_var() |
filter_input |
filter_input_array |
10.What will be the output of the following PHP code? |
Error |
Username must be all lowercase! |
Username is all lowercase! |
No Output is returned |
More Php Interview QUESTIONS AND ANSWERS available in next pages
-
Health is the greatest gift, contentment is the greatest wealth -Buddha
- TNTET 2021 - Practice
- SSC CGL 2021 - Practice
- TNPSC Group 2A 2021 - Practice
- IIT JEE
- IIT JEE Q&A
- TNPSC Answer Keys
- TNPSC Group 2 Syllabus
- TNPSC Q&A
- Online Tests - TNPSC
- Online Tests - GK
- IBPS 2020-2021
- Online Tests - Bank
- Online Tests - RRB NTPC
- Online Tests - UGC NET
- Online Tests - TANCET
- Online Aptitude Test
- Engineering
- Programming
- Basic Science
- Quiz
- Plus Two Question Papers
- SSLC Question Bank
- Aptitude Tests
- Logical Reasoning
- General Knowledge-Hindi
- Indian History MCQ
- Indian Geography MCQ
- Indian Civics MCQ
- Indian Economics MCQ
- CTET Biology MCQ
- CTET Chemistry MCQ
- CTET Physics Solved MCQ
- Arithmetic Tests
- Press Release
- FAQ
- Coaching Centres
- TNPSC Group 1 Syllabus
- TNPSC Group IV Syllabus
- TRB 2017 in English PDF
- TRB 2017 in Tamil PDF
- TET
- TNTET