note 111680 deleted from function.highlight-string by aharvey

From: Date: Fri, 15 Mar 2013 18:19:51 +0000
Subject: note 111680 deleted from function.highlight-string by aharvey
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-194090@lists.php.net to get a copy of this message
Note Submitter: Budi Maulana ---- <?php /* here are simple code to preview your PHP-source content. it's use highlight_string function. I hope this help. */ echo "Hello World"; ?> <?php /* source */ /* configurable style start here */ echo "<hr noshade />"; /* just simple as below */ echo highlight_string( substr( file_get_contents(__FILE__), 0, strpos( file_get_contents(__FILE__), "<?php /* source */" ) ),1); /* use as you wish ... */

« previous php.notes (#194090) next »