Fri, 17 May 2024


How to dump information for a PHP variable?

By: Anton, NetArt Media
Wed, 30 September 2020

In order to do this, you may use the special php function called var_dump.

Take a look at the following example:

<?php

$myVar=array(array(array("x","y"),"z"));

echo var_dump($myVar);

?>


Category: PHP Examples
Share this post:



See All Scripts






Subscribe for our newsletter

Receive the latest blog posts direct in your mailbox