略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: show_source

2024-11-14

show_source

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

show_source别名 highlight_file()

说明

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

add a noteadd a note

User Contributed Notes 1 note

up
-24
manimjs at gmail dot com
2 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()";
?>

官方地址:https://www.php.net/manual/en/function.show-source.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3