File tree 5 files changed +21
-1
lines changed
5 files changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -616,6 +616,10 @@ PHP_FUNCTION(hash_hmac_algos)
616
616
zend_string * str ;
617
617
const php_hash_ops * ops ;
618
618
619
+ if (zend_parse_parameters_none () == FAILURE ) {
620
+ return ;
621
+ }
622
+
619
623
array_init (return_value );
620
624
ZEND_HASH_FOREACH_STR_KEY_PTR (& php_hash_hashtable , str , ops ) {
621
625
if (ops -> is_crypto ) {
Original file line number Diff line number Diff line change @@ -1626,6 +1626,10 @@ PHP_MSHUTDOWN_FUNCTION(openssl)
1626
1626
Retrieve an array mapping available certificate locations */
1627
1627
PHP_FUNCTION (openssl_get_cert_locations )
1628
1628
{
1629
+ if (zend_parse_parameters_none () == FAILURE ) {
1630
+ return ;
1631
+ }
1632
+
1629
1633
array_init (return_value );
1630
1634
1631
1635
add_assoc_string (return_value , "default_cert_file" , (char * ) X509_get_default_cert_file ());
Original file line number Diff line number Diff line change @@ -4636,6 +4636,10 @@ PHP_FUNCTION(print_r)
4636
4636
Returns true if client disconnected */
4637
4637
PHP_FUNCTION (connection_aborted )
4638
4638
{
4639
+ if (zend_parse_parameters_none () == FAILURE ) {
4640
+ return ;
4641
+ }
4642
+
4639
4643
RETURN_LONG (PG (connection_status ) & PHP_CONNECTION_ABORTED );
4640
4644
}
4641
4645
/* }}} */
@@ -4644,6 +4648,10 @@ PHP_FUNCTION(connection_aborted)
4644
4648
Returns the connection status bitfield */
4645
4649
PHP_FUNCTION (connection_status )
4646
4650
{
4651
+ if (zend_parse_parameters_none () == FAILURE ) {
4652
+ return ;
4653
+ }
4654
+
4647
4655
RETURN_LONG (PG (connection_status ));
4648
4656
}
4649
4657
/* }}} */
Original file line number Diff line number Diff line change @@ -1322,7 +1322,7 @@ PHP_FUNCTION(php_sapi_name)
1322
1322
1323
1323
/* }}} */
1324
1324
1325
- /* {{{ proto string php_uname(void )
1325
+ /* {{{ proto string php_uname([ string $mode = "a"] )
1326
1326
Return information about the system PHP was built on */
1327
1327
PHP_FUNCTION (php_uname )
1328
1328
{
Original file line number Diff line number Diff line change @@ -570,6 +570,10 @@ PHP_FUNCTION(atanh)
570
570
Returns an approximation of pi */
571
571
PHP_FUNCTION (pi )
572
572
{
573
+ if (zend_parse_parameters_none () == FAILURE ) {
574
+ return ;
575
+ }
576
+
573
577
RETURN_DOUBLE (M_PI );
574
578
}
575
579
/* }}} */
You can’t perform that action at this time.
0 commit comments