|
|
|
|
|
by johannes1234321
2037 days ago
|
|
Since count is it's own opcodes in the VM and php hashtables keep the number of elements around and don't have to be counted there shouldn't be much difference between reading a variable and calling count. (Since some time in PHP 7, before that count() went via function call overhead) |
|