#phpengineering

Turbo Learn PHPTurboLearnPHP
2026-01-24

Why does this PHP timezone conversion shift dates?

Why does this PHP timezone conversion shift dates in reports. The PHP code parses a UTC timestamp as local time and then converts it, effectively double shifting. In PHP analytics this moves events by hours.

...

youtube.com/watch?v=F8aJ6XU6Czo

Turbo Learn PHPTurboLearnPHP
2026-01-19

What's wrong with this PHP JSON parse?

What's wrong with this PHP JSON parse in an API handler. The PHP code treats empty arrays and valid zeros as errors because it checks for falsey values instead of json_last_error. In PHP services this rejects legitimate requests.

...

youtube.com/watch?v=tjF51Chtf8E

Turbo Learn PHPTurboLearnPHP
2026-01-16

Why does this PHP gzip handler crash servers?

Why does this PHP gzip handler crash servers on small inputs. The PHP code inflates compressed data without size limits, so a tiny payload can explode memory. In PHP webhooks this becomes a denial of service.

...

youtube.com/watch?v=4ldod9GIsMA

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst