ps2ary function

ps2ary