show_source

(PHP 4, PHP 5, PHP 7, PHP 8)

show_source别名 highlight_file()

说明

此函数是该函数的别名: highlight_file().

add a note add a note

User Contributed Notes 1 note

up
-4
manimjs at gmail dot com
5 years ago
//transcript.php contain some php script. Ex:
<?php
    
echo "How tp use show_source()";
?>

Usage:
<?php
$source
= show_source("transcript.php", true);
print
$source;

?>

Output:
This is print the source of the
------------------------------------
<?php
   
echo "How tp use show_source()";
?>
To Top