note 46926 deleted from function.highlight-string by tomsommer

From: Date: Wed, 27 Oct 2004 22:21:51 +0000
Subject: note 46926 deleted from function.highlight-string by tomsommer
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-79217@lists.php.net to get a copy of this message
Note Submitter: darkthales at terra dot com dot br ---- This funcition does'nt colors a string with class and objects. Example: <? echo highlight_string("<? class Dados { //Define a classe var $nome; //Variável nome var $email; //variável e-mail var $msn; // Variável do MSN function defineDados($nome, $email, $msn){ $this->nome = $nome; $this->email = $email; $this->msn = $msn; } function retornaDados(){ echo \"Nome: \".$this->nome; echo \"<br>Email: \".$this->email; echo \"<br>MSN: \".$this->msn; } } ?>", true); ?>

« previous php.notes (#79217) next »