This function returns useful result only if the number actually fits the PHP integer ( i.e. , signed long type ) .