diff options
| author | jvoisin | 2018-12-26 14:26:01 +0100 |
|---|---|---|
| committer | jvoisin | 2018-12-26 14:32:55 +0100 |
| commit | 54a24a61aadc9e33c3666a5d48ad1ac60e4178e6 (patch) | |
| tree | 44ae09a8f775d7664da657830eb5901f5187e932 /doc/source | |
| parent | ae9855034610e63be9416ae4386f7a46b7a0936e (diff) | |
Document that it's not possible to hook builtins via regexp
Also bump a bit the coverage
Diffstat (limited to 'doc/source')
| -rw-r--r-- | doc/source/config.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/config.rst b/doc/source/config.rst index 104515b..4159abe 100644 --- a/doc/source/config.rst +++ b/doc/source/config.rst | |||
| @@ -334,8 +334,8 @@ Limitations | |||
| 334 | It's currently not possible to: | 334 | It's currently not possible to: |
| 335 | 335 | ||
| 336 | - Hook every `language construct <https://secure.php.net/manual/en/reserved.keywords.php>`__, | 336 | - Hook every `language construct <https://secure.php.net/manual/en/reserved.keywords.php>`__, |
| 337 | because each of them requires a specific implementation. | 337 | because each of them requires a specific implementation. It's also not |
| 338 | - Hook on the return value of user-defined functions | 338 | possible to hook them via regular expression. |
| 339 | - Use extra-convoluted rules for matching, like ``${$A}$$B->${'}[1]``, because if you're writing | 339 | - Use extra-convoluted rules for matching, like ``${$A}$$B->${'}[1]``, because if you're writing |
| 340 | things like this, odds are that you're doing something wrong anyway. | 340 | things like this, odds are that you're doing something wrong anyway. |
| 341 | - Hooks on ``echo`` and on ``print`` are equivalent: there is no way to hook one | 341 | - Hooks on ``echo`` and on ``print`` are equivalent: there is no way to hook one |
