<?php $arr = [4]; $o = new stdClass(); $o->foo = &$arr[0]; $arr[0] = 10; print_r($o);
You have javascript disabled. You will not be able to edit any code.