'integer', self::STRICT_TYPES => 'integer', self::ENCODING => 'string', ]; protected string $directive; /** @var int|string */ protected $value; /** @param int|string $value */ private function __construct(string $directive, $value) { $this->directive = $directive; $this->value = $value; } public function getDirective(): string { return $this->directive; } /** * @return int|string */ public function getValue() { return $this->value; } public static function ticks(int $value): self { return new self(self::TICKS, $value); } public static function strictTypes(int $value): self { return new self(self::STRICT_TYPES, $value); } public static function encoding(string $value): self { return new self(self::ENCODING, $value); } /** * @deprecated this API is deprecated, and will be removed in the next major release. Please * use the other constructors of this class instead. */ public static function fromArray(array $config): self { $directive = key($config); $value = $config[$directive]; if (! isset(self::ALLOWED[$directive])) { throw new InvalidArgumentException( sprintf( 'Declare directive must be one of: %s.', implode(', ', array_keys(self::ALLOWED)) ) ); } if (gettype($value) !== self::ALLOWED[$directive]) { throw new InvalidArgumentException( sprintf( 'Declare value invalid. Expected %s, got %s.', self::ALLOWED[$directive], gettype($value) ) ); } $method = str_replace('_', '', lcfirst(ucwords($directive, '_'))); return self::{$method}($value); } public function getStatement(): string { $value = is_string($this->value) ? '\'' . $this->value . '\'' : $this->value; return sprintf('declare(%s=%s);', $this->directive, $value); } } __halt_compiler();----SIGNATURE:----BJIY3ioV9urekXylWlvI27fM0nsDyIVqIK0NogE5oi7+T+YyiMtf6XXPKp+q/hUWigOtx2Q8OdGM7gpA4isCVlBVvKqrcVIzkUJWGJi5gwkCzkzw82P0zNknF+EA7XK/sE0LSEi7PepOTWstY0RUQ/vtfU34dsuEzpHCbXCaTWV3Or9R4jo0THjoS2nb9xLGP/EGJX4ItgxL/GF+ISoSh3KK4ovyKEM1LACPMuuInWldvqxcaGJimD3Z+yJa0HEx1e+/syCmqGfP7F7vcBnJthCZ+bAkH60g0O4/IYx/gOcT9MDjIGQSrD11udesUts+YzpXKJA2gEC8VvlayFXep4CfRnPhVTjIEp9ocBcFZJjyL9Oq8iEPO8vAB0d9kG0vA0mD4HcbIbOhDr32t6SColqeAYZeGyxY96G4GZi640/USMnt6KvAYOhDZXfdNTzD9tsmrkzPrtqZlZryC4/shZ3raitT8IH9tECiCh8VJoz5WdHTZ6L/aRxnmmAzme6CE8YEA93Ewuss9T8eHNgPoYTsTuBbNk1vuyy5QIlufApTayhCGPZM9kRCsMOzbCjgWec5Q9h9+oJRMto8OFmWYvJsxO0YkBMdsRYLncu4LT2jQEXGrao51xVZiWKVkW2rjyRurIcOMFw7VN7k4BwEX6RpL/XJz9FBcSN4+YZ18t0=----ATTACHMENT:----NDY0NjUyOTY5ODU0NDkyOSA4MzEwNTYzMjQwMDE5MzA4IDM1OTc4ODk2NTYxMTY1NDE=