Skip to content

Instantly share code, notes, and snippets.

@ram-nadella
Created February 10, 2014 19:31
Show Gist options
  • Save ram-nadella/8922555 to your computer and use it in GitHub Desktop.
Save ram-nadella/8922555 to your computer and use it in GitHub Desktop.
<?php
ini_set('display_errors', 0);
$a = "á";
$b = substr($a, 0, 1);
$c = json_encode(array("b" => $b));
var_dump($c);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment