사이트 내 전체검색
PHP
highlight_string()
로빈아빠
https://cmd.kr/php/365 URL이 복사되었습니다.

본문

mixed highlight_string(stirng str, bool return)

php 스크립트를 담고 있는 코드일 경우, php 코드를 다양한 색으로 출력한다.

<?php
$str = "<? echo \"안녕하세요\" ?>";
highlight_string($str);
?>

<? echo "안녕하세요" ?>

댓글목록

등록된 댓글이 없습니다.

PHP
871 (14/18P)

Search

Copyright © Cmd 명령어 18.220.142.17