While exploring password_*() functions, I found myself in php_crypt()
and noticed a use-after-free in the PHP_USE_PHP_CRYPT_R==0 case.
char *crypt_res;
{
#if something
struct crypt_data buffer;
#else
CRYPTD buffer;
#endif
crypt_res = crypt_r(password, salt, &buffer);
}
return zend_string_in
And also https://wiki.php.net/rfc/loop_or
Hi, please have a look at https://wiki.php.net/rfc/loop_else first.
It has been discussed already.
Hi Michael,
Allow else blocks to follow iteration blocks. The else block is executed
if no iteration occurs for any reason.
I also thought it would been a good idea, but most of the time i need a
wrapper in the output like this:
if($items) {
echo '';
foreach($items as $it