Remove legacy code
Cleanup
Remove legacy code
Remove legacy code
Remove legacy code
Change for loop with foreach to work directly with array keys
change for loop with foreach to work directly with array keys
change for loops with foreach to work directly on array keys
Replace for loop with foreach to work directly on array keys
Fix remova array counter
Better iteration for foreach loops 

Working directly with values is faster than array_keys
Change foreach loop

as it is faster to work directly on values
Change for loop with foreach
Update while loop with foreach
return directly mysqli_Real_escape_String
Remove php version check