BlogFlock

ulimit and PHP: When the OS Says No

Exakat
21 posts last month
Feed
Copied!

ulimit and PHP: When the OS Says Noulimit and PHP: When the OS Says No

You set memory_limit and max_execution_time in php.ini and feel in control. You are, in fact, but you are also not the only one in control. Underneath PHP,…

How to lint PHP code within the source

Exakat
21 posts last month
Feed
Copied!

How to lint PHP code within the sourceHow to lint PHP code within the source

Ahead-of-time languages check a closed world. Compile a Rust crate, a Go module, a C project with two functions named parse_config, and you never get to…

Lazy class constants in PHP

Exakat
21 posts last month
Feed
Copied!

Lazy class constants in PHPLazy class constants in PHP: fast by design, sometimes surprising

PHP has class constant, which are named literals. It also supports static constant expressions, where the value is not always a literal. Rather, it’s an…

Vale Reviews Your Comments In The Code

Exakat
21 posts last month
Feed
Copied!

Vale Reviews Your Comments In The CodeVale Reviews Your Comments In The Code

Static analysis will tell you a function’s return type is wrong down to the last nullable. It doesn’t tell you that the docblock two lines above it opens…

PHP
Editing List

All things PHP

Created by
exakat

Blogs