# dev.to: I Added One Key to a PHP Array. It Cost 25 MB of Memory — retained record

> Retained dev-ecosystems record from dev-ecosystems:devto.

Canonical: https://highsignal.app/data/records/1160d893929e40ad

[← sources](https://highsignal.app/data)


source: [dev-ecosystems](https://highsignal.app/data/dev-ecosystems) (dev-ecosystems:devto)  published 2026-09-14 13:05 ingested 2026-09-15 02:34

[original source ↗](https://dev.to/nazar-boyko/i-added-one-key-to-a-php-array-it-cost-25-mb-of-memory-4b80)

## retained text



```
I was recently refactoring some legacy PHP code and noticed that the same data array was being used...

tags: php, performance, webdev, programming

reactions=23 | comments=7
```



document fetched 2026-09-21 02:33
