Function Tempcode->singular_bind
Definitions
sources/tempcode.php
- Replace the named parameter with a specific value. Hardly used, but still important. Note that this will bind to all kinds of things that might not normally take named parameters, like symbols; this should not cause problems though.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $key | string | No | No | required parameter | N/A | N/A | Named parameter |
| $value | mixed | No | No | required parameter | N/A | N/A | Specific value |
Preview
Code (PHP)
/**
* Replace the named parameter with a specific value. Hardly used, but still important. Note that this will bind to all kinds of things that might not normally take named parameters, like symbols; this should not cause problems though.
*
* @param string $key Named parameter
* @param mixed $value Specific value
*/
public function singular_bind(string $key, $value)
* Replace the named parameter with a specific value. Hardly used, but still important. Note that this will bind to all kinds of things that might not normally take named parameters, like symbols; this should not cause problems though.
*
* @param string $key Named parameter
* @param mixed $value Specific value
*/
public function singular_bind(string $key, $value)

