CakeFest 2025 Madrid: The Official CakePHP Conference

Voting

: seven plus zero?
(Example: nine)

The Note You're Voting On

yousha dot a at hotmail dot com
7 years ago
Note that the description for `memory_get_usage` is different than it's default parameter!

"`int memory_get_usage ([ bool $real_usage = FALSE ] )`
Returns the amount of memory, in bytes, that's currently being allocated to your PHP script. "

Default parameter = `FALSE`

WRONG description: Returns the amount of memory, in bytes, that's currently being allocated to your PHP script.

It must be: Returns the amount of memory, in bytes, that's currently used by your PHP script.

<< Back to user notes page

To Top