• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • show_source()

    (PHP 4, PHP 5, PHP 7)

    别名highlight_file()

    说明

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

    //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()";
    ?>