From 92c510353a1d8e647da0bf1e683e88b77107a745 Mon Sep 17 00:00:00 2001
From: Ivan Fedorov
Day of the date.
* @return static|false * Returns the {@link https://secure.php.net/manual/en/class.datetimeimmutable.php DateTimeImmutable} object for method chaining or FALSE on failure. + * */ public function setDate($year, $month, $day) { } @@ -264,6 +269,7 @@ class DateTimeImmutable implements DateTimeInterface { * * @return string * Returns the formatted date string on success or FALSE on failure. + * */ public function format($format) { } @@ -273,6 +279,7 @@ class DateTimeImmutable implements DateTimeInterface { * @return int * Returns the timezone offset in seconds from UTC on success * or FALSE on failure. + * */ public function getOffset() { } diff --git a/dom/dom_c.php b/dom/dom_c.php index c9d35260..86d70d15 100644 --- a/dom/dom_c.php +++ b/dom/dom_c.php @@ -1865,11 +1865,13 @@ class DOMEntityReference extends DOMNode { class DOMProcessingInstruction extends DOMNode { /** + * * @link https://php.net/manual/en/class.domprocessinginstruction.php#domprocessinginstruction.props.target */ public $target; /** + * * @link https://php.net/manual/en/class.domprocessinginstruction.php#domprocessinginstruction.props.data */ public $data; diff --git a/ds/ds.php b/ds/ds.php index 81e50ca1..f694ba40 100644 --- a/ds/ds.php +++ b/ds/ds.php @@ -7,6 +7,7 @@ * @copyright © 2019 PHP Documentation Group * @license CC-BY 3.0, https://www.php.net/manual/en/cc.license.php */ + namespace Ds { use Countable; diff --git a/fann/fann.php b/fann/fann.php index e039c694..b8121285 100644 --- a/fann/fann.php +++ b/fann/fann.php @@ -64,6 +64,7 @@ class FANNConnection /** * Trains on an entire dataset, for a period of time using the Cascade2 training algorithm * + * * @param resource $ann * @param resource $data * @param int $max_neurons @@ -79,6 +80,7 @@ function fann_cascadetrain_on_data($ann, $data, $max_neurons, $neurons_between_r /** * Trains on an entire dataset read from file, for a period of time using the Cascade2 training algorithm. * + * * @param resource $ann * @param string $filename * @param int $max_neurons @@ -94,6 +96,7 @@ function fann_cascadetrain_on_file($ann, $filename, $max_neurons, $neurons_betwe /** * Clears scaling parameters * + * * @param resource $ann * * @return bool @@ -105,6 +108,7 @@ function fann_clear_scaling_params($ann) /** * Creates a copy of a fann structure * + * * @param resource $ann * * @return resource|false Returns a copy of neural network resource on success, or false on error @@ -116,6 +120,7 @@ function fann_copy($ann) /** * Constructs a backpropagation neural network from a configuration file * + * * @param string $configuration_file * * @return resource @@ -127,6 +132,7 @@ function fann_create_from_file($configuration_file) /** * Creates a standard backpropagation neural network which is not fully connectected and has shortcut connections * + * * @param int $num_layers * @param array $layers * @@ -153,6 +159,7 @@ function fann_create_shortcut($num_layers, $num_neurons1, $num_neurons2, $_ = NU /** * Creates a standard backpropagation neural network, which is not fully connected using an array of layer sizes * + * * @param float $connection_rate * @param int $num_layers * @param array $layers @@ -166,6 +173,7 @@ function fann_create_sparse_array($connection_rate, $num_layers, $layers) /** * Creates a standard backpropagation neural network, which is not fully connected * + * * @param float $connection_rate * @param int $num_layers * @param int $num_neurons1 @@ -181,6 +189,7 @@ function fann_create_sparse($connection_rate, $num_layers, $num_neurons1, $num_n /** * Creates a standard fully connected backpropagation neural network using an array of layer sizes * + * * @param int $num_layers * @param array $layers * @@ -193,6 +202,7 @@ function fann_create_standard_array($num_layers, $layers) /** * Creates a standard fully connected backpropagation neural network * + * * @param int $num_layers * @param int $num_neurons1 * @param int $num_neurons2 @@ -207,6 +217,7 @@ function fann_create_standard($num_layers, $num_neurons1, $num_neurons2, $_ = NU /** * Creates the training data struct from a user supplied function * + * * @param int $num_data * @param int $num_input * @param int $num_output @@ -221,6 +232,7 @@ function fann_create_train_from_callback($num_data, $num_input, $num_output, $us /** * Creates an empty training data struct * + * * @param int $num_data * @param int $num_input * @param int $num_output @@ -234,6 +246,7 @@ function fann_create_train($num_data, $num_input, $num_output) /** * Scale data in input vector after get it from ann based on previously calculated parameters * + * * @param resource $ann * @param array $input_vector * @@ -246,6 +259,7 @@ function fann_descale_input($ann, $input_vector) /** * Scale data in output vector after get it from ann based on previously calculated parameters * + * * @param resource $ann * @param array $output_vector * @@ -258,6 +272,7 @@ function fann_descale_output($ann, $output_vector) /** * Descale input and output data based on previously calculated parameters * + * * @param resource $ann * @param resource $train_data * @@ -270,6 +285,7 @@ function fann_descale_train($ann, $train_data) /** * Destroys the entire network and properly freeing all the associated memory * + * * @param resource $ann * * @return bool @@ -281,6 +297,7 @@ function fann_destroy($ann) /** * Destructs the training data * + * * @param resource $train_data * * @return bool @@ -292,6 +309,7 @@ function fann_destroy_train($train_data) /** * Returns an exact copy of a fann train data * + * * @param resource $data * * @return resource @@ -303,6 +321,7 @@ function fann_duplicate_train_data($data) /** * Returns the activation function * + * * @param resource $ann * @param int $layer * @param int $neuron @@ -316,6 +335,7 @@ function fann_get_activation_function($ann, $layer, $neuron) /** * Returns the activation steepness for supplied neuron and layer number * + * * @param resource $ann * @param int $layer * @param int $neuron @@ -329,6 +349,7 @@ function fann_get_activation_steepness($ann, $layer, $neuron) /** * Get the number of bias in each layer in the network * + * * @param resource $ann * * @return array An array of numbers of bias in each layer @@ -340,6 +361,7 @@ function fann_get_bias_array($ann) /** * Returns the bit fail limit used during training * + * * @param resource $ann * * @return float|false The bit fail limit, or false on error. @@ -351,6 +373,7 @@ function fann_get_bit_fail_limit($ann) /** * The number of fail bits * + * * @param resource $ann * * @return int|false The number of bits fail, or false on error. @@ -362,6 +385,7 @@ function fann_get_bit_fail($ann) /** * Returns the number of cascade activation functions * + * * @param resource $ann * * @return int|false The number of cascade activation functions, or false on error. @@ -373,6 +397,7 @@ function fann_get_cascade_activation_functions_count($ann) /** * Returns the cascade activation functions * + * * @param resource $ann * * @return array|false The cascade activation functions, or false on error. @@ -384,6 +409,7 @@ function fann_get_cascade_activation_functions($ann) /** * The number of activation steepnesses * + * * @param resource $ann * * @return int|false The number of activation steepnesses, or false on error. @@ -395,6 +421,7 @@ function fann_get_cascade_activation_steepnesses_count($ann) /** * Returns the cascade activation steepnesses * + * * @param resource $ann * * @return array|false The cascade activation steepnesses, or false on error. @@ -406,6 +433,7 @@ function fann_get_cascade_activation_steepnesses($ann) /** * Returns the cascade candidate change fraction * + * * @param resource $ann * * @return float|false The cascade candidate change fraction, or false on error. @@ -417,6 +445,7 @@ function fann_get_cascade_candidate_change_fraction($ann) /** * Return the candidate limit * + * * @param resource $ann * * @return float|false The candidate limit, or false on error. @@ -428,6 +457,7 @@ function fann_get_cascade_candidate_limit($ann) /** * Returns the number of cascade candidate stagnation epochs * + * * @param resource $ann * * @return float|false The number of cascade candidate stagnation epochs, or false on error. @@ -439,6 +469,7 @@ function fann_get_cascade_candidate_stagnation_epochs($ann) /** * Returns the maximum candidate epochs * + * * @param resource $ann * * @return int|false The maximum candidate epochs, or false on error. @@ -450,6 +481,7 @@ function fann_get_cascade_max_cand_epochs($ann) /** * Returns the maximum out epochs * + * * @param resource $ann * * @return int|false The maximum out epochs, or false on error. @@ -461,6 +493,7 @@ function fann_get_cascade_max_out_epochs($ann) /** * Returns the minimum candidate epochs * + * * @param resource $ann * * @return int|false The minimum candidate epochs, or false on error. @@ -472,6 +505,7 @@ function fann_get_cascade_min_cand_epochs($ann) /** * Returns the minimum out epochs * + * * @param resource $ann * * @return int|false The minimum out epochs, or false on error. @@ -483,6 +517,7 @@ function fann_get_cascade_min_out_epochs($ann) /** * Returns the number of candidate groups * + * * @param resource $ann * * @return int|false The number of candidate groups, or false on error. @@ -494,6 +529,7 @@ function fann_get_cascade_num_candidate_groups($ann) /** * Returns the number of candidates used during training * + * * @param resource $ann * * @return int|false The number of candidates used during training, or false on error. @@ -505,6 +541,7 @@ function fann_get_cascade_num_candidates($ann) /** * Returns the cascade output change fraction * + * * @param resource $ann * * @return float|false The cascade output change fraction, or false on error. @@ -516,6 +553,7 @@ function fann_get_cascade_output_change_fraction($ann) /** * Returns the number of cascade output stagnation epochs * + * * @param resource $ann * * @return int|false The number of cascade output stagnation epochs, or false on error. @@ -527,6 +565,7 @@ function fann_get_cascade_output_stagnation_epochs($ann) /** * Returns the weight multiplier * + * * @param resource $ann * * @return float|false The weight multiplier, or false on error. @@ -538,6 +577,7 @@ function fann_get_cascade_weight_multiplier($ann) /** * Get connections in the network * + * * @param resource $ann * * @return array An array of connections in the network @@ -549,6 +589,7 @@ function fann_get_connection_array($ann) /** * Get the connection rate used when the network was created * + * * @param resource $ann * * @return float|false The connection rate used when the network was created, or false on error. @@ -560,6 +601,7 @@ function fann_get_connection_rate($ann) /** * Returns the last error number * + * * @param resource $errdat * * @return int|false The error number, or false on error. @@ -571,6 +613,7 @@ function fann_get_errno($errdat) /** * Returns the last errstr * + * * @param resource $errdat * * @return string|false The last error string, or false on error. @@ -582,6 +625,7 @@ function fann_get_errstr($errdat) /** * Get the number of neurons in each layer in the network * + * * @param resource $ann * * @return array An array of numbers of neurons in each leayer @@ -593,6 +637,7 @@ function fann_get_layer_array($ann) /** * Returns the learning momentum * + * * @param resource $ann * * @return float|false The learning momentum, or false on error. @@ -604,6 +649,7 @@ function fann_get_learning_momentum($ann) /** * Returns the learning rate * + * * @param resource $ann * * @return float|false The learning rate, or false on error. @@ -615,6 +661,7 @@ function fann_get_learning_rate($ann) /** * Reads the mean square error from the network * + * * @param resource $ann * * @return float|false The mean square error, or false on error. @@ -626,6 +673,7 @@ function fann_get_MSE($ann) /** * Get the type of neural network it was created as * + * * @param resource $ann * * @return int|false constant, or false on error. @@ -637,6 +685,7 @@ function fann_get_network_type($ann) /** * Get the number of input neurons * + * * @param resource $ann * * @return int|false Number of input neurons, or false on error @@ -648,6 +697,7 @@ function fann_get_num_input($ann) /** * Get the number of layers in the neural network * + * * @param resource $ann * * @return int|false The number of leayers in the neural network, or false on error. @@ -659,6 +709,7 @@ function fann_get_num_layers($ann) /** * Get the number of output neurons * + * * @param resource $ann * * @return int|false Number of output neurons, or false on error @@ -670,6 +721,7 @@ function fann_get_num_output($ann) /** * Returns the decay which is a factor that weights should decrease in each iteration during quickprop training * + * * @param resource $ann * * @return float|false The decay, or false on error. @@ -681,6 +733,7 @@ function fann_get_quickprop_decay($ann) /** * Returns the mu factor * + * * @param resource $ann * * @return float|false The mu factor, or false on error. @@ -692,6 +745,7 @@ function fann_get_quickprop_mu($ann) /** * Returns the increase factor used during RPROP training * + * * @param resource $ann * * @return float|false The decrease factor, or false on error. @@ -703,6 +757,7 @@ function fann_get_rprop_decrease_factor($ann) /** * Returns the maximum step-size * + * * @param resource $ann * * @return float|false The maximum step-size, or false on error. @@ -714,6 +769,7 @@ function fann_get_rprop_delta_max($ann) /** * Returns the minimum step-size * + * * @param resource $ann * * @return float|false The minimum step-size, or false on error. @@ -725,6 +781,7 @@ function fann_get_rprop_delta_min($ann) /** * Returns the initial step-size * + * * @param resource $ann * * @return int|false The initial step-size, or false on error. @@ -736,6 +793,7 @@ function fann_get_rprop_delta_zero($ann) /** * Returns the increase factor used during RPROP training * + * * @param resource $ann * * @return float|false The increase factor, or false on error. @@ -747,6 +805,7 @@ function fann_get_rprop_increase_factor($ann) /** * Returns the sarprop step error shift * + * * @param resource $ann * * @return float|false The sarprop step error shift , or false on error. @@ -758,6 +817,7 @@ function fann_get_sarprop_step_error_shift($ann) /** * Returns the sarprop step error threshold factor * + * * @param resource $ann * * @return float|false The sarprop step error threshold factor, or false on error. @@ -769,6 +829,7 @@ function fann_get_sarprop_step_error_threshold_factor($ann) /** * Returns the sarprop temperature * + * * @param resource $ann * * @return float|false The sarprop temperature, or false on error. @@ -780,6 +841,7 @@ function fann_get_sarprop_temperature($ann) /** * Returns the sarprop weight decay shift * + * * @param resource $ann * * @return float|false The sarprop weight decay shift, or false on error. @@ -791,6 +853,7 @@ function fann_get_sarprop_weight_decay_shift($ann) /** * Get the total number of connections in the entire network * + * * @param resource $ann * * @return int|false Total number of connections in the entire network, or false on error @@ -802,6 +865,7 @@ function fann_get_total_connections($ann) /** * Get the total number of neurons in the entire network * + * * @param resource $ann * * @return int|false Total number of neurons in the entire network, or false on error. @@ -813,6 +877,7 @@ function fann_get_total_neurons($ann) /** * Returns the error function used during training * + * * @param resource $ann * * @return int|false The constant, or false on error. @@ -824,6 +889,7 @@ function fann_get_train_error_function($ann) /** * Returns the training algorithm * + * * @param resource $ann * * @return int|false constant, or false on error. @@ -835,6 +901,7 @@ function fann_get_training_algorithm($ann) /** * Returns the stop function used during training * + * * @param resource $ann * * @return int|false The constant, or false on error. @@ -846,6 +913,7 @@ function fann_get_train_stop_function($ann) /** * Initialize the weights using Widrow + Nguyen’s algorithm * + * * @param resource $ann * @param resource $train_data * @@ -858,6 +926,7 @@ function fann_init_weights($ann, $train_data) /** * Returns the number of training patterns in the train data * + * * @param resource $data * * @return int|false Number of elements in the train data ``resource``, or false on error. @@ -869,6 +938,7 @@ function fann_length_train_data($data) /** * Merges the train data * + * * @param resource $data1 * @param resource $data2 * @@ -881,6 +951,7 @@ function fann_merge_train_data($data1, $data2) /** * Returns the number of inputs in each of the training patterns in the train data * + * * @param resource $data * * @return int|false The number of inputs, or false on error. @@ -892,6 +963,7 @@ function fann_num_input_train_data($data) /** * Returns the number of outputs in each of the training patterns in the train data * + * * @param resource $data * * @return int|false The number of outputs, or false on error. @@ -903,6 +975,7 @@ function fann_num_output_train_data($data) /** * Prints the error string * + * * @param string $errdat * * @return void @@ -914,6 +987,7 @@ function fann_print_error($errdat) /** * Give each connection a random weight between min_weight and max_weight * + * * @param resource $ann * @param float $min_weight * @param float $max_weight @@ -927,6 +1001,7 @@ function fann_randomize_weights($ann, $min_weight, $max_weight) /** * Reads a file that stores training data * + * * @param string $filename * * @return resource @@ -938,6 +1013,7 @@ function fann_read_train_from_file($filename) /** * Resets the last error number * + * * @param resource $errdat * * @return void @@ -949,6 +1025,7 @@ function fann_reset_errno($errdat) /** * Resets the last error string * + * * @param resource $errdat * * @return void @@ -960,6 +1037,7 @@ function fann_reset_errstr($errdat) /** * Resets the mean square error from the network * + * * @param string $ann * * @return bool @@ -971,6 +1049,7 @@ function fann_reset_MSE($ann) /** * Will run input through the neural network * + * * @param resource $ann * @param array $input * @@ -983,6 +1062,7 @@ function fann_run($ann, $input) /** * Saves the entire network to a configuration file * + * * @param resource $ann * @param string $configuration_file * @@ -995,6 +1075,7 @@ function fann_save($ann, $configuration_file) /** * Save the training structure to a file * + * * @param resource $data * @param string $file_name * @@ -1007,6 +1088,7 @@ function fann_save_train($data, $file_name) /** * Scale data in input vector before feed it to ann based on previously calculated parameters * + * * @param resource $ann * @param array $input_vector * @@ -1019,6 +1101,7 @@ function fann_scale_input($ann, $input_vector) /** * Scales the inputs in the training data to the specified range * + * * @param resource $train_data * @param float $new_min * @param float $new_max @@ -1032,6 +1115,7 @@ function fann_scale_input_train_data($train_data, $new_min, $new_max) /** * Scale data in output vector before feed it to ann based on previously calculated parameters * + * * @param resource $ann * @param array $output_vector * @@ -1044,6 +1128,7 @@ function fann_scale_output($ann, $output_vector) /** * Scales the outputs in the training data to the specified range * + * * @param resource $train_data * @param float $new_min * @param float $new_max @@ -1057,6 +1142,7 @@ function fann_scale_output_train_data($train_data, $new_min, $new_max) /** * Scales the inputs and outputs in the training data to the specified range * + * * @param resource $train_data * @param float $new_min * @param float $new_max @@ -1070,6 +1156,7 @@ function fann_scale_train_data($train_data, $new_min, $new_max) /** * Scale input and output data based on previously calculated parameters * + * * @param resource $ann * @param resource $train_data * @@ -1082,6 +1169,7 @@ function fann_scale_train($ann, $train_data) /** * Sets the activation function for all of the hidden layers * + * * @param resource $ann * @param int $activation_function * @@ -1094,6 +1182,7 @@ function fann_set_activation_function_hidden($ann, $activation_function) /** * Sets the activation function for all the neurons in the supplied layer. * + * * @param resource $ann * @param int $activation_function * @param int $layer @@ -1107,6 +1196,7 @@ function fann_set_activation_function_layer($ann, $activation_function, $layer) /** * Sets the activation function for the output layer * + * * @param resource $ann * @param int $activation_function * @@ -1119,6 +1209,7 @@ function fann_set_activation_function_output($ann, $activation_function) /** * Sets the activation function for supplied neuron and layer * + * * @param resource $ann * @param int $activation_function * @param int $layer @@ -1133,6 +1224,7 @@ function fann_set_activation_function($ann, $activation_function, $layer, $neuro /** * Sets the steepness of the activation steepness for all neurons in the all hidden layers * + * * @param resource $ann * @param float $activation_steepness * @@ -1145,6 +1237,7 @@ function fann_set_activation_steepness_hidden($ann, $activation_steepness) /** * Sets the activation steepness for all of the neurons in the supplied layer number * + * * @param resource $ann * @param float $activation_steepness * @param int $layer @@ -1158,6 +1251,7 @@ function fann_set_activation_steepness_layer($ann, $activation_steepness, $layer /** * Sets the steepness of the activation steepness in the output layer * + * * @param resource $ann * @param float $activation_steepness * @@ -1170,6 +1264,7 @@ function fann_set_activation_steepness_output($ann, $activation_steepness) /** * Sets the activation steepness for supplied neuron and layer number * + * * @param resource $ann * @param float $activation_steepness * @param int $layer @@ -1184,6 +1279,7 @@ function fann_set_activation_steepness($ann, $activation_steepness, $layer, $neu /** * Set the bit fail limit used during training * + * * @param resource $ann * @param float $bit_fail_limit * @@ -1196,6 +1292,7 @@ function fann_set_bit_fail_limit($ann, $bit_fail_limit) /** * Sets the callback function for use during training * + * * @param resource $ann * @param callable $callback * @@ -1208,6 +1305,7 @@ function fann_set_callback($ann, $callback) /** * Sets the array of cascade candidate activation functions * + * * @param resource $ann * @param array $cascade_activation_functions * @@ -1220,6 +1318,7 @@ function fann_set_cascade_activation_functions($ann, $cascade_activation_functio /** * Sets the array of cascade candidate activation steepnesses * + * * @param resource $ann * @param array $cascade_activation_steepnesses_count * @@ -1232,6 +1331,7 @@ function fann_set_cascade_activation_steepnesses($ann, $cascade_activation_steep /** * Sets the cascade candidate change fraction * + * * @param resource $ann * @param float $cascade_candidate_change_fraction * @@ -1244,6 +1344,7 @@ function fann_set_cascade_candidate_change_fraction($ann, $cascade_candidate_cha /** * Sets the candidate limit * + * * @param resource $ann * @param float $cascade_candidate_limit * @@ -1256,6 +1357,7 @@ function fann_set_cascade_candidate_limit($ann, $cascade_candidate_limit) /** * Sets the number of cascade candidate stagnation epochs * + * * @param resource $ann * @param int $cascade_candidate_stagnation_epochs * @@ -1268,6 +1370,7 @@ function fann_set_cascade_candidate_stagnation_epochs($ann, $cascade_candidate_s /** * Sets the max candidate epochs * + * * @param resource $ann * @param int $cascade_max_cand_epochs * @@ -1280,6 +1383,7 @@ function fann_set_cascade_max_cand_epochs($ann, $cascade_max_cand_epochs) /** * Sets the maximum out epochs * + * * @param resource $ann * @param int $cascade_max_out_epochs * @@ -1292,6 +1396,7 @@ function fann_set_cascade_max_out_epochs($ann, $cascade_max_out_epochs) /** * Sets the min candidate epochs * + * * @param resource $ann * @param int $cascade_min_cand_epochs * @@ -1304,6 +1409,7 @@ function fann_set_cascade_min_cand_epochs($ann, $cascade_min_cand_epochs) /** * Sets the minimum out epochs * + * * @param resource $ann * @param int $cascade_min_out_epochs * @@ -1316,6 +1422,7 @@ function fann_set_cascade_min_out_epochs($ann, $cascade_min_out_epochs) /** * Sets the number of candidate groups * + * * @param resource $ann * @param int $cascade_num_candidate_groups * @@ -1328,6 +1435,7 @@ function fann_set_cascade_num_candidate_groups($ann, $cascade_num_candidate_grou /** * Sets the cascade output change fraction * + * * @param resource $ann * @param float $cascade_output_change_fraction * @@ -1340,6 +1448,7 @@ function fann_set_cascade_output_change_fraction($ann, $cascade_output_change_fr /** * Sets the number of cascade output stagnation epochs * + * * @param resource $ann * @param int $cascade_output_stagnation_epochs * @@ -1352,6 +1461,7 @@ function fann_set_cascade_output_stagnation_epochs($ann, $cascade_output_stagnat /** * Sets the weight multiplier * + * * @param resource $ann * @param float $cascade_weight_multiplier * @@ -1364,6 +1474,7 @@ function fann_set_cascade_weight_multiplier($ann, $cascade_weight_multiplier) /** * Sets where the errors are logged to * + * * @param resource $errdat * @param string $log_file * @@ -1376,6 +1487,7 @@ function fann_set_error_log($errdat, $log_file) /** * Calculate input scaling parameters for future use based on training data * + * * @param resource $ann * @param resource $train_data * @param float $new_input_min @@ -1390,6 +1502,7 @@ function fann_set_input_scaling_params($ann, $train_data, $new_input_min, $new_i /** * Sets the learning momentum * + * * @param resource $ann * @param float $learning_momentum * @@ -1402,6 +1515,7 @@ function fann_set_learning_momentum($ann, $learning_momentum) /** * Sets the learning rate * + * * @param resource $ann * @param float $learning_rate * @@ -1414,6 +1528,7 @@ function fann_set_learning_rate($ann, $learning_rate) /** * Calculate output scaling parameters for future use based on training data * + * * @param resource $ann * @param resource $train_data * @param float $new_output_min @@ -1428,6 +1543,7 @@ function fann_set_output_scaling_params($ann, $train_data, $new_output_min, $new /** * Sets the quickprop decay factor * + * * @param resource $ann * @param float $quickprop_decay * @@ -1440,6 +1556,7 @@ function fann_set_quickprop_decay($ann, $quickprop_decay) /** * Sets the quickprop mu factor * + * * @param resource $ann * @param float $quickprop_mu * @@ -1452,6 +1569,7 @@ function fann_set_quickprop_mu($ann, $quickprop_mu) /** * Sets the decrease factor used during RPROP training * + * * @param resource $ann * @param float $rprop_decrease_factor * @@ -1464,6 +1582,7 @@ function fann_set_rprop_decrease_factor($ann, $rprop_decrease_factor) /** * Sets the maximum step-size * + * * @param resource $ann * @param float $rprop_delta_max * @@ -1476,6 +1595,7 @@ function fann_set_rprop_delta_max($ann, $rprop_delta_max) /** * Sets the minimum step-size * + * * @param resource $ann * @param float $rprop_delta_min * @@ -1488,6 +1608,7 @@ function fann_set_rprop_delta_min($ann, $rprop_delta_min) /** * Sets the initial step-size * + * * @param resource $ann * @param float $rprop_delta_zero * @@ -1500,6 +1621,7 @@ function fann_set_rprop_delta_zero($ann, $rprop_delta_zero) /** * Sets the increase factor used during RPROP training * + * * @param resource $ann * @param float $rprop_increase_factor * @@ -1512,6 +1634,7 @@ function fann_set_rprop_increase_factor($ann, $rprop_increase_factor) /** * Sets the sarprop step error shift * + * * @param resource $ann * @param float $sarprop_step_error_shift * @@ -1524,6 +1647,7 @@ function fann_set_sarprop_step_error_shift($ann, $sarprop_step_error_shift) /** * Sets the sarprop step error threshold factor * + * * @param resource $ann * @param float $sarprop_step_error_threshold_factor * @@ -1536,6 +1660,7 @@ function fann_set_sarprop_step_error_threshold_factor($ann, $sarprop_step_error_ /** * Sets the sarprop temperature * + * * @param resource $ann * @param float $sarprop_temperature * @@ -1548,6 +1673,7 @@ function fann_set_sarprop_temperature($ann, $sarprop_temperature) /** * Sets the sarprop weight decay shift * + * * @param resource $ann * @param float $sarprop_weight_decay_shift * @@ -1560,6 +1686,7 @@ function fann_set_sarprop_weight_decay_shift($ann, $sarprop_weight_decay_shift) /** * Calculate input and output scaling parameters for future use based on training data * + * * @param resource $ann * @param resource $train_data * @param float $new_input_min @@ -1576,6 +1703,7 @@ function fann_set_scaling_params($ann, $train_data, $new_input_min, $new_input_m /** * Sets the error function used during training * + * * @param resource $ann * @param int $error_function * @@ -1588,6 +1716,7 @@ function fann_set_train_error_function($ann, $error_function) /** * Sets the training algorithm * + * * @param resource $ann * @param int $training_algorithm * @@ -1600,6 +1729,7 @@ function fann_set_training_algorithm($ann, $training_algorithm) /** * Sets the stop function used during training * + * * @param resource $ann * @param int $stop_function * @@ -1612,6 +1742,7 @@ function fann_set_train_stop_function($ann, $stop_function) /** * Set connections in the network * + * * @param resource $ann * @param array $connections * @@ -1624,6 +1755,7 @@ function fann_set_weight_array($ann, $connections) /** * Set a connection in the network * + * * @param resource $ann * @param int $from_neuron * @param int $to_neuron @@ -1638,6 +1770,7 @@ function fann_set_weight($ann, $from_neuron, $to_neuron, $weight) /** * Shuffles training data, randomizing the order * + * * @param resource $train_data * * @return bool @@ -1649,6 +1782,7 @@ function fann_shuffle_train_data($train_data) /** * Returns an copy of a subset of the train data * + * * @param resource $data * @param int $pos * @param int $length @@ -1662,6 +1796,7 @@ function fann_subset_train_data($data, $pos, $length) /** * Test a set of training data and calculates the MSE for the training data * + * * @param resource $ann * @param resource $data * @@ -1674,6 +1809,7 @@ function fann_test_data($ann, $data) /** * Test with a set of inputs, and a set of desired outputs * + * * @param resource $ann * @param array $input * @param array $desired_output @@ -1687,6 +1823,7 @@ function fann_test($ann, $input, $desired_output) /** * Train one epoch with a set of training data * + * * @param resource $ann * @param resource $data * @@ -1699,6 +1836,7 @@ function fann_train_epoch($ann, $data) /** * Trains on an entire dataset for a period of time * + * * @param resource $ann * @param resource $data * @param int $max_epochs @@ -1714,6 +1852,7 @@ function fann_train_on_data($ann, $data, $max_epochs, $epochs_between_reports, $ /** * Trains on an entire dataset, which is read from file, for a period of time * + * * @param resource $ann * @param string $filename * @param int $max_epochs @@ -1729,6 +1868,7 @@ function fann_train_on_file($ann, $filename, $max_epochs, $epochs_between_report /** * Train one iteration with a set of inputs, and a set of desired outputs * + * * @param resource $ann * @param array $input * @param array $desired_output diff --git a/gd/gd.php b/gd/gd.php index 1a19f336..0dc6b616 100644 --- a/gd/gd.php +++ b/gd/gd.php @@ -2829,6 +2829,7 @@ function imageaffinematrixconcat(array $m1, array $m2) {} * @return array|bool Array with keys 0 to 5 and float values or FALSE on failure. * @since 5.5 */ + function imageaffinematrixget ($type, $options = null) {} /** @@ -2928,6 +2929,7 @@ function imagepalettetotruecolor ($image) {} * @param int $mode [optional] One of IMG_NEAREST_NEIGHBOUR, IMG_BILINEAR_FIXED, IMG_BICUBIC, IMG_BICUBIC_FIXED or anything else (will use two pass). * @return resource|bool Return scaled image resource on success or FALSE on failure. */ + function imagescale ($image, $new_width, $new_height = -1, $mode = IMG_BILINEAR_FIXED) {} /** diff --git a/gearman/gearman.php b/gearman/gearman.php index 055d5283..24087063 100644 --- a/gearman/gearman.php +++ b/gearman/gearman.php @@ -805,10 +805,12 @@ define('GEARMAN_WORKER_STATE_GRAB_JOB_RECV', 4); define('GEARMAN_WORKER_STATE_PRE_SLEEP', 5); - +/** + */ function gearman_version() {} - +/** + */ function gearman_bugreport() {} /** @@ -1168,7 +1170,8 @@ function gearman_task_recv_data($task_object, $data_len) {} */ function gearman_worker_return_code($worker_object) {} - +/** + */ function gearman_worker_create() {} /** @@ -1351,6 +1354,7 @@ function gearman_job_workload_size($job_object) {} /** * Class: GearmanClient + * */ class GearmanClient { /** @@ -1385,7 +1389,8 @@ class GearmanClient { */ public function getErrno() {} - + /** + */ public function options() {} /** @@ -1473,7 +1478,8 @@ class GearmanClient { */ public function addServers($servers = '127.0.0.1:4730') {} - + /** + */ public function wait() {} /** @@ -1805,6 +1811,7 @@ class GearmanClient { /** * Class: GearmanTask + * */ class GearmanTask { /** @@ -1916,6 +1923,7 @@ class GearmanTask { /** * Class: GearmanWorker + * */ class GearmanWorker { /** @@ -2079,7 +2087,8 @@ class GearmanWorker { */ public function unregisterAll() {} - + /** + */ public function grabJob() {} /** @@ -2114,6 +2123,7 @@ class GearmanWorker { /** * Class: GearmanJob + * */ class GearmanJob { /** diff --git a/geos/geos.php b/geos/geos.php index 4ba036e6..657bd8f4 100644 --- a/geos/geos.php +++ b/geos/geos.php @@ -3,6 +3,7 @@ /** * @see https://github.com/libgeos/php-geos/blob/master/tests/000_General.phpt */ + define('GEOSBUF_CAP_ROUND', 1); define('GEOSBUF_CAP_FLAT', 2); diff --git a/gnupg/gnupg.php b/gnupg/gnupg.php index 6181c0a4..1a5b1b00 100644 --- a/gnupg/gnupg.php +++ b/gnupg/gnupg.php @@ -33,6 +33,7 @@ define('GNUPG_ERROR_SILENT', 3); * @link https://php.net/manual/en/book.gnupg.php * Class gnupg */ + class gnupg { /** * Add a key for decryption diff --git a/http/http3.php b/http/http3.php index 78db4163..a123bf80 100644 --- a/http/http3.php +++ b/http/http3.php @@ -631,7 +631,9 @@ class Cookie { */ function toString() {} } - +/** + * + */ namespace http\Encoding; namespace http; /** @@ -2214,6 +2216,7 @@ interface User { * @param callable $run as function(http\Client $c, resource $s = null, int $action = http\Client\Curl\User::POLL_NONE) : int * Internal callback returning the number of unfinished requests pending. * + * * > ***NOTE***: * > The callback should be run when a timeout occurs or a watched socket needs action. */ diff --git a/intl/intl.php b/intl/intl.php index 0befbfbe..be05549a 100644 --- a/intl/intl.php +++ b/intl/intl.php @@ -2241,6 +2241,7 @@ class IntlGregorianCalendar extends IntlCalendar { /** * @param double $change + * */ public function setGregorianChange($change) { } @@ -2362,6 +2363,7 @@ class IntlCalendar { * (PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)timeout
* *The socket timeout for connections in this pool. This is how long connections in this pool will attempt to connect to a server before giving up.
+ * */ public function poolDebug() {} @@ -1259,7 +1261,7 @@ class MongoCollection { class MongoCursor implements Iterator { /** * @link https://php.net/manual/en/class.mongocursor.php#mongocursor.props.slaveokay - * @var bool + * @var bool $slaveOkay */ public static $slaveOkay = FALSE; @@ -1643,26 +1645,28 @@ interface MongoCursorInterface extends Iterator function timeout(int $ms):MongoCursorInterface; } - +/** + * + */ class MongoGridFS extends MongoCollection { const ASCENDING = 1; const DESCENDING = -1; /** * @link https://php.net/manual/en/class.mongogridfs.php#mongogridfs.props.chunks - * @var MongoCollection + * @var $chunks MongoCollection */ public $chunks; /** * @link https://php.net/manual/en/class.mongogridfs.php#mongogridfs.props.filesname - * @var string + * @var $filesName string */ protected $filesName; /** * @link https://php.net/manual/en/class.mongogridfs.php#mongogridfs.props.chunksname - * @var string + * @var $chunksName string */ protected $chunksName; @@ -1774,13 +1778,13 @@ class MongoGridFS extends MongoCollection { class MongoGridFSFile { /** * @link https://php.net/manual/en/class.mongogridfsfile.php#mongogridfsfile.props.file - * @var + * @var $file */ public $file; /** * @link https://php.net/manual/en/class.mongogridfsfile.php#mongogridfsfile.props.gridfs - * @var + * @var $gridfs */ protected $gridfs; @@ -1833,13 +1837,13 @@ class MongoGridFSFile { class MongoGridFSCursor extends MongoCursor implements Traversable, Iterator { /** - * @var + * @var $slaveOkay */ public static $slaveOkay; /** * @link https://php.net/manual/en/class.mongogridfscursor.php#mongogridfscursor.props.gridfs - * @var + * @var $gridfs */ protected $gridfs; @@ -1883,7 +1887,7 @@ class MongoGridFSCursor extends MongoCursor implements Traversable, Iterator { */ class MongoId { /** - * @var stringNote: The property name begins with a $ character. It may be accessed using + * @var string $id
Note: The property name begins with a $ character. It may be accessed using * {@link https://php.net/manual/en/language.types.string.php#language.types.string.parsing.complex complex variable parsed syntax} (e.g. $mongoId->{'$id'}).
*/ public $id = NULL; @@ -1960,12 +1964,12 @@ class MongoId { class MongoCode { /** - * @var + * @var $code */ public $code; /** - * @var + * @var $scope */ public $scope; @@ -1988,13 +1992,13 @@ class MongoCode { class MongoRegex { /** * @link https://php.net/manual/en/class.mongoregex.php#mongoregex.props.regex - * @var + * @var $regex */ public $regex; /** * @link https://php.net/manual/en/class.mongoregex.php#mongoregex.props.flags - * @var + * @var $flags */ public $flags; @@ -2016,13 +2020,13 @@ class MongoRegex { class MongoDate { /** * @link https://php.net/manual/en/class.mongodate.php#mongodate.props.sec - * @var int + * @var int $sec */ public $sec; /** * @link https://php.net/manual/en/class.mongodate.php#mongodate.props.usec - * @var int + * @var int $usec */ public $usec; @@ -2096,13 +2100,13 @@ class MongoBinData { /** * @link https://php.net/manual/en/class.mongobindata.php#mongobindata.props.bin - * @var + * @var $bin */ public $bin; /** * @link https://php.net/manual/en/class.mongobindata.php#mongobindata.props.type - * @var + * @var $type */ public $type; @@ -2125,12 +2129,12 @@ class MongoBinData { class MongoDBRef { /** - * @var + * @var $refKey */ protected static $refKey = '$ref'; /** - * @var + * @var $idKey */ protected static $idKey = '$id'; @@ -2349,6 +2353,7 @@ class MongoDuplicateKeyException extends MongoWriteConcernException { /** *(PECL mongo >= 1.3.0)
* @link https://php.net/manual/en/class.mongoresultexception.php#mongoresultexception.props.document + * */ class MongoResultException extends MongoException { /** @@ -2367,13 +2372,13 @@ class MongoResultException extends MongoException { class MongoTimestamp { /** * @link https://php.net/manual/en/class.mongotimestamp.php#mongotimestamp.props.sec - * @var + * @var $sec */ public $sec; /** * @link https://php.net/manual/en/class.mongotimestamp.php#mongotimestamp.props.inc - * @var + * @var $inc */ public $inc; @@ -2398,7 +2403,7 @@ class MongoTimestamp { class MongoInt32 { /** * @link https://php.net/manual/en/class.mongoint32.php#mongoint32.props.value - * @var + * @var $value */ public $value; @@ -2420,7 +2425,7 @@ class MongoInt32 { class MongoInt64 { /** * @link https://php.net/manual/en/class.mongoint64.php#mongoint64.props.value - * @var + * @var $value */ public $value; diff --git a/mosquitto-php/mosquitto-php.php b/mosquitto-php/mosquitto-php.php index d7866cd9..1a31cbff 100644 --- a/mosquitto-php/mosquitto-php.php +++ b/mosquitto-php/mosquitto-php.php @@ -364,19 +364,19 @@ class Client class Message { - /** @var string */ + /** @var string $topic */ public $topic; - /** @var string */ + /** @var string $payload */ public $payload; - /** @var int */ + /** @var int $payload */ public $mid; - /** @var int */ + /** @var int $qos */ public $qos; - /** @var bool */ + /** @var bool $payload */ public $retain; /** diff --git a/oauth/oauth.php b/oauth/oauth.php index 3945b23d..8742efff 100644 --- a/oauth/oauth.php +++ b/oauth/oauth.php @@ -209,6 +209,7 @@ class OAuth { public function setNonce($nonce) { } /** + * * @param int $reqengine * @return void */ @@ -244,7 +245,9 @@ class OAuth { public function setVersion($version) { } } - +/** + * + */ class OAuthException extends Exception { /** diff --git a/pcov/pcov.php b/pcov/pcov.php index 52567372..53a72ca3 100644 --- a/pcov/pcov.php +++ b/pcov/pcov.php @@ -1,67 +1,68 @@ - - * Shall start recording coverage information - * @return void - */ +namespace pcov +{ + /** + * (PHP >= 7.0, PECL pcov >= 1.0.0)- * pcov\all shall collect coverage information for all files - * pcov\inclusive shall collect coverage information for the specified files - * pcov\exclusive shall collect coverage information for all but the specified files - *
- * @param array $filenames [optional]- * Note: paths in filter must be realpath - *
- * @return array - */ + /** + * (PHP >= 7.0, PECL pcov >= 1.0.0)+ * pcov\all shall collect coverage information for all files + * pcov\inclusive shall collect coverage information for the specified files + * pcov\exclusive shall collect coverage information for all but the specified files + *
+ * @param array $filenames [optional]+ * Note: paths in filter must be realpath + *
+ * @return array + */ function collect($type = all, $filter = []) {} - /** - * (PHP >= 7.0, PECL pcov >= 1.0.0)- * set true to clear file tables - * Note: clearing the file tables may have surprising consequences - *
- * @return void - */ + /** + * (PHP >= 7.0, PECL pcov >= 1.0.0)+ * set true to clear file tables + * Note: clearing the file tables may have surprising consequences + *
+ * @return void + */ function clear($files = false) {} - /** - * (PHP >= 7.0, PECL pcov >= 1.0.0)The data to merge
- * @param bool $overwrite [optional]Overwrite existing keys, by default true
+ * @var mixed $fromThe data to merge
+ * @var bool $overwrite [optional]Overwrite existing keys, by default true
* @return boolA boolean indication of success
*/ public function merge( $from, $overwrite = true ) {} diff --git a/redis/RedisCluster.php b/redis/RedisCluster.php index 3347115d..5e14570f 100644 --- a/redis/RedisCluster.php +++ b/redis/RedisCluster.php @@ -8,6 +8,7 @@ * @link https://github.com/zgb7mtr/phpredis_cluster_phpdoc * * @method mixed eval($script, $args = array(), $numKeys = 0) + * */ class RedisCluster { const AFTER = 'after'; @@ -3455,6 +3456,7 @@ class RedisCluster { public function geopos($key, $member1, $member2 = null, $memberN = null) { } /** + * * Returns the distance between two members of a geospatial index * * @param string $key diff --git a/sodium/sodium.php b/sodium/sodium.php index d910ef2c..667fab18 100644 --- a/sodium/sodium.php +++ b/sodium/sodium.php @@ -275,6 +275,7 @@ function sodium_crypto_kx_keypair (): string {} * @throws SodiumException * @since 7.2 */ + function sodium_crypto_kx_publickey (string $key): string {} /** diff --git a/sqlsrv/sqlsrv.php b/sqlsrv/sqlsrv.php index 9a7725e1..4f308333 100644 --- a/sqlsrv/sqlsrv.php +++ b/sqlsrv/sqlsrv.php @@ -1725,6 +1725,7 @@ function SQLSRV_SQLTYPE_VARBINARY($byteCount){} * * @return int Value to use in any place that accepts a SQLSRV_SQLTYPE_* constant to represent the varchar data type. */ + function SQLSRV_SQLTYPE_VARCHAR($charCount) {} /** diff --git a/standard/password.php b/standard/password.php index 741b2524..8c26a478 100644 --- a/standard/password.php +++ b/standard/password.php @@ -78,6 +78,7 @@ define("PASSWORD_BCRYPT_DEFAULT_COST", 10); define("PASSWORD_BCRYPT", '2y'); /** + * * PASSWORD_ARGON2I is used to create new password hashes using the Argon2i algorithm. * * Supported Options: @@ -94,6 +95,7 @@ define("PASSWORD_BCRYPT", '2y'); define('PASSWORD_ARGON2I', 'argon2i'); /** + * * PASSWORD_ARGON2ID is used to create new password hashes using the Argon2id algorithm. * * Supported Options: diff --git a/standard/standard_0.php b/standard/standard_0.php index 8f0d69d2..693ea86d 100644 --- a/standard/standard_0.php +++ b/standard/standard_0.php @@ -56,6 +56,7 @@ class php_user_filter { * The filter experienced an unrecoverable error and cannot continue. * * + * */ public function filter($in, $out, &$consumed, $closing) { @@ -550,6 +551,7 @@ function htmlspecialchars_decode ($string, $quote_style = null) {} * versions of PHP prior to 5.4.0, and UTF-8 from PHP 5.4.0 onwards. * * + * ** The following character sets are supported: *