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