show_source

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

show_source别名 highlight_file()

说明

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

User Contributed Notes

manimjs at gmail dot com 25-Jul-2019 07:01
//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()";
?>
PHP8中文手册 站长在线 整理 版权归PHP文档组所有