wordwrap

Supported Versions: PHP 4 >= 4.0.2, PHP 5, PHP 7, PHP 8
Wraps a string to a given number of characters
wordwrap(¬†¬†¬†¬†string $string,¬†¬†¬†¬†int $width 75,¬†¬†¬†¬†string $break "\n",¬†¬†¬†¬†bool $cut_long_words false): string
                        if ($this->styles->has('font')) {

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

                        } else {

                            
$lines explode(PHP_EOLstrings(wordwrap($this->valueterminal()->getWidth() - $pr $pl $mr $ml - ($hasBorder() ? $borderSpaces 0) + $this->getShortcodesStringSize($this->value), PHP_EOLfalse))->trimRight(PHP_EOL)->toString());

                        }

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

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

                        } else {

                            
$lines explode(PHP_EOLstrings(wordwrap($this->valueterminal()->getWidth() - $pr $pl $mr $ml - ($hasBorder() ? $borderSpaces 0) + $this->getShortcodesStringSize($this->value), PHP_EOLfalse))->trimRight(PHP_EOL)->toString());

                        }

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

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

                        } else {

                            
$lines explode(PHP_EOLstrings(wordwrap($this->valueterminal()->getWidth() - $pr $pl $mr $ml - ($hasBorder() ? $borderSpaces 0) + $this->getShortcodesStringSize($this->value), PHP_EOLfalse))->trimRight(PHP_EOL)->toString());

                        }

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

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

                        } else {

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

                        }

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

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

                        } else {

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

                        }

                    }

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

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

                        } else {

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

                        }

                    }
            '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),
            '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),

            ]),
            '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),

            ]),

        ];