Computer Science, asked by ashokreddymedapatiar, 5 hours ago

what is the output of php script:"<?php echo"i am a php script:"?>"?​

Answers

Answered by appu2010
0

Answer:

PHP echo statement

It output one or more strings. We can use 'echo' to output strings, numbers, variables, values, and results of expressions. Below are some usage of echo statement in PHP: Displaying Strings: We can simply use the keyword echo followed by the string to be displayed within quotes.

Explanation:

hope this helps you ☺️

Answered by Jasleen0599
0

PHP SCRIPT

<?php

echo"i am a php script:"

?>

Output:

i am a php script

  • The differences between echo and print are minimal. Both of these are employed to display data on a screen. The changes are negligible: print can be used in expressions while echo does not, and print has a return value of 1. While it is uncommon, echo can take more than one argument, print can only take one.

PHP Echo

  1. The statement used to display the output is called echo.
  2. Both echo() and echo can be used with or without parenthesis.
  3. echo doesn't produce any results.
  4. In echo, we can pass several strings that are separated by commas (,).
  5. Compared to the print statement, echo is quicker.

#SPJ2

Similar questions