<?php class Foo { public $bar; } $foo = new Foo(); foreach ([1, 2, 3] as $foo->bar) { var_dump($foo->bar); }
You have javascript disabled. You will not be able to edit any code.