Answers for "empty object array php"

PHP
4

php empty object

$x = new stdClass();
Posted by: Guest on February-19-2020
1

php empty array

//To clear array you are able to simply re-instantiate it
$foo = array();

//To clear $foo from the symbol table use
unset($foo);
Posted by: Guest on July-15-2020

Browse Popular Code Answers by Language