As php_com_typelibraries is a persistent HashTable we need to insert a persistent string, therefore initialising a new one. This reverts commit 0497b2bf4b.
0497b2bf4b