What is the exact Diff. between include_once() and
require_once() in PHP?
Answer Posted / basha
include_once -it file is not exist it displays warning
message and continue the program
in case of require_once-if the file is not exist it
displays fatal error and terminate the prgram
| Is This Answer Correct ? | 21 Yes | 21 No |
Post New Answer View All Answers
Why do we use sessions in php?
Which is faster for or foreach php?
Binary tree question - Node has numeric data (int) The function takes depth as argument and sum all the value of the node of the depth. For instance, (0) depth 0 / \ 10 20 depth 1 / \ / \ 40 50 60 70 depth 2 so if you pass get_sum(2), you would return 220 which is 40+50+60+70 (sum of depth2) write the function.
Write down the code for save an uploaded file in php.
How can php and html interact?
Does php need apache?
When are you supposed to use endif to end the conditional statement?
Is false empty php?
What is str_replace()?
What does explode do in php?
What is __ invoke in php?
When you want to show some part of a text displayed on an html page in red font color? What different possibilities are there to do this? What are the advantages/disadvantages of these methods?
How to connect to a url in php?
What is a namespace in php?
How to pass an argument to a function?