Pointer Array Function In Php