mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 14:02:08 +02:00

* 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>
36 lines
643 B
Markdown
36 lines
643 B
Markdown
# 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}}`
|