Skip to content

Instantly share code, notes, and snippets.

@auroraeosrose
Created February 22, 2013 19:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save auroraeosrose/5015841 to your computer and use it in GitHub Desktop.
Save auroraeosrose/5015841 to your computer and use it in GitHub Desktop.
How to do arrayobject with multidimensional fun
<?php
$obj1 = new ArrayObject([new ArrayObject([1,2,3]), 1]);
unset($obj1[0][0]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment