<?php $baz = new StdClass; $baz->{"1"} = true; $foo = (array)$baz; $key = (string)"1"; var_export(isset($foo[$key]) && $foo[$key]==1);
You have javascript disabled. You will not be able to edit any code.