you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 2 years ago

Sorry for being lazy so no sources for now. But based on my research back then. Using clone (on arrays) is actually slower then json_encode/json_decode.

So there are some cool optimization tricks going on in the background. But that doesn't make it any more intuitive for me.

  • source
  • parent