PHP

Matomo (Piwik) Analytics – Auto Set Ignore Visits Cookie Plugin

Matomo (Piwik) Analytics – Auto Set Ignore Visits Cookie Plugin

Article Updated: 22 May 2018 Piwik new name is Matomo. On January 09, 2018. Piwik.org announced a strange (update: logical, after brand separation) move to change their 10-years old well-known and established brand name from “Piwik” to “Matomo” (word from Japanese, which means “honesty” or “openness” or “directness“). Piwik.pro will continue to exist as Enterprise solution […]

PHP 7.1 Warnings: Illegal String Offset + Cannot Assign Empty String To String Offset (working fine in PHP 7.0 and lower)

This was a simple question, but googling couldn’t lead me to a clear and proper answer. So, here’s the answer/fix/solution as a personal reminder and potential help to others. I had a strange and annoying problem while updating to PHP 7.1 — everything was working fine, except this little piece of code: $array = $something; […]

PHP Debug And Test Your Code Against Different PHP Versions – PHP Version Change Tips

PHP Debug And Test Your Code Against Different PHP Versions – PHP Version Change Tips

As a developer, you probably require different PHP versions that you can easily change at a click of a button, and to run tests of your code base and simulate different server environments. Problem arises when your hosting offers only selected minor versions (e.g. 5.0, 5.1, 5.2, 5.3, 5.4, 5.5, 5.6, 7.0, 7.1 etc.), but […]