Questions about gettype and var_dump?
妞,给爷笑一个
妞,给爷笑一个 2018-03-10 23:47:37
0
1
1565

<?php

$str = 'Do you like Zun Shang or Sha Qian Mo? ';

$boy=var_dump($str);

echo $boy;

?>

This code The output is string(39). Do you like Zun Shang or Sha Qian Mo?

<?php

$str = 'Do you like Zun Shang or Sha Qian Mo? ';

$boy=gettype($str);

echo $boy;

?>

This code The output is string

. They are all strings. What does var_dump output more than one (39) mean?


妞,给爷笑一个
妞,给爷笑一个

reply all(1)
sky

var_dump’s 39 means its number of bytes

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template