Lines Matching refs:Int_
8 class Int_ extends Scalar { class
40 * @return Int_ The constructed LNumber, including kind attribute
42 …c function fromString(string $str, array $attributes = [], bool $allowInvalidOctal = false): Int_ {
48 $attributes['kind'] = Int_::KIND_DEC;
49 return new Int_((int) $str, $attributes);
53 $attributes['kind'] = Int_::KIND_HEX;
54 return new Int_(hexdec($str), $attributes);
58 $attributes['kind'] = Int_::KIND_BIN;
59 return new Int_(bindec($str), $attributes);
72 $attributes['kind'] = Int_::KIND_OCT;
73 return new Int_(intval($str, 8), $attributes);
82 class_alias(Int_::class, LNumber::class);