In a php
code I found the code snippet:
class GF_Field extends stdClass implements ArrayAccess {
if ( is_array( $this->inputs ) ) {
foreach ( $this->inputs as $input ) {
But I don't know what is inputs
come from.
Any help would be highly appropriated.
EDIT:
The programmer made two ambiguous step, which made me harder to find the declaration:
- Declared an object instance's property in the code as Felippe pointed below
- Made an assignment via referenced variable somewhere else in the code:
foreach ( $this->inputs as &$input ) {
$input = something