public static PhpNumber octdec(string str) { if (str == null) return PhpNumber.Default; return ConvertToLong(BaseToDouble(str, 8)); }