'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:----DHd1qNjUdIRwUNN5DY1zqFIQ2PBvaOkqGFMCKhd6rf+/drOhIezeqrJm5IgoZgHE12PiqJrXfpV5KcFfSAKciRCtYN4Sc/LQdQE9veP1HO0KyDOnl6AARHO2xNwE2BLzLKywHtYb6ly4Fn6HvMvgYCjVcCcrCohPLZRiBZSxaE+RfeEGu1jSsupgabd9EnQxqk054pEdQENWZ6xSymq0BNKcKTiZz85Qp0e38NVNu32JsjKxe9w9djTM0YoWPVpPLniwNYOFukmKJAFQXjsFWO17Aowlh2lverO0qSI7SgnCu9OlcTDqx+lkj7A0xv2HZi9w3RfxW/M2Q37lLB+huoctt2vXS58U+6SmBPkH0WwnJSQ0MwzA2ElotNQHl3BAy52pas0BSDGdgFjgcGG5U6OonoSntrb3vuo6u+kOpURMWzDaeP8ooc4m+SYvRywdAsT168xfiQg5eOoGFEXfRwJ74h2NaIHs0f7wTawVOtgBUDsxFidylEqaj89EMmvThO/rfzikP2GMgcpKEBP5MiVqSeVu1YdowLj+RGKASTw+jr/oCyMLmqkKrbPak8u7Pml+aofEiTOp2QB2AiHniqGwQ7EdVpskgWerky9znOinHhnRVktpIU6rGfMz2qffHU4MtCMX9rMuJlT4vzUcFQyVsg0B3eCOzxPTgCdUSo0=----ATTACHMENT:----MjkxNDk3NjI5MzEwNTgwNyAxMzY3NTg0NzMyNDQ3IDQ3MDc2NDE2NjU3OTI3MDM=