get_magic_quotes_runtime

(PHP 4, PHP 5, PHP 7)

get_magic_quotes_runtime — magic_quotes_runtime의 현재 활성 구성 설정을 가져옵니다.

경고 이 함수는 PHP 7.4.0부터 DEPRECATED되었으며 PHP 8.0.0부터 제거되었습니다. 이 함수에 의존하는 것은 매우 권장되지 않습니다.


설명

get_magic_quotes_runtime(): bool

magic_quotes_runtime의 현재 활성 구성 설정을 반환합니다.


매개변수

이 함수에는 매개변수가 없습니다.


반환 값

magic_quotes_runtime이 꺼져 있으면 0을 반환하고 그렇지 않으면 1을 반환합니다. 또는 PHP 5.4.0부터 항상 false를 반환합니다.


변경 로그

버전 설명
7.4.0 이 함수는 더 이상 사용되지 않습니다.

Examples

예제 #1 get_magic_quotes_runtime() 예제

                   
 <?php
 // Check if magic_quotes_runtime is active
 if(get_magic_quotes_runtime())
 {
     // Deactivate
     set_magic_quotes_runtime(false);
 }
 ?>
                   
                 

기타