Appendix A - Allowed PHP functions

These are the PHP functions that can be used in conditionsformulas and another expressions in the templates:

abs acos acosh
addcslashes addslashes asin
atan2 atanh base_convert
bcadd bccomp bcdiv
bcmod bcmul bcpow
bcpowmod bcscale bcsqrt
bcsub bin2hex bindec
cal_days_in_month cal_from_jd cal_info
cal_to_jd ceil checkdate
chop chr chunk_split
convert_cyr_string convert_uudecode convert_uuencode
cos cosh count
count_chars crc32 crypt
date date_default_timezone_get date_sunset
decbin dechex decoct
deg2rad easter_date easter_days
empty exp explode
expm1 floatval floor
fmod frenchtojd getrandmax
gmdate gmmktime gmstrftime
gregoriantojd hebrev hebrevc
hex2bin hexdec html_entity_decode
htmlentities htmlspecialchars htmlspecialchars
htmlspecialchars_decode htmlspecialchars_decode hypot
idate implode intval
is_bool is_double is_finite
is_float is_infinite is_int
is_integer is_long is_nan
is_null is_numeric is_real
is_scalar is_string isset
jddayofweek jdmonthname jdtofrench
jdtogregorian jdtojewish jdtojulian
jdtounix jewishtojd jewishtojd
lcfirst lcg_value levenshtein
log log10 log1p
ltrim max md5
metaphone microtime min
mktime money_format mt_getrandmax
mt_rand mt_srand nl2br
nl_langinfo number_format octdec
ord pi pow
quoted_printable_decode quoted_printable_encode quotemeta
rad2deg rand rand
round rtrim sha1
similar_text sin sinh
sizeof soundex sprintf
sprintf sqrt srand
str_ireplace str_pad str_repeat
str_replace str_rot13 str_shuffle
strcasecmp strchr strcmp
strcoll strcspn strftime
strip_tags stripcslashes stripos
stripslashes stristr strlen
strnatcasecmp strnatcmp strncasecmp
strncmp strpbrk strpos
strptime strrchr strrev
strripos strrpos strspn
strtolower strtotime strtotime
strtoupper strtr strtr
strval substr substr_compare
substr_count substr_replace tan
tanh time timezone_name_from_abbr
timezone_version_get trim ucfirst
ucwords uniqid unixtojd
urldecode urlencode wordwrap