CodeGen icon indicating copy to clipboard operation
CodeGen copied to clipboard

SafeArrayAccessExpr

Open c9s opened this issue 10 years ago • 0 comments

$expr = new SafeArrayAccessExpr('$var', [ 'foo', 'bar' ]);

generates:

isset($var['foo']['bar']) : $var['foo']['bar'] : null;

c9s avatar Aug 02 '15 04:08 c9s