Highlighted
Latest issues
-
How to compile PHP from Source
I write this short guide as an effort inspired by Joe Watkins' (krakjoe) post on the existing Bus Factor present in the PHP language. Knowing how to compile PHP will open one of the few doors necessary for contributing to the PHP language. Once you get familiar with this it will be much easier for you to contribute in many ways.
-
Complete guide to FFI in PHP
By using FFI your PHP programs will be able to use libraries written in C, Rust, Golang or any other language capable of producing an ABI. Here's how!
-
Mastering binary and bitwise in PHP
I recently caught myself working on different projects that required me to rely heavily on bitwise operations in PHP. From reading binary files to emulating processors, this is a very useful knowledge to have and a very cool one too.
-
PHP 8.0 released: it looks awesome!
PHP 8.0 brings many innovations, among them amazing syntax additions, API upgrades,fundamental changes to its core and, of course, many bug fixes. Here I want to outline some of the main changes to the language!
-
Everything you need (and don't need) to know about PHP's type system
This is the absolute best guide you'll find in the internet about how php handles typing internally and in userland.
-
How to write php crawlers with spatie/crawler
After this article you'll realize how much you were suffering with your PHP crawlers. There IS a better way. Let me show it to you 😉
-
What are the top 20 most used php functions by frameworks?
Out of curiosity I decided to rank php functions usage by popular frameworks.
-
Simple PHP Game in PHP using Raylib: Snake (with source code)
I'm gonna show you how the code looks like and which tools I used! Hopefully it will catch your attention enough to see this extension getting traction.
-
PHP 8's Release Schedule is Available
According to the official schedule, PHP 8 shall be released in the first week of December. Read for more details.
-
Comparing JSON and MessagePack
MessagePack wins pretty much every test. But the difference is so little I can’t see many benefits on migrating from JSON to MessagePack. Interesting results might appear on PHP 8 with JIT though.
-
How PHP's Just In Time compiler works
PHP 8's Just In Time compiler is implemented as part of the Opcache extension and aims to compile some Opcodes into CPU instructions in runtime. Let's understand how it works all together.
-
PHP 7.5 will not exist!
Wondering when PHP 7.5 will be released? The short answer is NEVER. PHP 7.5 won't exist.
-
PHP 8.0 will be released in December 2020
Some sources brought a bit of confusion about PHP 8's release date. It is scheduled for December 2020, not September 2021.
-
Setting up PHP, Docker and PHPUnit
In this post I quickly show my custom setup for php applications using PHPUnit and Docker and quick configs almost every application needs.
-
TDL, a (programming language) learning framework
Learning a new (programming) language is an extremely necessary skill for any fullstack engineer. Being a fullstack myself, as most PHP programmers are, I came up with my own framework to make it rational.
-
The State of PHP 8
PHP 8.0 is still under discussion and many things are being voted right now. I've collected all changes introduced to PHP 8.0 and will keep you posted under this one post.
-
Clean tests with PHP and PHPUnit
This post aims to help you reducing the number of WTF per second when writing, reading and changing test code on your PHP application using the test framework PHPUnit.
-
Generators beyond xrange
In this post I talk about PHP Generators, how to work with Coroutines and how the language ecosystem could evolve with it.
-
How the php engine works internally
Let's do a quick overview on how php engine works both as a web engine and how the language behaves internally within the Zend VM.
-
Test-Driven Development with PHP by example
This is how I approach Test-Driven Development (TDD) with PHP. The main focus is on the feedback loop tdd provides and which tools are suitable to bring us there when programming PHP.
-
Hello, PHP. I am an Engineer.
Do people even use PHP? In this post I explain why this is the wrongest question to ask and where I prefer paying attention as an Engineer.