'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:----DwIEMUywFZBHRJ4Ab3xEnqSQH3lYx4SWGQaaevXg2+sBGBMO2xNuPT3qvYPHJiv+bCQiMRiaVZ052n562lK9MZQVmlwRCGrZj1Wj+Yd0Azi4xk0V395QKM9djyRHlRxuYopz3x7RrZt28ZI7KWHGH0NrgUInIW0kNcC8cntdeWTJCwPmg5+nO3Br0632hOMYIyW3lUa0g8jV/uw8jV27tpaRIhZxc4pPzLL6nY+x4pos1aUYpB22hGc8r5lmVNl+5N0GcmFgoq1pS9aytmp1YIKwzH4t4vrIL1CwtcJHab9T2892iH8MeU7T4R7qv3aCeoL7BEQCbDtHhp3vnRLoJbXncxgjCrgaZGkXVg6F0sXRQrstq5qdRQIA2yr3775g4ST0AVtPHwH1vQOnkOEX8Or4o9FNl/cWxIyH0iueOqDqm+JREQLvHo2Xu1I5GaM6wI39i3U/q74+78d00td0kQpcchHqDN1P/wagBnXQ8RnKm4m8kNzMYWJoSMQHARzZAOEJEZ1BikPRHVTK07d1BzjTPPPqL8D0O+QIVMGiCVw3wX1wNBrYNjCTa5kmcL2jXuwrNJHsTfPjtTYQsv7R7mCjlSgunGhyi+TxCCqYrSItjPGQEfcJhydotXVRu9Dpu1qgT3WLQaQ61Mn0MXeN5cYMOYRBFO5c5FBDM6q4T7g=----ATTACHMENT:----OTgzMjIwODIxNDQ1NjM4OCA5ODAyMTM3NDM1Mjc2MDIwIDcxNDQ0Mzk2ODk1MzIxMQ==