The Empty Array in PHP
To assign an empty array to a variable, you need to assign square brackets to it. See the example:
<?php
$arr = [];
?>
To assign an empty array to a variable, you need to assign square brackets to it. See the example:
<?php
$arr = [];
?>