<?php $othervar = array();$var = array(1, 2, 3);$othervar = $var; var_dump($othervar);var_dump($var);
Standard input is empty
array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3) } array(3) { [0]=> int(1) [1]=> int(2) [2]=> int(3) }
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!