<?php $x = 10; $foo = null; $ref = &$foo; do { $ref = array('foo' => 'bar'); $ref = &$ref['foo']; } while (--$x); var_dump($foo);
You have javascript disabled. You will not be able to edit any code.