Well PHP also uses OpenSSL in background and it seems to force the iterations into 'int' too (
source code) - but I seem to be running 64-bit version:
> php -r 'echo PHP_INT_MAX;'
> 9223372036854775807
edit: for the lulz I am now running with 2147483647 iterations

might be not finished before I go to sleep though.