- var_dump: documentation ( source)
<?php
function default_args($test = FALSE, $context) {
var_dump($test);
if ($test === FALSE) {echo 'true';}
}
default_args(NULL, []);
function no_default_args($test, $context) {
var_dump($test);
if ($test === FALSE) {echo 'true';}
}
no_default_args(NULL, []);