From 61a723fe0a0519e194b58c426a78117b45bc4003 Mon Sep 17 00:00:00 2001 From: edgebal Date: Thu, 27 Feb 2014 16:20:14 -0300 Subject: [PATCH] Added tldr pages for php --- common/php.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 common/php.md diff --git a/common/php.md b/common/php.md new file mode 100644 index 000000000..6b48f9416 --- /dev/null +++ b/common/php.md @@ -0,0 +1,15 @@ +# php + +> PHP Command Line Interface 'CLI' + +- Parse and execute a file + +`php {{file}}` + +- Run PHP interactively + +`php -a` + +- Run PHP code. Notes: a) Don't use tags; b) Escape double quotes with backslash + +`php -r "{{code}}"` \ No newline at end of file