Düzenleme: Bu davranış query globals üzerine ile tekrarlanabilir.
Ben şu var:
$_SESSION['query_key'] = $_GET['query_key'];
print($query_key);
Vs.
$_SESSION['query_key'] = clone $_GET['query_key'];
print($query_key);
The former prints out the value of $query_key, while the latter prints nothing. What sort of weird side effect is this of clone?