> Applying break statements is the first thing you should do if you intend
> to break. That way it can't be forgotten.

You should also immediately free the memory you’ve allocated but memory leaks 
still happen all the time.
Human error is inevitable.

The more the compiler can do for you automatically (especially if it’s without 
performance penalties) the better.


On 9 Sep 2017, 18:42 +0200, Thomas Hruska <thru...@cubiclesoft.com>, wrote:
> On 9/9/2017 5:18 AM, Dan Ackroyd wrote:
> > for when you forget to put break.
>
> Applying break statements is the first thing you should do if you intend
> to break. That way it can't be forgotten.
>
> --
> Thomas Hruska
> CubicleSoft President
>
> I've got great, time saving software that you will find useful.
>
> http://cubiclesoft.com/
>
> And once you find my software useful:
>
> http://cubiclesoft.com/donate/
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>

Reply via email to