Does not work with big scale values, but accept INT as type, but can not process the max INT value, by example for calculate the cube root:
<?php
echo pow(1331, 1/3); // 11 (11^3=1331)
echo bcpow(1331, bcdiv(1, 3, PHP_INT_MAX)); // 1 ??
echo bcdiv(1, 3, PHP_INT_MAX); // 0 ??