is sufficient. This will effectively "clear" the array.$array = [ ] ;
Nope, it will not clear the array!
Instead it will create a new, empty anonymous array and store a reference to that in $array.
In reply to Re: Re: passing a value to a function
by busunsl
in thread passing a value to a function
by ralfthewise
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |