Alejandro De la Huerga
Mostrar datos con echo
La variable $sNombre es de tipo string y tiene el valor Alejandro
La variable $iEdad es de tipo integer y tiene el valor 18
La variable $fAltura es de tipo double y tiene el valor 1.87
La variable $bEstudiante es de tipo boolean y tiene el valor 1
Mostrar datos con print
La variable $sNombre es de tipo string y tiene el valor Alejandro
La variable $iEdad es de tipo integer y tiene el valor 18
La variable $fAltura es de tipo double y tiene el valor 1.87
La variable $bEstudiante es de tipo boolean y tiene el valor 1
Mostrar datos con printf
La variable $sNombre es de tipo string y tiene el valor Alejandro
La variable $iEdad es de tipo integer y tiene el valor 18
La variable $fAltura es de tipo double y tiene el valor 1.87
La variable $bEstudiante es de tipo boolean y tiene el valor 1
Mostrar datos con print_r
Array
(
[0] => Alejandro
[1] => 18
[2] => 1.87
[3] => 1
)
Mostrar datos con var_dump
string(14) "Alejandro"
string(7) "18"
string(9) "1.87"
string(6) "1"