parameters by reference is not support in php 5.4