What is Static Analysis Static analysis (static code analysis or source code analysis) applies a set of coding rules to debug source code before a program is run. Applied in the early phase of code development, the goals of static … Read More
PHP Development
AlmaLinux 9 in WSL2 : install PHP, Apache, MariaDB, Composer, PhpMyadmin
In this article we will demonstrate how we install AlmaLinux 9 using Windows Subsystem for Windows (WSL2). First, you need to check if your machine is ready for using WSL2. Open Windows Terminal and execute the following command: The output … Read More
Mezzio app development in WSL2
Install a Mezzio app (DotKernel API) using WSL2 This article will run you through the steps of installing a Mezzio application (DotKernel API) in WSL2 and run it on Ubuntu 20.04 LTS. Step 1: Make sure you have WSL2 installed … Read More
Database seeding: Doctrine data fixtures vs Phinx
Database seeding: Doctrine data fixtures vs Phinx Seeding the database means populating the database with initial values, it’s commonly used for seeding the user roles and user accounts. Seeding the database the right way is no easy feat, and we … Read More
Migration of Zend Framework 1 PEAR channel
This post is old and probably out of date. The unofficial PEAR channel for Zend Framework 1 was hosted on Google Code at this location: ZF Pear, but since the closing of Google Code we were forced to move it. … 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
Using PHP 7 Express in Zend Studio 13
This article will cover the steps needed in order to check the PHP7 compatibility, a small troubleshooter. This article will also contain a compatibility issue check on the latest Zend Framework 1 version. … 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
Better Unicode Support in MySQL 5.5 UTF8MB4
Beginning with version 5.5 of MySQL , utf8mb4 character set was introduced, in order to better support Unicode. Further reading: MySQL and Unicode , also directly related to PHP Sample dk.sql file, part of DotKernel framework, was updated in revision … Read More