<?php class X implements ArrayAccess { function offsetGet($n) { va_dump(0,$n); return "42";} function offsetSet($x, $z) { var_dump($x, $z); } } $x = new X(); $x[23]++;
You have javascript disabled. You will not be able to edit any code.