update : 2015.11.03
php.shukuma.com검색:
|
HaruPage::measureText(PECL haru >= 0.0.1) HaruPage::measureText — Calculate the byte length of characters which can be included on one line of the specified width 설명
int HaruPage::measureText
( string
$text
, float $width
[, bool $wordwrap = false
] )Get the byte length of characters which can be included on one line of the specified width. 인수
반환값Returns the byte length of characters which can be included within the specified width. For single-byte encodings, this is equal to the number of characters. For multi-byte encodings, this is not necessarily the case. 오류/예외오류 시에 HaruException을 던짐. 참고
|