PHP - File Handling
What is wrong with this PHP code?
$data = ['x' => 10, 'y' => 20];
$json = json_encode($data);
$arr = json_decode($json, false);
echo $arr['x'];
