title: How to get back 1st string after call addslashes() function in PHP
body: <p>I assign  String(<code>Con\\ec't</code>) in to the <code>$user_val</code> as look below </p>
  
  <pre><code>$user_val = addslashes(Con\\ec't);
  </code></pre>
  
  <p>Next I want to write <code>$user_val</code> into another PHP file as a Global constant. After that that string with slashes assign <code>NAME</code> constant </p>
  
  <pre><code>define ( 'NAME', 'Con\\\\ec\'t' );
  </code></pre>
  
  <p>I tried to get first string using code below</p>
  
  <pre><code> $mystring = stripslashes(NAME);
  </code></pre>
  
  <p>That gave me <code>Con\ec't</code> but I want to get <code>Con\\ec't</code> for <code>$mystring</code>. If you know please help me.</p>