summaryrefslogtreecommitdiff
path: root/doc/source/config.rst
diff options
context:
space:
mode:
authorjvoisin2018-07-13 12:23:20 +0200
committerjvoisin2018-07-13 12:23:20 +0200
commite8e5314f44dbbbaf5e421aaad88408ff20c5a248 (patch)
treedd0a9b3941ee84ec3a7118fad32b444eaf472740 /doc/source/config.rst
parentd7119b01c37cc7c94fe959046a2ec60639e1ae69 (diff)
Document even more the `print`/`echo` situation
Diffstat (limited to 'doc/source/config.rst')
-rw-r--r--doc/source/config.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/source/config.rst b/doc/source/config.rst
index 1b37071..dfe2799 100644
--- a/doc/source/config.rst
+++ b/doc/source/config.rst
@@ -310,9 +310,10 @@ It's currently not possible to:
310- Hook on the return value of user-defined functions 310- Hook on the return value of user-defined functions
311- Use extra-convoluted rules for matching, like ``${$A}$$B->${'}[1]``, because if you're writing 311- Use extra-convoluted rules for matching, like ``${$A}$$B->${'}[1]``, because if you're writing
312 things like this, odds are that you're doing something wrong anyway. 312 things like this, odds are that you're doing something wrong anyway.
313- Hooks on ``print`` will be logged 313- Hooks on ``echo`` and on ``print`` are equivalent: there is no way to hook one
314 (`for now<https://github.com/nbs-system/snuffleupagus/issues/190>`__) as hooks 314 without hooking the other, at least
315 on ``echo`` because of how PHP implements its internals. 315 `for now<https://github.com/nbs-system/snuffleupagus/issues/190>`__).
316 This is why hooked ``print`` will be displayed as ``echo`` in the logs.
316 317
317 318
318Examples 319Examples