Array
array(3) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
int(3)
}
vdump function is used to dump the data type of a value or variable
supplied. It also provides a much cleaner view for data types which can be objects,
arrays, strings, floats, integers and null values.
vdump([1, 2, 3], 2, '3', 4.5); //display data and exit page
vdump() is used, the page will resolve
to an exit. This means that no operation can be peformed later. This is also the reason
why all the data types are supplied at once since it is capable of taking multiple arguments.
Array
array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3) }Integer
int(2)String
string(1) "3"Float
float(4.5)