Category php

TIL: strtotime function

While researching the `setcookie` function, another one caught my eye. Apparently, instead of writing the time of expiration in unix seconds, you can use human-readable format, neatly parsed by strtotime() ! It for sure improves the readability of the code,…

Hello world!

It’s-a me, Dragomir!, a blog about daily findings, curiosities and struggles within the vast world of php development and beyond. The goal of this website is to, bit by bit, improve the speed and comfort of development of readers, by…