From 9cfd45f9020fd2e7c18721395759d4ebf367f889 Mon Sep 17 00:00:00 2001 From: Dylan <145150333+dmmqz@users.noreply.github.com> Date: Wed, 28 May 2025 19:35:08 +0000 Subject: [PATCH] php: update page and add Dutch translation (#16626) --- pages.nl/common/php.md | 36 ++++++++++++++++++++++++++++++++++++ pages/common/php.md | 20 ++++++++++---------- 2 files changed, 46 insertions(+), 10 deletions(-) create mode 100644 pages.nl/common/php.md diff --git a/pages.nl/common/php.md b/pages.nl/common/php.md new file mode 100644 index 0000000000..e40a1a2e61 --- /dev/null +++ b/pages.nl/common/php.md @@ -0,0 +1,36 @@ +# php + +> PHP command-line interface. +> Meer informatie: . + +- Parse en voer een PHP-script uit: + +`php {{pad/naar/bestand}}` + +- Controleer de syntax van (d.w.z. [l]int) een PHP-script: + +`php {{[-l|--syntax-check]}} {{pad/naar/bestand}}` + +- Voer PHP inter[a]ctief uit: + +`php {{[-a|--interactive]}}` + +- Voer PHP-code uit (Opmerkingen: Gebruik geen tags; escape dubbele aanhalingstekens met backslash): + +`php {{[-r|--run]}} "{{code}}"` + +- Start een PHP ingebouwde web[S]erver in de huidige map: + +`php {{[-S|--server]}} {{host:poort}}` + +- Toon geïnstalleerde PHP-extensies: + +`php {{[-m|--modules]}}` + +- Toon informatie over de huidige PHP-configuratie: + +`php {{[-i|--info]}}` + +- Toon informatie over een specifieke functie: + +`php {{[--rf|--rfunction]}} {{functie_naam}}` diff --git a/pages/common/php.md b/pages/common/php.md index 27b153c5ff..0ca9b9d396 100644 --- a/pages/common/php.md +++ b/pages/common/php.md @@ -7,30 +7,30 @@ `php {{path/to/file}}` -- Check syntax on (i.e. lint) a PHP script: +- Check syntax on (i.e. [l]int) a PHP script: -`php -l {{path/to/file}}` +`php {{[-l|--syntax-check]}} {{path/to/file}}` -- Run PHP interactively: +- Run PHP inter[a]ctively: -`php -a` +`php {{[-a|--interactive]}}` - Run PHP code (Notes: Don't use tags; escape double quotes with backslash): -`php -r "{{code}}"` +`php {{[-r|--run]}} "{{code}}"` -- Start a PHP built-in web server in the current directory: +- Start a PHP built-in web [S]erver in the current directory: -`php -S {{host:port}}` +`php {{[-S|--server]}} {{host:port}}` - List installed PHP extensions: -`php -m` +`php {{[-m|--modules]}}` - Display information about the current PHP configuration: -`php -i` +`php {{[-i|--info]}}` - Display information about a specific function: -`php --rf {{function_name}}` +`php {{[--rf|--rfunction]}} {{function_name}}`