[FIX] Installing PEAR packages with PHP 7.2

This article will cover the solution to the PEAR “Cannot use result of built-in function in write context” issue. The Issue If installing a pear package (for instance PHP Code Sniffer), when running: pear install PHP_CodeSniffer This error is shown … Read More

Where is the intl PHP extension? Problem solved!

Problem PHP packages/frameworks/libraries/scripts we work with might require different PHP extensions. In this case the Intl extension is needed to work with using Internationalization Functions. What is Internationalization? Got any of these error messages? Zend InputFilter requires intl PHP extension … Read More

Floating-Point Arithmetic – Why is (int)((0.7+0.1)*10) = 7 ?

This article applies to PHP 5.x but also to PHP 7 While using floating-point arithmetic you might have noticed that not all the calculus results are as expected, this can usually be observed when casting values. … Read More

GeoIP City Removed From DotKernel

In the newest version we have removed the GeoIP City integration. The City database on GeoIP 1.1.0 extension was causing a segmentation fault, which resulted in crashing or outputting an error instead of executing the PHP Code. … Read More

Caching in DotKernel using Zend Framework

This post refers to DotKernel 1, based on Zend Framework 1. If you are looking for DotKernel 3 related posts, go here. It’s very expensive to load configurations and settings from XML files, on every requests. First because of latency … Read MoreRead More