In this post I’d like to pick an older vulnerability. One I’ve used in presentations to demonstrate how hard it can be to properly apply HTML encoding for Drupal.
In this article we’ll zoom out a bit and look at how to properly organize the lifecycle of our objects, from creating them to changing them, letting them pass away and bringing them back from the dead.
In this part I’d like to take a closer look at something we call. Our main goal will be: to get rid of it.
PHP is pretty much a freestyle programming language. It is dynamic and quite forgiving towards the programmer.