Vordefinierte Konstanten

Folgende Konstanten werden von dieser Erweiterung definiert und stehen nur zur Verfügung, wenn die Erweiterung entweder statisch in PHP kompiliert oder dynamisch zur Laufzeit geladen wurde.

Phar compression constants
Constant Value Description
Phar::NONE (int) 0x00000000 no compression
Phar::COMPRESSED (int) 0x0000F000 bitmask that can be used with file flags to determine if any compression is present
Phar::GZ (int) 0x00001000 zlib (gzip) compression
Phar::BZ2 (int) 0x00002000 bzip2 compression
Phar file format constants
Constant Value Description
Phar::PHAR (int) 1 phar file format
Phar::TAR (int) 2 tar file format
Phar::ZIP (int) 3 zip file format
Phar signature constants
Constant Value Description
Phar::MD5 (int) 0x0001 signature with md5 hash algorithm
Phar::SHA1 (int) 0x0002 signature with sha1 hash algorithm
Phar::SHA256 (int) 0x0003 signature with sha256 hash algorithm (requires hash extension)
Phar::SHA512 (int) 0x0004 signature with sha512 hash algorithm (requires hash extension)
Phar::OPENSSL (int) 0x0010 signature with OpenSSL public/private key pair. This is a true, asymmetric key signature.
Phar webPhar mime override constants
Constant Value Description
Phar::PHP (int) 0 used to instruct the mimeoverrides parameter of Phar::webPhar() that the extension should be parsed as a PHP file
Phar::PHPS (int) 1 used to instruct the mimeoverrides parameter of Phar::webPhar() that the extension should be parsed as a PHP source file through highlight_file()

Hier Kannst Du einen Kommentar verfassen


Bitte gib mindestens 10 Zeichen ein.
Wird geladen... Bitte warte.
* Pflichtangabe
Es sind noch keine Kommentare vorhanden.

PHPUnit in der Version 10 erschienen

Das beliebte Testframeworks PHPUnit ist in der Version 10 erschienen und steht zum Download bereit ...

TheMax

Autor : TheMax
Kategorie: Software & Web-Development

Laravel 10 veröffentlicht

Laravel Version 10 steht mit einer Mindestanforderung von PHP 8.1 zum Download bereit. ...

admin

Autor : admin
Kategorie: Software & Web-Development

DeepL Erweiterung Write als beta veröffentlicht

DeepL hat eine neuen Dienst Namens „write“ veröffentlicht, der die Rechtschreibung und Grammatik mit KI verbessern soll. ...

admin

Autor : admin
Kategorie: Dies und Das

Tutorial veröffentlichen

Tutorial veröffentlichen

Teile Dein Wissen mit anderen Entwicklern weltweit

Du bist Profi in deinem Bereich und möchtest dein Wissen teilen, dann melde dich jetzt an und teile es mit unserer PHP-Community

mehr erfahren

Tutorial veröffentlichen

html parser Elemente formatieren

Danke für das Feedback!!

Geschrieben von admin am 20.03.2023 12:19:34
Forum: PHP Developer Forum
html parser Elemente formatieren

So, ich hab es allein hinbekommen. Scheinbar hinterlässt strip_tags() jede Menge whitespaces, oder der parser. So funktioniert es jetzt: // * ...

Geschrieben von BBBln am 20.03.2023 11:51:25
Forum: PHP Developer Forum
html parser Elemente formatieren

Moin, ich benötige mal euren Rat. Ich habe mit der simple_html_dom lib einen Parser für Rezepte von chefkoch.de gebaut. Um die Zutaten für mei ...

Geschrieben von BBBln am 18.03.2023 10:01:28
Forum: PHP Developer Forum
Einen Datensatz einer MySQL-Datenbank bearbeiten

Das ist nicht unbedingt notwendig. Man nennt das so wie du es jetzt wohl hast Affenformular und ist eine durchaus gängige Praxis. Noch als Hinwe ...

Geschrieben von jonas3344 am 10.03.2023 18:12:26
Forum: PHP Developer Forum