<?php function sample( &$array ) { $array['test'] = 'test1'; } function sample1( array $fruit ) { var_dump( $fruit ); } $test = array( 'test2' => 'test3' ); sample( $test ); var_dump( $test );
You have javascript disabled. You will not be able to edit any code.