File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -1144,8 +1144,8 @@ ZEND_BEGIN_ARG_INFO(arginfo_fmod, 0)
11441144ZEND_END_ARG_INFO ()
11451145
11461146ZEND_BEGIN_ARG_INFO (arginfo_fdiv , 0 )
1147- ZEND_ARG_INFO (0 , x )
1148- ZEND_ARG_INFO (0 , y )
1147+ ZEND_ARG_INFO (0 , dividend )
1148+ ZEND_ARG_INFO (0 , divisor )
11491149ZEND_END_ARG_INFO ()
11501150
11511151ZEND_BEGIN_ARG_INFO (arginfo_intdiv , 0 )
Original file line number Diff line number Diff line change @@ -1296,21 +1296,22 @@ PHP_FUNCTION(fmod)
12961296}
12971297/* }}} */
12981298
1299- /* {{{ proto float fdiv(float x, float y)
1300- Perform floating-point division of x / y with IEEE-754 semantics for division by zero. */
1299+ /* {{{ proto float fdiv(float dividend, float divisor)
1300+ Perform floating-point division of dividend / divisor
1301+ with IEEE-754 semantics for division by zero. */
13011302#ifdef __clang__
13021303__attribute__((no_sanitize ("float-divide-by-zero" )))
13031304#endif
13041305PHP_FUNCTION (fdiv )
13051306{
1306- double num1 , num2 ;
1307+ double dividend , divisor ;
13071308
13081309 ZEND_PARSE_PARAMETERS_START (2 , 2 )
1309- Z_PARAM_DOUBLE (num1 )
1310- Z_PARAM_DOUBLE (num2 )
1310+ Z_PARAM_DOUBLE (dividend )
1311+ Z_PARAM_DOUBLE (divisor )
13111312 ZEND_PARSE_PARAMETERS_END ();
13121313
1313- RETURN_DOUBLE (num1 / num2 );
1314+ RETURN_DOUBLE (dividend / divisor );
13141315}
13151316/* }}} */
13161317
You can’t perform that action at this time.
0 commit comments