1) What is the best practice for running MySQL queries in PHP ?
Consider the risk of SQL injection.
2) Name the cryptographic function in PHP returns the longest hash value?
3) Explain implode/explode function ?
4) What will be the output ?
$array = array(array(12,13,19), 12, 33, array(101, 202, 303));
7) Write down the correct syntax of mail() function?
8) What will be the Output ?
9) What will be the output?
10) What is the difference between die() and exit() in PHP?
11) How can we use register_shutdown_function() in PHP ?
12) How can we use assert() and assert_options in PHP ?
13) Difference between die() and trigger_error() and set_exception_handler() ?
14) How can we delete a file in PHP ?
2) Name the cryptographic function in PHP returns the longest hash value?
3) Explain implode/explode function ?
4) What will be the output ?
<?php var_dump(10*23); ?>
5) What will be the output ?
<?php echo 5 * 6 /3 + 6* 7; ?>
6) Write a function that will print the all values in the array.$array = array(array(12,13,19), 12, 33, array(101, 202, 303));
7) Write down the correct syntax of mail() function?
8) What will be the Output ?
<?php print null == NULL; ?>
9) What will be the output?
<?php echo '1'.print(2) + 3; ?>
10) What is the difference between die() and exit() in PHP?
11) How can we use register_shutdown_function() in PHP ?
12) How can we use assert() and assert_options in PHP ?
13) Difference between die() and trigger_error() and set_exception_handler() ?
14) How can we delete a file in PHP ?