title: PHP Convert a string into array
body: <p>I have an archive from a program, i need the info of this archive loaded in php as an array.</p>
  
  <p>I can set the info of the archive in a string but I cant convert it into an array.</p>
  
  <p>This is the string:</p>
  
  <pre><code>archivedVars =
  {
      ["Default"] = 
      {
          ["Name"] = 
          {
              ["Name1"] = 
              {
                  ["@XXXXX"] = 
                  {
                      ["show"] = true,
                      ["open"] = true,
                  },
              },
              ["Name2"] = 
              {
                  ["YYYYY"] = 
                  {
                      ["show"] = true,
                      ["open"] = true,
                  },
              },
          },
      },
  }
  </code></pre>
  
  <p>How can I convert this string into an php array?</p>