Fully uninstall qTranslate by undoing the content mangling!
A workaround for binding to the intended static scope without using the static:: operator introduced in PHP 5.3
Cutting straight to the point, here’s a quick way with PHP for removing empty values from an array and shifting the indices appropriately. Nothing too fancy but I found it useful at work and figure that I might as well share the tip.
Today I present to you a PHP puzzler that in fact had me stumped for a day or two. I do enjoy when a language throws a curve ball; it presents an opportunity to gain insight on the mechanics and become acquainted with the nuances of the language in question.
A neat trick for extracting information from arrays into variables.