If Not Empty Array Javascript Documentation Parseint In Php