Fixed the over kill memory problem for php method_call