PHP Functions What will be the output of the following PHP code?$str = addslashes('What does "yolo" mean?');echo($str); What does ”yolo” mean? What does ”yolo” mean? What does /”yolo/” mean? What does ”yolo” mean? What does ”yolo” mean? What does ”yolo” mean? What does /”yolo/” mean? What does ”yolo” mean? ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?$str = "Hello world. It's a beautiful day.";print_r (explode(" ",$str)); Array ( [0] => Hello [0] => world. [0] => It’s [0] => a [0] => beautiful [0] => day. ) Array ( [0] => Hello [1] => world. [2] => It’s [3] => a [4] => beautiful [5] => day. ) Hello world. It’s a beautiful day Array ( [1] => Hello [2] => world. [3] => It’s [4] => a [5] => beautiful [6] => day. ) Array ( [0] => Hello [0] => world. [0] => It’s [0] => a [0] => beautiful [0] => day. ) Array ( [0] => Hello [1] => world. [2] => It’s [3] => a [4] => beautiful [5] => day. ) Hello world. It’s a beautiful day Array ( [1] => Hello [2] => world. [3] => It’s [4] => a [5] => beautiful [6] => day. ) ANSWER DOWNLOAD EXAMIANS APP
PHP Functions The arguments in a function are evaluated from ..... Always right to left right to left sometimes left to right and sometimes right to left left to right Always right to left right to left sometimes left to right and sometimes right to left left to right ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo "chr(52)"; 2 4 1 3 2 4 1 3 ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code?echo str_pad("Salad", 5)." is good for health."; is good for health SaladSaladSaladSaladSalad is good for health Salad SaladSaladSaladSaladSalad is good for health Salad is good for health is good for health SaladSaladSaladSaladSalad is good for health Salad SaladSaladSaladSaladSalad is good for health Salad is good for health ANSWER DOWNLOAD EXAMIANS APP
PHP Functions What will be the output of the following PHP code ?function start($string){if ($string < 45)return 20;elsereturn 40;}$t = start(90);if ($t < 20){echo "Have a good day!";}else{echo "Have a good night!";} Have a good night! Have a good day! None of the mentioned ERROR Have a good night! Have a good day! None of the mentioned ERROR ANSWER DOWNLOAD EXAMIANS APP