int fann_get_num_output(resource ann);
fann_get_num_output will return the number of output neurons in ann.
fann_get_num_output
See also fann_get_num_input, fann_get_total_neurons.
fann_get_num_input
fann_get_total_neurons
This function appears in FANN-PHP >= 0.1.0.