PHP
Scopes
Below are visualizations of all our scope tests for this language. These were created primarily for testing purposes rather than as documentation. There are quite a few, and they may feel a bit overwhelming from a documentation standpoint.
Argument or parameter
1. Argument: Actual constructor multi line
A multi line argument in a constructor call. Insertion delimiter should include new line.3. Argument: Actual method multi line
A multi line argument in a method call. Insertion delimiter should include new line.5. Argument: Actual multi line
A multiline argument in a function call. Insertion delimiter should include new line.7. Argument: Formal constructor multi line
A multi line parameter in a constructor declaration. Insertion delimiter should include new line.9. Argument: Formal method multi line
A multi line parameter in a class method declaration. Insertion delimiter should include new line.11. Argument: Formal multi line
A multi line parameter in a function declaration. Insertion delimiter should include new line.13. Argument: Actual (iteration)
Iteration scope for arguments in a function call: the argument list. The domain should be the entire function call.14. Argument: Actual constructor (iteration)
Iteration scope for arguments in a constructor call: the argument list. The domain should be the entire constructor call..15. Argument: Actual method (iteration)
Iteration scope for arguments in a method call: the argument list. The domain should be the entire method call..16. Argument: Formal (iteration)
Iteration scope for formal parameters in a function declaration: the parameters list. The domain should be the entire function.Internal scopes
The following are internal scopes. They are not intended for user interaction or spoken use. These scopes exist solely for internal Cursorless functionality.