Memory bug with PHPNG branch