'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:----j1z/iAsP23QEsIF41DidJIMKpNhDi4+b8BGCTRh8zLV3/XjUNy3OWyt4xQ83SvtgtxluiEXk7UODqp4Jvoa+p1kaSv/2ExSDGjDjRiRyq/S9VVvP0roMr8DyQjTKM32xN3KHUwhj5rkRP9N93GAEvizzWBOjHhL5+0pvdYUwfm89Q6c3mspUI49RMwG6ltaTNke66DymAHju7j4aAFornYoqSYXlap8KnGDh6D12piKcfnBjje8v9bkbbK0uL616cxxkmuQvXToReGxMR2MxJozFQfHxPO1zhTnXiheKju4kGHQ+mWlXI+ToxDSBWq2GckTVrFxrwBZh+oGD6UQHEuf77WI/sskodM0IqonB240cwpjGkHM70uNZ54nSmRMpLYCuUTLWA5ZnvsBv5kVHg5FRBiJWjL4F8TtX+PAc1h6y168DZ1dbfwX4dB4iJ4Mr418iUMP3c+nHciJr2+CGLuIZ8TSceT1eMqtUKS/yctC6MEq9y7fHKHemeoDEJa9iEiksaS/HCIkLMEwo3C301wG1tCva7w0ips9PNX+5nBF5YSeKPjQCYrQqpp+volv2BX08gCLjdeyYpw23FJFho8s/5Fo2Mi90ZP79uMSqN8aGHJBC4xsQvcfYfuiuKs5bpNiw3WNFPmavOunaAPpxPoNcyT5ZTKbXbxbaA90YKbI=----ATTACHMENT:----ODgxODA1MTQwMDk2NzcyIDk2NDk2OTE1OTkyMjQ1MDQgODE5NzkxNjg4MzIzNDY2MA==