PHP ==, ===

Jmnote bot (토론 | 기여)님의 2020년 11월 2일 (월) 02:34 판 (봇: 자동으로 텍스트 교체 (-source +syntaxhighlight))
PHP ==

1 예제 소스 코드

echo ( 0 ) ? "yes": "no";
echo ( 'abc' ) ? "yes" : "no";
echo ( 0 == 'abc' ) ? "yes" : "no";
echo ( '0' == 'abc' ) ? "yes" : "no";
echo ( 0 === 'abc' ) ? "yes" : "no";
echo ( '0' === 'abc' ) ? "yes" : "no";

2 같이 보기

3 참고

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}