<?php /* Accepting NULL value */ function test(stdClass $obj = NULL) { print_r($obj); } var_dump(test(NULL)); test(new stdClass); ?>
You have javascript disabled. You will not be able to edit any code.