3 ms·You can do RAII in PHP via destructors as well. That's how I "get around" this problem.by wvenable 16y agoYou can do RAII in PHP via destructors as well. That's how I "get around" this problem.