--TEST-- BcMath\Number pow(): negative power of zero --EXTENSIONS-- bcmath --FILE-- pow($exponent); } catch (Error $e) { echo $e->getMessage() . "\n"; } } } ?> --EXPECT-- 0 ** -3: int Negative power of zero 0 ** -2: string Negative power of zero 0 ** -2: object Negative power of zero 0 ** -3: int Negative power of zero 0 ** -2: string Negative power of zero 0 ** -2: object Negative power of zero