List Info

Thread: note 74249 added to function.highlight-string




note 74249 added to function.highlight-string
user name
2007-03-31 19:06:08
A simplification of functions vanessaschissato at gmail dot
com at 17-Oct-2006 05:04.

Since it had trouble keeping the code intact. (It removed /*
)

function showCode($code) {
 $code = highlight_string($code, true);
 $code = explode("<br />", $code);
 
 $i = "1";
 foreach ($code as $line => $syntax) {
  echo "<font
color='black'>".$i."</font>
".$syntax."<br>";
  $i++;
 }
}
----
Server IP: 86.58.145.50
Probable Submitter: 90.184.96.102
----
Manual Page -- http://www.php.net/manual/en/function.highlight-string
.php
Edit        -- https://master
.php.net/note/edit/74249
Del: integrated  -- h
ttps://master.php.net/note/delete/74249/integrated
Del: useless     -- http
s://master.php.net/note/delete/74249/useless
Del: bad code    -- htt
ps://master.php.net/note/delete/74249/bad+code
Del: spam        -- https:/
/master.php.net/note/delete/74249/spam
Del: non-english -- 
https://master.php.net/note/delete/74249/non-english
Del: in docs     -- http
s://master.php.net/note/delete/74249/in+docs
Del: other reasons-- https://mast
er.php.net/note/delete/74249
Reject      -- https://mast
er.php.net/note/reject/74249
Search      -- https://
master.php.net/manage/user-notes.php

-- 
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )