tldr/pages.de/common/php.md
K.B.Dharun Krishna 5c26174aa9
pages/*: update links and more info link script (#11390)
* pages/*: update links and more info link script

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* cleanup: reformat code

* ax-webapp: fix link

* curl: fix false positive

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>

---------

Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
2023-11-06 23:14:12 +05:30

643 B

php

PHP Befehlszeilenschnittstelle. Weitere Informationen: https://php.net.

  • Analysiere ein PHP-Skript und führe es aus:

php {{pfad/zu/datei}}

  • Überprüfe die Syntax eines PHP-Skripts:

php -l {{pfad/zu/datei}}

  • Führen PHP interaktiv aus:

php -a

  • Führe einen PHP-Befehl aus:

php -r "{{befehl}}"

  • Starte den in PHP integrierten Webserver im aktuellen Verzeichnis:

php -S {{host:port}}

  • Zeige eine Liste der installierten PHP-Erweiterungen:

php -m

  • Zeige Informationen zur aktuellen PHP-Konfiguration an:

php -i

  • Zeige Informationen zu einer bestimmten Funktion an:

php --rf {{funktionsname}}