--EXPECTF--
Too many arguments
-Warning: Wrong parameter count for acos() in %s on line 11
+Warning: acos() expects exactly 1 parameter, 2 given in %s on line %d
NULL
Too few arguments
-Warning: Wrong parameter count for acos() in %s on line 14
+Warning: acos() expects exactly 1 parameter, 0 given in %s on line %d
NULL
}
?>
---EXPECT--
+--EXPECTF--
float(NAN)
float(NAN)
float(NAN)
float(NAN)
float(NAN)
float(NAN)
-float(1.570796327)
+
+Warning: acos() expects parameter 1 to be double, string given in %s on line %d
+NULL
float(NAN)
+
+Notice: A non well formed numeric value encountered in %s on line %d
float(NAN)
float(1.570796327)
float(0)
--EXPECTF--
Too many arguments
-Warning: Wrong parameter count for acosh() in %s on line 11
+Warning: acosh() expects exactly 1 parameter, 2 given in %s on line %d
NULL
Too few arguments
-Warning: Wrong parameter count for acosh() in %s on line 14
+Warning: acosh() expects exactly 1 parameter, 0 given in %s on line %d
NULL
}
?>
---EXPECT--
+--EXPECTF--
float(3.828168471)
float(NAN)
float(3.847562739)
float(3.828168471)
float(3.847562739)
float(3.847562739)
-float(NAN)
+
+Warning: acosh() expects parameter 1 to be double, string given in %s on line %d
+NULL
float(7.60090221)
+
+Notice: A non well formed numeric value encountered in %s on line %d
float(7.60090221)
float(NAN)
float(0)
--EXPECTF--
Too many arguments
-Warning: Wrong parameter count for asin() in %s on line 11
+Warning: asin() expects exactly 1 parameter, 2 given in %s on line %d
NULL
Too few arguments
-Warning: Wrong parameter count for asin() in %s on line 14
+Warning: asin() expects exactly 1 parameter, 0 given in %s on line %d
NULL
}
?>
---EXPECT--
+--EXPECTF--
float(NAN)
float(NAN)
float(NAN)
float(NAN)
float(NAN)
float(NAN)
-float(0)
+
+Warning: asin() expects parameter 1 to be double, string given in %s on line %d
+NULL
float(NAN)
+
+Notice: A non well formed numeric value encountered in %s on line %d
float(NAN)
float(0)
float(1.570796327)
--EXPECTF--
Too many arguments
-Warning: Wrong parameter count for asinh() in %s on line 11
+Warning: asinh() expects exactly 1 parameter, 2 given in %s on line %d
NULL
Too few arguments
-Warning: Wrong parameter count for asinh() in %s on line 14
+Warning: asinh() expects exactly 1 parameter, 0 given in %s on line %d
NULL
}
?>
---EXPECT--
+--EXPECTF--
float(3.829113652)
float(-3.829113652)
float(3.848471992)
float(3.829113652)
float(3.848471992)
float(3.848471992)
-float(0)
+
+Warning: asinh() expects parameter 1 to be double, string given in %s on line %d
+NULL
float(7.60090271)
+
+Notice: A non well formed numeric value encountered in %s on line %d
float(7.60090271)
float(0)
float(0.881373587)
atan2(36,25,0);
?>
--EXPECTF--
+Warning: atan2() expects exactly 2 parameters, 0 given in %s on line %d
-Warning: Wrong parameter count for atan2() in %s on line 2
+Warning: atan2() expects exactly 2 parameters, 1 given in %s on line %d
-Warning: Wrong parameter count for atan2() in %s on line 3
-
-Warning: Wrong parameter count for atan2() in %s on line 4
+Warning: atan2() expects exactly 2 parameters, 3 given in %s on line %d
--EXPECTF--
Too many arguments
-Warning: Wrong parameter count for atan() in %s on line 11
+Warning: atan() expects exactly 1 parameter, 2 given in %s on line %d
NULL
Too few arguments
-Warning: Wrong parameter count for atan() in %s on line 14
+Warning: atan() expects exactly 1 parameter, 0 given in %s on line %d
NULL
}
?>
---EXPECT--
+--EXPECTF--
float(1.527345431)
float(-1.527345431)
float(1.528178225)
float(1.527345431)
float(1.528178225)
float(1.528178225)
-float(0)
+
+Warning: atan() expects parameter 1 to be double, string given in %s on line %d
+NULL
float(1.569796327)
+
+Notice: A non well formed numeric value encountered in %s on line %d
float(1.569796327)
float(0)
float(0.7853981634)
--EXPECTF--
Too many arguments
-Warning: Wrong parameter count for atanh() in %s on line 11
+Warning: atanh() expects exactly 1 parameter, 2 given in %s on line %d
NULL
Too few arguments
-Warning: Wrong parameter count for atanh() in %s on line 14
+Warning: atanh() expects exactly 1 parameter, 0 given in %s on line %d
NULL
}
?>
---EXPECT--
+--EXPECTF--
float(NAN)
float(NAN)
float(NAN)
float(NAN)
float(NAN)
float(NAN)
-float(0)
+
+Warning: atanh() expects parameter 1 to be double, string given in %s on line %d
+NULL
float(NAN)
+
+Notice: A non well formed numeric value encountered in %s on line %d
float(NAN)
float(0)
float(INF)
base_convert(1234, 10, 37);
?>
--EXPECTF--
+Warning: base_convert() expects exactly 3 parameters, 0 given in %s on line %d
-Warning: Wrong parameter count for base_convert() in %s on line 2
+Warning: base_convert() expects exactly 3 parameters, 1 given in %s on line %d
-Warning: Wrong parameter count for base_convert() in %s on line 3
+Warning: base_convert() expects exactly 3 parameters, 2 given in %s on line %d
-Warning: Wrong parameter count for base_convert() in %s on line 4
+Warning: base_convert(): Invalid `from base' (1) in %s on line %d
-Warning: base_convert(): Invalid `from base' (1) in %s on line 5
-
-Warning: base_convert(): Invalid `to base' (37) in %s on line 6
+Warning: base_convert(): Invalid `to base' (37) in %s on line %d
bindec('01010101111',true);
?>
--EXPECTF--
+Warning: bindec() expects exactly 1 parameter, 0 given in %s on line %d
-Warning: Wrong parameter count for bindec() in %s on line 2
-
-Warning: Wrong parameter count for bindec() in %s on line 3
+Warning: bindec() expects exactly 1 parameter, 2 given in %s on line %d
--EXPECTF--
Too many arguments
-Warning: Wrong parameter count for cos() in %s on line 11
+Warning: cos() expects exactly 1 parameter, 2 given in %s on line %d
NULL
Too few arguments
-Warning: Wrong parameter count for cos() in %s on line 14
+Warning: cos() expects exactly 1 parameter, 0 given in %s on line %d
NULL
}
?>
---EXPECT--
+--EXPECTF--
float(-0.5328330203)
float(-0.5328330203)
float(-0.1117112391)
float(-0.5328330203)
float(-0.1117112391)
float(-0.1117112391)
-float(1)
+
+Warning: cos() expects parameter 1 to be double, string given in %s on line %d
+NULL
float(0.5623790763)
+
+Notice: A non well formed numeric value encountered in %s on line %d
float(0.5623790763)
float(1)
float(0.5403023059)
--EXPECTF--
Too many arguments
-Warning: Wrong parameter count for cosh() in %s on line 11
+Warning: cosh() expects exactly 1 parameter, 2 given in %s on line %d
NULL
Too few arguments
-Warning: Wrong parameter count for cosh() in %s on line 14
+Warning: cosh() expects exactly 1 parameter, 0 given in %s on line %d
NULL
}
?>
---EXPECT--
+--EXPECTF--
float(4872401723)
float(4872401723)
float(7641446995)
float(4872401723)
float(7641446995)
float(7641446995)
-float(1)
+
+Warning: cosh() expects parameter 1 to be double, string given in %s on line %d
+NULL
float(INF)
+
+Notice: A non well formed numeric value encountered in %s on line %d
float(INF)
float(1)
float(1.543080635)
decbin(23,2,true);
?>
--EXPECTF--
+Warning: decbin() expects exactly 1 parameter, 0 given in %s on line %d
-Warning: Wrong parameter count for decbin() in %s on line 2
-
-Warning: Wrong parameter count for decbin() in %s on line 3
-
+Warning: decbin() expects exactly 1 parameter, 3 given in %s on line %d
?>
--EXPECTF--
+Warning: dechex() expects exactly 1 parameter, 0 given in %s on line %d
-Warning: Wrong parameter count for dechex() in %s on line 2
-
-Warning: Wrong parameter count for dechex() in %s on line 3
+Warning: dechex() expects exactly 1 parameter, 3 given in %s on line %d
decoct(23,2,true);
?>
--EXPECTF--
+Warning: decoct() expects exactly 1 parameter, 0 given in %s on line %d
-Warning: Wrong parameter count for decoct() in %s on line 2
-
-Warning: Wrong parameter count for decoct() in %s on line 3
-
+Warning: decoct() expects exactly 1 parameter, 3 given in %s on line %d
--EXPECTF--
Too many arguments
-Warning: Wrong parameter count for deg2rad() in %s on line 11
+Warning: deg2rad() expects exactly 1 parameter, 2 given in %s on line %d
NULL
Too few arguments
-Warning: Wrong parameter count for deg2rad() in %s on line 14
+Warning: deg2rad() expects exactly 1 parameter, 0 given in %s on line %d
NULL
}
?>
---EXPECT--
+--EXPECTF--
float(0.401425728)
float(-0.401425728)
float(0.4092797096)
float(0.401425728)
float(0.4092797096)
float(0.4092797096)
-float(0)
+
+Warning: deg2rad() expects parameter 1 to be double, string given in %s on line %d
+NULL
float(17.45329252)
+
+Notice: A non well formed numeric value encountered in %s on line %d
float(17.45329252)
float(0)
float(0.01745329252)
hexdec('0x123abc',true);
?>
--EXPECTF--
+Warning: hexdec() expects exactly 1 parameter, 0 given in %s on line %d
-Warning: Wrong parameter count for hexdec() in %s on line 2
-
-Warning: Wrong parameter count for hexdec() in %s on line 3
+Warning: hexdec() expects exactly 1 parameter, 2 given in %s on line %d
hypot(36,25,0);
?>
--EXPECTF--
+Warning: hypot() expects exactly 2 parameters, 0 given in %s on line %d
+Warning: hypot() expects exactly 2 parameters, 1 given in %s on line %d
-Warning: Wrong parameter count for hypot() in %s on line 2
-
-Warning: Wrong parameter count for hypot() in %s on line 3
-
-Warning: Wrong parameter count for hypot() in %s on line 4
+Warning: hypot() expects exactly 2 parameters, 3 given in %s on line %d
--EXPECTF--
Too many arguments
-Warning: Wrong parameter count for log10() in %s on line 11
+Warning: log10() expects exactly 1 parameter, 2 given in %s on line %d
NULL
Too few arguments
-Warning: Wrong parameter count for log10() in %s on line 14
+Warning: log10() expects exactly 1 parameter, 0 given in %s on line %d
NULL
}
?>
---EXPECT--
+--EXPECTF--
float(1.361727836)
float(NAN)
float(1.370142847)
float(1.361727836)
float(1.370142847)
float(1.370142847)
-float(-INF)
+
+Warning: log10() expects parameter 1 to be double, string given in %s on line %d
+NULL
float(3)
+
+Notice: A non well formed numeric value encountered in %s on line %d
float(3)
float(-INF)
float(0)
log(36, -4);
?>
--EXPECTF--
+Warning: log() expects at least 1 parameter, 0 given in %s on line %d
-Warning: Wrong parameter count for log() in %s on line 2
+Warning: log() expects at most 2 parameters, 3 given in %s on line %d
-Warning: Wrong parameter count for log() in %s on line 3
-
-Warning: log(): base must be greater than 0 in %s on line 4
+Warning: log(): base must be greater than 0 in %s on line %d
octdec('0123567',true);
?>
--EXPECTF--
+Warning: octdec() expects exactly 1 parameter, 0 given in %s on line %d
-Warning: Wrong parameter count for octdec() in %s on line 2
-
-Warning: Wrong parameter count for octdec() in %s on line 3
+Warning: octdec() expects exactly 1 parameter, 2 given in %s on line %d
--EXPECTF--
Too many arguments
-Warning: Wrong parameter count for rad2deg() in %s on line 11
+Warning: rad2deg() expects exactly 1 parameter, 2 given in %s on line %d
NULL
Too few arguments
-Warning: Wrong parameter count for rad2deg() in %s on line 14
+Warning: rad2deg() expects exactly 1 parameter, 0 given in %s on line %d
NULL
}
?>
---EXPECT--
+--EXPECTF--
float(1317.802929)
float(-1317.802929)
float(1343.58603)
float(1317.802929)
float(1343.58603)
float(1343.58603)
-float(0)
+
+Warning: rad2deg() expects parameter 1 to be double, string given in %s on line %d
+NULL
float(57295.77951)
+
+Notice: A non well formed numeric value encountered in %s on line %d
float(57295.77951)
float(0)
float(57.29577951)
--EXPECTF--
Too many arguments
-Warning: Wrong parameter count for sin() in %s on line 11
+Warning: sin() expects exactly 1 parameter, 2 given in %s on line %d
NULL
Too few arguments
-Warning: Wrong parameter count for sin() in %s on line 14
+Warning: sin() expects exactly 1 parameter, 0 given in %s on line %d
NULL
}
?>
---EXPECT--
+--EXPECTF--
float(-0.8462204042)
float(0.8462204042)
float(-0.9937407102)
float(-0.8462204042)
float(-0.9937407102)
float(-0.9937407102)
-float(0)
+
+Warning: sin() expects parameter 1 to be double, string given in %s on line %d
+NULL
float(0.8268795405)
+
+Notice: A non well formed numeric value encountered in %s on line %d
float(0.8268795405)
float(0)
float(0.8414709848)
--EXPECTF--
Too many arguments
-Warning: Wrong parameter count for sinh() in %s on line 11
+Warning: sinh() expects exactly 1 parameter, 2 given in %s on line %d
NULL
Too few arguments
-Warning: Wrong parameter count for sinh() in %s on line 14
+Warning: sinh() expects exactly 1 parameter, 0 given in %s on line %d
NULL
}
?>
---EXPECT--
+--EXPECTF--
float(4872401723)
float(-4872401723)
float(7641446995)
float(4872401723)
float(7641446995)
float(7641446995)
-float(0)
+
+Warning: sinh() expects parameter 1 to be double, string given in %s on line %d
+NULL
float(INF)
+
+Notice: A non well formed numeric value encountered in %s on line %d
float(INF)
float(0)
float(1.175201194)
--EXPECTF--
Too many arguments
-Warning: Wrong parameter count for sqrt() in %s on line 11
+Warning: sqrt() expects exactly 1 parameter, 2 given in %s on line %d
NULL
Too few arguments
-Warning: Wrong parameter count for sqrt() in %s on line 14
+Warning: sqrt() expects exactly 1 parameter, 0 given in %s on line %d
NULL
--EXPECTF--
Too many arguments
-Warning: Wrong parameter count for tan() in %s on line 11
+Warning: tan() expects exactly 1 parameter, 2 given in %s on line %d
NULL
Too few arguments
-Warning: Wrong parameter count for tan() in %s on line 14
+Warning: tan() expects exactly 1 parameter, 0 given in %s on line %d
NULL
}
?>
---EXPECT--
+--EXPECTF--
float(1.588153083)
float(-1.588153083)
float(8.895619796)
float(1.588153083)
float(8.895619796)
float(8.895619796)
-float(0)
+
+Warning: tan() expects parameter 1 to be double, string given in %s on line %d
+NULL
float(1.470324156)
+
+Notice: A non well formed numeric value encountered in %s on line %d
float(1.470324156)
float(0)
float(1.557407725)
--EXPECTF--
Too many arguments
-Warning: Wrong parameter count for tanh() in %s on line 11
+Warning: tanh() expects exactly 1 parameter, 2 given in %s on line %d
NULL
Too few arguments
-Warning: Wrong parameter count for tanh() in %s on line 14
+Warning: tanh() expects exactly 1 parameter, 0 given in %s on line %d
NULL
}
?>
---EXPECT--
+--EXPECTF--
float(1)
float(-1)
float(1)
float(1)
float(1)
float(1)
-float(0)
+
+Warning: tanh() expects parameter 1 to be double, string given in %s on line %d
+NULL
float(1)
+
+Notice: A non well formed numeric value encountered in %s on line %d
float(1)
float(0)
float(0.761594156)