차이
문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판이전 판다음 판 | 이전 판 | ||
tech:php_functions [2013/07/17 10:39] – V_L | tech:php_functions [2016/07/12 09:26] (현재) – 바깥 편집 127.0.0.1 | ||
---|---|---|---|
줄 1: | 줄 1: | ||
+ | {{tag> | ||
+ | ======PHP 함수 (Php Functions)====== | ||
+ | |||
+ | |||
+ | |||
+ | =====문자함수===== | ||
+ | |||
+ | * addcslashes — C 형식으로 문자열을 슬래시로 인용 | ||
+ | * addslashes — 문자열을 슬래시로 인용 | ||
+ | * bin2hex — 바이너리 데이터를 16진 표현으로 변환 | ||
+ | * chop — 별칭: rtrim | ||
+ | * chr — 특정 문자를 반환 | ||
+ | * chunk_split — 문자열을 작은 조각으로 나눕니다 | ||
+ | * convert_cyr_string — 키릴 문자셋을 다른 키릴 문자셋으로 변환 | ||
+ | * convert_uudecode — Decode a uuencoded string | ||
+ | * convert_uuencode — Uuencode a string | ||
+ | * count_chars — 문자열 안에 사용한 문자에 대한 정보를 반환 | ||
+ | * crc32 — 문자열의 crc32 값을 계산 | ||
+ | * crypt — 단방향 문자열 암호화(해시) | ||
+ | * echo — 하나 이상의 문자열을 출력 | ||
+ | * explode — 문자열을 문자열로 나눕니다 | ||
+ | * fprintf — 형식화한 문자열을 스트림에 기록 | ||
+ | * get_html_translation_table — htmlspecialchars와 htmlentities에서 사용하는 변환표를 반환합니다 | ||
+ | * hebrev — 논리 히브리 텍스트를 표시 텍스트로 변환 | ||
+ | * hebrevc — 줄바꿈을 포함하여 논리 히브리 텍스트를 표시 텍스트로 변환 | ||
+ | * hex2bin — Convert hex to binary | ||
+ | * html_entity_decode — 모든 HTML 엔티티를 해당하는 문자로 변환 | ||
+ | * htmlentities — 해당하는 모든 문자를 HTML 엔티티로 변환 | ||
+ | * htmlspecialchars_decode — Convert special HTML entities back to characters | ||
+ | * htmlspecialchars — 특수 문자를 HTML 엔터티로 변환 | ||
+ | * implode — 문자열로 배열 원소를 결합 | ||
+ | * join — 별칭: implode | ||
+ | * lcfirst — Make a string' | ||
+ | * levenshtein — Calculate Levenshtein distance between two strings | ||
+ | * localeconv — Get numeric formatting information | ||
+ | * ltrim — 문자열 시작에서 공백(이나 다른 문자)를 제거 | ||
+ | * md5_file — 주어진 파일의 md5 해시를 계산 | ||
+ | * md5 — 문자열의 md5 해시를 계산 | ||
+ | * metaphone — 문자열의 메타폰 키를 계산 | ||
+ | * money_format — Formats a number as a currency string | ||
+ | * nl_langinfo — Query language and locale information | ||
+ | * nl2br — 문자열의 모든 줄바꿈 앞에 HTML 줄바꿈 태그를 삽입 | ||
+ | * number_format — Format a number with grouped thousands | ||
+ | * ord — 문자의 아스키 값을 반환 | ||
+ | * parse_str — 문자열을 변수로 해석 | ||
+ | * print — 문자열을 출력 | ||
+ | * printf — 형식화한 문자열을 출력 | ||
+ | * quoted_printable_decode — 인용된 인쇄용 문자열을 8비트 문자열로 변환 | ||
+ | * quoted_printable_encode — Convert a 8 bit string to a quoted-printable string | ||
+ | * quotemeta — 메타 문자를 인용 | ||
+ | * rtrim — 문자열 마지막의 공백(이나 다른 문자)을 제거 | ||
+ | * setlocale — Set locale information | ||
+ | * sha1_file — 파일의 sha1 해시를 계산 | ||
+ | * sha1 — 문자열의 sha1 해시를 계산 | ||
+ | * similar_text — 두 문자열 사이의 유사성을 계산 | ||
+ | * soundex — 문자열의 soundex 키를 계산 | ||
+ | * sprintf — 형식화한 문자열을 반환 | ||
+ | * sscanf — 문자열을 형식에 따라 해석 | ||
+ | * str_getcsv — Parse a CSV string into an array | ||
+ | * str_ireplace — 대소문자 구분 없는 str_replace | ||
+ | * str_pad — 문자열을 지정한 길이가 되도록 다른 문자열로 채웁니다 | ||
+ | * str_repeat — 문자열을 반복 | ||
+ | * str_replace — 발견한 모든 검색 문자열을 치환 문자열로 교체 | ||
+ | * str_rot13 — 문자열에 rot13 변환을 수행 | ||
+ | * str_shuffle — 문자열을 무작위로 섞습니다 | ||
+ | * str_split — 문자열을 배열로 변환 | ||
+ | * str_word_count — 문자열에서 사용한 단어에 대한 정보를 반환 | ||
+ | * strcasecmp — 대소문자 구분 없는 바이너리 안전 문자열 비교 | ||
+ | * strchr — 별칭: strstr | ||
+ | * strcmp — 바이너리 안전 문자열 비교 | ||
+ | * strcoll — 로케일 기반 문자열 비교 | ||
+ | * strcspn — 마스크에 매칭하지 않는 처음 세그먼트의 길이를 찾습니다 | ||
+ | * strip_tags — 문자열에서 HTML과 PHP 태그를 제거 | ||
+ | * stripcslashes — addcslashes로 인용한 문자열을 되돌립니다 | ||
+ | * stripos — 대소문자를 구분 없이 문자열이 처음 나타나는 위치를 탐색 | ||
+ | * stripslashes — 따옴표 처리한 문자열을 풉니다 | ||
+ | * stristr — 대소문자를 구분하지 않는 strstr | ||
+ | * strlen — 문자열 길이를 얻습니다 | ||
+ | * strnatcasecmp — " | ||
+ | * strnatcmp — " | ||
+ | * strncasecmp — 대소문자 구분 없는 처음 n 문자의 바이너리 안전 문자열 비교 | ||
+ | * strncmp — 처음 n 문자의 바이너리 안전 문자열 비교 | ||
+ | * strpbrk — Search a string for any of a set of characters | ||
+ | * strpos — 문자열이 처음 나타나는 위치를 찾습니다 | ||
+ | * strrchr — 문자열에서 문자가 마지막으로 나오는 부분을 찾습니다 | ||
+ | * strrev — 문자열 뒤집기 | ||
+ | * strripos — 문자열에서 대소문자 구분 없이 문자열의 마지막 위치를 찾습니다 | ||
+ | * strrpos — 문자열에서 마지막 문자의 위치를 찾습니다 | ||
+ | * strspn — 마스크에 매치하는 초기 세그먼트의 길이를 찾는다 | ||
+ | * strstr — 문자열이 처음으로 나오는 부분을 찾습니다 | ||
+ | * strtok — 문자열을 토큰화 | ||
+ | * strtolower — 문자열을 소문자로 만듭니다 | ||
+ | * strtoupper — 문자열을 대문자로 만듭니다 | ||
+ | * strtr — Translate characters or replace substrings | ||
+ | * substr_compare — Binary safe comparison of two strings from an offset, up to length characters | ||
+ | * substr_count — Count the number of substring occurrences | ||
+ | * substr_replace — Replace text within a portion of a string | ||
+ | * substr — Return part of a string | ||
+ | * trim — Strip whitespace (or other characters) from the beginning and end of a string | ||
+ | * ucfirst — Make a string' | ||
+ | * ucwords — Uppercase the first character of each word in a string | ||
+ | * vfprintf — Write a formatted string to a stream | ||
+ | * vprintf — Output a formatted string | ||
+ | * vsprintf — Return a formatted string | ||
+ | * wordwrap — Wraps a string to a given number of characters | ||
+ | |||
+ | |||
+ | |||
+ | ^ 누구나 수정하실 수 있습니다. | ||
+ | |||
+ | |||