As my Job is an ASP developer but my hobby is PHP I am constantly clashing with many issues between the both. I am working on a project that deals with many array loops and conditions and shifting values between the indexes. This is one of the main pitfalls when working with classic ASP. Working with arrays turns half an hour job into a whole morning because with PHP, while it is quite messy it is packed full of routines and functions to handle arrays easily and effectively such as array_map and push.
One of the jobs is to create a function splitting a textbox form values into individual variables then inserted into database. Why? it is a long story. It feels more like reverse engineering rather than making something which was pratical. It is quite complex to sort and validate without PHP’s useful functions.