title: PHP equivalent of getBytes in Java
body: <p>I have the below Java code:</p>
  
  <pre><code>String Str1 = new String("Welcome to Tutorialspoint.com");
  System.out.println(Str1.toString().getBytes("UTF-8"));
  </code></pre>
  
  <p>The output on a 64-bit Windows 7 machine is: "[B@7041825e".</p>
  
  <p>What would be the above code's PHP equivalent?</p>