$param = array( 1, 2, 3 4 );function algo( $parametro ) { foreach( $parametro as $numero ) { echo $numero; }}algo( $param );