Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
LdapTools
Connection
LdapControl
berEncodeInt
LdapTools\Connection\LdapControl::berEncodeInt PHP 메소드
LdapControl 1 문서
파일 보기
프로젝트 열기: ldaptools/ldaptools
berEncodeInt()
공개
정적인
메소드
A simple helper to BER encode an int for an ASN.1 structure for a basic LDAP control value.
public
static
berEncodeInt
(
integer
$int
) :
string
$int
integer
리턴
string
The BER encoded ASN.1 structure to use for the LDAP control value.
public static function berEncodeInt($int) { return sprintf("%c%c%c%c%c", 48, 3, 2, 1, $int); }
LdapControl
__construct
berEncodeInt
getCriticality
getOid
getValue
setCriticality
setOid
setValue
toArray