Using ini_get('memory_limit') will get what is specified in the php.ini file (i presume). But if i run ini_set('memory_limit', 'somethingInsanelyHigh') and then run ini_get(..) again, it will return what i previously set it to. This brings me to believe there's no real way to increase the memory limit and detect if it's actually increased, is there?
What does ini_set(..) actually do? Does it just update a variable somewhere or does it actually increase the limit? And if so, how do i know if it worked or not?