mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-08 00:13:48 +02:00
update php
updated
This commit is contained in:
parent
81e5a1e49d
commit
93ed271272
1 changed files with 9 additions and 9 deletions
|
@ -1,32 +1,32 @@
|
||||||
# php
|
# php
|
||||||
|
|
||||||
> PHP command line interface.
|
> Interfejs wiersza poleceń PHP.
|
||||||
> More information: <https://php.net>.
|
> Więcej informacji: <https://php.net>.
|
||||||
|
|
||||||
- Parse and execute a php script:
|
- Parsuj i uruchom skrypt php:
|
||||||
|
|
||||||
`php {{file}}`
|
`php {{file}}`
|
||||||
|
|
||||||
- Check syntax on (i.e. lint) a PHP script:
|
- Sprawdź składnię skryptu PHP (np. lint):
|
||||||
|
|
||||||
`php -l {{file}}`
|
`php -l {{file}}`
|
||||||
|
|
||||||
- Run PHP interactively:
|
- Uruchom PHP interaktywnie:
|
||||||
|
|
||||||
`php -a`
|
`php -a`
|
||||||
|
|
||||||
- Run PHP code (Notes: Don't use <? ?> tags; escape double quotes with backslash):
|
- Uruchom kod PHP (uwagi: nie używaj znaczników <? ?> ; unikaj podwójnych cudzysłowów z odwrotnym ukośnikiem):
|
||||||
|
|
||||||
`php -r "{{code}}"`
|
`php -r "{{code}}"`
|
||||||
|
|
||||||
- Start a PHP built-in web server in the current directory:
|
- uruchom wbudowany serwer PHP w bieżącym katalogu:
|
||||||
|
|
||||||
`php -S {{host:port}}`
|
`php -S {{host:port}}`
|
||||||
|
|
||||||
- Get a list of installed PHP extensions:
|
- Uzyskaj listę zainstalowanych rozszerzeń PHP
|
||||||
|
|
||||||
`php -m`
|
`php -m`
|
||||||
|
|
||||||
- Display information about the current PHP configuration:
|
- Wyświetl informacje o bieżącej konfiguracji PHP:
|
||||||
|
|
||||||
`php -i`
|
`php -i`
|
||||||
|
|
Loading…
Add table
Reference in a new issue