IT/PHP
Language construct
SpringUpOhWell!
2016. 9. 25. 16:08
반응형
echo, print, include, isset, require 등의 함수는 Language construct 이다
그렇다면 Language construct 라는 것은 무엇인가?
네이버에서 검색에 나온 전자용어사전의 정의는 다음과 같다
언어구성요소 : 프로그램 언어를 기술하기 위해 필요한 구문상의 구성 요소. 예를 들면 식별자, 명령문, 모듈 등
Wikipedia 의 정의는 다음과 같다
A language construct is a syntactically allowable part of a program that may be formed from one or more lexical tokens in accordance with the rules of a programming language.
The term "language construct" is often used as a synonym for control structure, and should not be confused with a function.
language construct는 함수보다 빠르다
stackoverflow.com 에 실린 답변도 참고할 만 하다
728x90
반응형