wp-includes/random_compat/cast_to_int.php

WP檔案 1
Random_* Compatibility Library for using the new PHP 7 random_* API in PHP 5 projects
函式/鉤子名 描述
randomcompat_intval (函式) randomcompat_intval是一個相容函式,被WordPress用來確保不同版本的PHP之間的行為一致。它返回一個給定變數的整數值,不管它是否已經是一個整數或代表一個整數的字串。

常見問題

FAQs
檢視更多 >