wordwrap

Supported Versions: PHP 4 >= 4.0.2, PHP 5, PHP 7, PHP 8
Wraps a string to a given number of characters
<?php wordwrap(    string $string,    int $width = 75,    string $break = "\n",    bool $cut_long_words = false): string
<?php     public static function wordWrap($string, $characters = 75, $break = "\n", $cutLongWords = false)

    {

        return wordwrap($string, $characters, $break, $cutLongWords);

    }
<?php                         if ($this->styles->has('font')) {

                            $lines = explode(PHP_EOL, $this->value);

                        } else {

                            $lines = explode(PHP_EOL, strings(wordwrap($this->value, terminal()->getWidth() - $pr - $pl - $mr - $ml - ($hasBorder() ? $borderSpaces : 0) + $this->getShortcodesStringSize($this->value), PHP_EOL, false))->trimRight(PHP_EOL)->toString());

                        }

                    }
<?php                         if ($this->styles->has('font')) {

                            $lines = explode(PHP_EOL, $this->value);

                        } else {

                            $lines = explode(PHP_EOL, strings(wordwrap($this->value, terminal()->getWidth() - $pr - $pl - $mr - $ml - ($hasBorder() ? $borderSpaces : 0) + $this->getShortcodesStringSize($this->value), PHP_EOL, false))->trimRight(PHP_EOL)->toString());

                        }

                    }
<?php                         if ($this->styles->has('font')) {

                            $lines = explode(PHP_EOL, $this->value);

                        } else {

                            $lines = explode(PHP_EOL, strings(wordwrap($this->value, terminal()->getWidth() - $pr - $pl - $mr - $ml - ($hasBorder() ? $borderSpaces : 0) + $this->getShortcodesStringSize($this->value), PHP_EOL, false))->trimRight(PHP_EOL)->toString());

                        }

                    }
<?php                         if ($this->styles->has('font')) {

                            $lines = explode(PHP_EOL, $this->value);

                        } else {

                            $lines = explode(PHP_EOL, strings(wordwrap($this->value, $widthStyle - $pr - $pl - ($hasBorder() ? $borderSpaces : 0) + $this->getShortcodesStringSize($this->value), PHP_EOL, false))->trimRight(PHP_EOL)->toString());

                        }

                    }
<?php                         if ($this->styles->has('font')) {

                            $lines = explode(PHP_EOL, $this->value);

                        } else {

                            $lines = explode(PHP_EOL, strings(wordwrap($this->value, $widthStyle - $pr - $pl - ($hasBorder() ? $borderSpaces : 0) + $this->getShortcodesStringSize($this->value), PHP_EOL, false))->trimRight(PHP_EOL)->toString());

                        }

                    }

            
<?php                         if ($this->styles->has('font')) {

                            $lines = explode(PHP_EOL, $this->value);

                        } else {

                            $lines = explode(PHP_EOL, strings(wordwrap($this->value, $widthStyle - $pr - $pl - ($hasBorder() ? $borderSpaces : 0) + $this->getShortcodesStringSize($this->value), PHP_EOL, false))->trimRight(PHP_EOL)->toString());

                        }

                    }
<?php             'issuer' => new EnumStub(array_intersect_key($info['issuer'], ['organizationName' => true, 'commonName' => true])),

            'expiry' => new ConstStub(date(\DateTime::ISO8601, $info['validTo_time_t']), $info['validTo_time_t']),

            'fingerprint' => new EnumStub([

                'md5' => new ConstStub(wordwrap(strtoupper(openssl_x509_fingerprint($h, 'md5')), 2, ':', true)),

                'sha1' => new ConstStub(wordwrap(strtoupper(openssl_x509_fingerprint($h, 'sha1')), 2, ':', true)),

                'sha256' => new ConstStub(wordwrap(strtoupper(openssl_x509_fingerprint($h, 'sha256')), 2, ':', true)),

                'pin-sha256' => new ConstStub($pin),
<?php             'expiry' => new ConstStub(date(\DateTime::ISO8601, $info['validTo_time_t']), $info['validTo_time_t']),

            'fingerprint' => new EnumStub([

                'md5' => new ConstStub(wordwrap(strtoupper(openssl_x509_fingerprint($h, 'md5')), 2, ':', true)),

                'sha1' => new ConstStub(wordwrap(strtoupper(openssl_x509_fingerprint($h, 'sha1')), 2, ':', true)),

                'sha256' => new ConstStub(wordwrap(strtoupper(openssl_x509_fingerprint($h, 'sha256')), 2, ':', true)),

                'pin-sha256' => new ConstStub($pin),

            ]),
<?php             'fingerprint' => new EnumStub([

                'md5' => new ConstStub(wordwrap(strtoupper(openssl_x509_fingerprint($h, 'md5')), 2, ':', true)),

                'sha1' => new ConstStub(wordwrap(strtoupper(openssl_x509_fingerprint($h, 'sha1')), 2, ':', true)),

                'sha256' => new ConstStub(wordwrap(strtoupper(openssl_x509_fingerprint($h, 'sha256')), 2, ':', true)),

                'pin-sha256' => new ConstStub($pin),

            ]),

        ];