<?php $a = new stdclass; $a->a = 1; $a->b = 2; var_dump((int)$a);
You have javascript disabled. You will not be able to edit any code.