<?php $foo = new stdClass(); $barProp = 0; $foo->{$barProp} = 10; var_dump($foo);
You have javascript disabled. You will not be able to edit any code.