Answers for "check printout variabel php"

PHP
13

print array php

<?php
$a = array ('a' => 'apple', 'b' => 'banana', 'c' => array ('x', 'y', 'z'));
echo "<pre>";
print_r ($a);
echo "</pre>";
?>
  
Output:

Array
(
    [a] => apple
    [b] => banana
    [c] => Array
        (
            [0] => x
            [1] => y
            [2] => z
        )
)
Posted by: Guest on February-26-2020
0

php dump to page

$variable = "Hello";

var_dump($variable);
Posted by: Guest on February-20-2020

Code answers related to "check printout variabel php"

Browse Popular Code Answers by Language