Add lib file for old version PHP environment contains unimplemented functions