Manuel Lemos - 2013-02-18 23:19:52 - In reply to message 1 from Frederik Yssing
Well, PHP does not have pointers as in C/C++ but you have references. You can pass a variable by reference to a function. That is a sort of pointer.
But I guess I understand what you mean, not having to explicitly allocate memory to store the values of variables and then having to free that memory when it is no longer in use.
PHP uses a sort of garbage collection that allows it to automatically allocate and free memory for variables for you.
On the down side PHP does not support real local variables that are just space in the local stack instead of being allocated from the heap. It is just a minor inconvenience that can make it a bit slower.