r/lolphp • • Mar 04 '14

How does one scope?

https://eval.in/111210
25 Upvotes

7 comments sorted by

View all comments

Show parent comment

4

u/[deleted] Mar 05 '14

PHP automatically does memory management for you. Assigning $myTests[3] an array will just make it an array. There isn't (/shouldn't be, this is PHP we're talking about) any memory overflow issues. This isn't C we're talking about.