decochar = $deco; } public function useThis( $str ) { $length = strlen($str); for ( $i = 0; $i < $length + 4; $i++ ) { echo $this->decochar; } echo "\n"; echo $this->decochar . " $str " . $this->decochar; echo "\n"; for ( $i = 0; $i < $length + 4; $i++ ) { echo $this->decochar; } echo "\n"; } public function createClone() { $p = null; try { $p = clone $this; } catch (Exception $e) { echo $e->getMessage(); } return $p; } } ?>