Im making a webinterface on a Raspberry Pi, and because of its limited ressources i need to get as much free ram as possible. My question is if there is any benefit in running unset($someClass)
at the end of each php page to gain some ram or is it just a waste of time?
Example:
<?php
session_start();
$fh = new FileHandler();
// .. lots of code
$fh->classFunctionUsage($blabla);
// .. more code and then the end of the file
// should i do:
unset($fh);
// .. or not ?