'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:----AY2SIdILffozmfqKE8uN7RkWpzWrK68tl7yWs6wVyVyW8l2iuAZYLrBKUZRT96GO4VX1Dxv8WXlDeBhYk+XbUpycpzeRwwhz5lLr1LxR7LH84S3oZt2IgERsvrBrYI5FK4ZyxRELg/rFkCfENfZKCyW4iKWNOZR2Fa7vgxf3bOXxIKCg1ehRWYi3fYuTt2zfx/gZMCFRZwKjiZGq/WKXC3I+vFPwVws1OBjPqBqRDVgEHwRNhRaPMdzjAc4VS1xgFG8imJZS/0ioRggCMI4NrXM8FNjWcsh+3kIlAehDRGQXkXpfBFfJyduQqOROU0VZofw3ELxofm/opTkJt/biIboK/GXyOwxwZ8NvQNlOozQ/c3aV1I20ari1MdY0PiwVvEoBlU1wfUtjr1DHNhrK5w26O+sRNxNxlRnLSgcGq4dYv5NUJkOQFAFCHGhfcdhkWFQhX8vB1WjyotnzH4cqUiakmWGovIIo1SRt5xrhLDJTwSGXbEuirP1i8SD+DjPUc6wlez+bS/AMpeQe1Lvrnv17XBd5tocqSXRRtJOvsKvKtL1q+lzLjBOgF5N4mFwd9A02mNDxrlN7QDfblLPJeY2RPTRe1foT3e512Owd7dqKBVgoombBhUuAuBPuiw/J2/7ICpGZkSldNYNL/PRBFJhOl6bL2J35fJbkCWxz5Xk=----ATTACHMENT:----OTQ4NzcwODE5MzQ4NjA3MSAyOTU4MzkxMTkzODA4NzkwIDkwMzA5MzI5NTc3NjUyMDk=