php 5.3 compatibility for Test_Files_Sharing_Api