mike805mike805@noc.social
Oct 23, 2026, 12:22 AM@thephd C is basically assembly language with the details hidden. In assembly language, if you want to copy from a float to an int you have to decide which piece of the float.
Given that PHP runs either in the Apache worker (mod_php) or in a separate worker process (fpm) calling exit(1) is the right way to handle out of memory. Your database transactions will roll back and the master will create a new process.
If you are routinely going OOM your server is hosed anyway. (But not hacked.) 1/4