In Progress

Convert vb.net function to php function