Tim Düsterhus
Tim Düsterhus
Wanted to look into Twitter first, as that is a standalone controller that is reasonably similar. While doing so, I came across cuyz/valinor#358, so putting this on hold for now.
@cmb69 It's complicated. The short answer is: `rand()` really shouldn't exist any longer (https://wiki.php.net/rfc/deprecations_php_8_3#global_mersenne_twister). Medium answer: Yes, for compatibility. The long answer is that `rand()` is *effectively* an alias for...
Unfortunately the documentation still needs to document PHP 7.x, otherwise the page for `rand()` could simply be merged with that one for `mt_rand()`. Or be made a stub, similarly to...
For reference: https://news-web.php.net/php.internals/122975.
Updated php-src policy merged in php/php-src#14169.
> I don't think anything other than the items above warrant our attention. If you disagree, suggest something. Looking at https://wiki.php.net/rfc/exit-as-function, it might make sense to recommend always using `exit();`...
> If you want to make a PR that requires that, go ahead. I'm not opposed. #109. I have chosen a slightly more reasonably example of how `exit()` could appear...
With [PIE](https://github.com/php/pie) available now, it should become significantly easier and more reliable to offer MongoDB by default. I'll investigate this after I found the type to fix the build for...
> Unsurprisingly, my recommendation is for the style used in the RFC. That brace placement would be inconsistent with methods, which have a newline before the opening brace.