rfc:linecontrol
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
rfc:linecontrol [2011/08/11 04:12] – created gwynne | rfc:linecontrol [2017/09/22 13:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 3: | Line 3: | ||
* Date: 2011-08-11 | * Date: 2011-08-11 | ||
* Author: Gwynne Raskind < | * Author: Gwynne Raskind < | ||
- | * Status: Draft | + | * Status: Draft (Inactive) |
* First Published at: http:// | * First Published at: http:// | ||
Line 69: | Line 69: | ||
* Better identification of the location of error messages | * Better identification of the location of error messages | ||
- | * More control over '' | + | * More control over '' |
* Enables useful complex preprocessing | * Enables useful complex preprocessing | ||
=== Con === | === Con === | ||
- | * Interferes with HTML mode | + | * Interferes with HTML mode? |
- | * Potential security implications for malicious manipulation of '' | + | * Potential security implications for malicious manipulation of '' |
* Questionable interoperation with included files | * Questionable interoperation with included files | ||
* May only be useful for CLI applications | * May only be useful for CLI applications | ||
Line 86: | Line 86: | ||
- '' | - '' | ||
- In general, anything which may produce error-emitting PHP code whose source is not immediately accessible. | - In general, anything which may produce error-emitting PHP code whose source is not immediately accessible. | ||
+ | |||
+ | ===== Proposal ===== | ||
+ | |||
+ | The proposed syntax for linemarkers is identical to that used by the '' | ||
+ | |||
+ | ''# | ||
+ | |||
+ | Alternatively, | ||
+ | |||
+ | The //flags// field has the following potential values: | ||
+ | |||
+ | 1 - Indicates the start of a new file. | ||
+ | |||
+ | 2 - Indicates the return to a file after having switched to another. | ||
+ | |||
+ | This syntax has the advantage of being 100% backward-compatible with earlier versions of PHP, as the ''#'' | ||
+ | |||
+ | Line markers which exist outside of ''<? | ||
===== Patch ===== | ===== Patch ===== | ||
- | No patch has been written yet, pending a determination of feasability/desirability. | + | No patch has been written yet, pending a determination of feasability |
===== Changelog ===== | ===== Changelog ===== |
rfc/linecontrol.1313035965.txt.gz · Last modified: 2017/09/22 13:28 (external edit)