php tutorials -> var_dump in php

 six.php



<?php
$txt = "data";
var_dump($txt);
echo "</br>";
echo $txt;
echo "</br>";
$txt = 0;

var_dump($txt);
echo "</br>";
$txt = ['s'];

var_dump($txt);
echo "</br>";
$txt = 5.6;

var_dump($txt);
echo "</br>";
$txt = NULL;

var_dump($txt);
echo "</br>";
$txt = True;
var_dump($txt);
echo "</br>";
// string
// integer
// float
// array
// null
// object
$y=$z=$c='svs';
echo $y;
echo "</br>";
echo $z;
echo "</br>";
echo $c;
echo "</br>";
?>


=

No comments:

Post a Comment

Event listening in react

 How we can listen to som eevents some envents fire like click or automatically user enters into input button , that is event on word type i...