1
2
3
4
5
6
7
8
9
10
11
12
<?php

$arr = array("foo" => "bar", 12 => true);

$arr2 = $arr;

$arr2[] = "test";

echo $arr == $arr2; #=> false

echo $arr === $arr2; #=> false
?>