title: store public key in variable php
body: <p>I have a public key which I would like to store in a variable as string, for example :</p>
  
  <pre><code>$public_key = "-----BEGIN PUBLIC KEY-----
  MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDH82E/Dn37torKz/vhAkpji9ZS
  HCyfM7JuXCbh70F75Zh2/rEVvz38yNf6f01DNXiSpzO5eTmoXD7Blsb635AOjYbl
  X/WljpFbwQ2QUUDlNDAslrqXYlMzht2MCq/pjtGgk0zJx6i+HjFyV7mebeePQY/x
  NOzMpmy/Ke3u+SSHRwIDAQAB
  -----END PUBLIC KEY-----";
  </code></pre>
  
  <p>I would like to have something like this</p>
  
  <pre><code>$public_key = "-----BEGIN PUBLIC KEY-----
                MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDH82E/Dn37torKz/vhAkpji9ZS
                HCyfM7JuXCbh70F75Zh2/rEVvz38yNf6f01DNXiSpzO5eTmoXD7Blsb635AOjYbl
                X/WljpFbwQ2QUUDlNDAslrqXYlMzht2MCq/pjtGgk0zJx6i+HjFyV7mebeePQY/x
                NOzMpmy/Ke3u+SSHRwIDAQAB
                -----END PUBLIC KEY-----";
  </code></pre>
  
  <p>For the moment, it fails because the key is no more valid because spaces with indentation</p>
  
  <p>How to deal with break lines and indentation?</p>