Computer Science, asked by vipultiwari8296, 11 months ago

What value will var_dump show that echo will not show?

Answers

Answered by mishti53
7

The var_dump function displays structured information about variables/expressions including its type and value. Arrays are explored recursively with values indented to show structure. It also shows which array values and object properties are references. ... Similar notation is used for objects

Answered by StaceeLichtenstein
4

The var-dump is display the datatype as well as value while echo only display the value

Explanation:

  • In Php the var-dump function is used for displaying the datatype as well the value .The var-dump () does not return anythings it means there is no datatype of var-dump() function.
  • Following are the syntax of var-dump function

           var_dump(variable ) ;

  • For example

<?php

$a=9;

var_dump($a) ;

?>

Output:int(9)

  • Whereas echo function display only the value .

<?php

$a=9;

echo '$a';

?>

Output:9

Learn More:

  • https://brainly.in/question/3293984
Similar questions