Php Convert All Array Values Javascript Interview