<?php class Test implements ArrayAccess { function offsetGet($o){} function offsetUnset($o){} function offsetSet($o, $v){} function offsetExists($o){ var_dump($o);} } $arr = new Test; isset($arr[false]); isset($arr[0.12345]);
You have javascript disabled. You will not be able to edit any code.