converting a int array to a string in php code example Example: php object to string __toString() & {$this->name}