I was trying to use Jared\'s script (https://www.jaredwatkins.com/) , but realized it was written for PHP 5.X version, where Call-time pass-by-reference was available. Can some