blog #programming ##PHP

PHP Timestamps and Year 2038

I'm currently in the process of moving an old PHP application to a new framework since the one originally used is way outdated, spitting out deprecation warnings left and right. The app still uses unix timestamps to store and handle dates. 2038 is still a long time off, but I'd rather not have to work on this app again in the future so I decided to have a look into how PHP timestamps are compatible with dates beyond January 19th 2038.

Overthinking Web Application URI Routing (PHP)

I just got around to implement URI routing for my PHP framework. Given a setup such as

Further experimenting with non OOP PHP

Cleaned up the mess I posted yesterday. The code should be pretty self-explanatory now. First I introduced type classes to mimic C structs:

Experimenting with non object oriented PHP code
What could modular programming in PHP look like?
Confused about inheritance in PHP
In which I stumble upon a quirk of PHP I hadn't expected.
Dependencies sure are fun
I guess this is why everybody uses Docker these days.