@AndreaFaulds I think it would make more sense on the surface for 99% of the time. But if you want to include a file based on where the first file was located, it would be a complete nightmare that way round. So yeah, eal_require_once ftw.
@PeeHaa actually ext4 file system can handle up to 4 Billion files per directory (from wiki), i did a small test with 6 million files in ext4 and 6 million rows in mysql the time for retrieving the file was 0.000207 seconds and for mysql to get the id was 0.05 seconds :)
He's expecting that UTF-8 n and combining tilde ◌̃ (which shows up as ñ) will convert to the single Latin-1 ñ character, which is perfectly reasonable
@AndreaFaulds Not sure I agree with your resolution in bugs.php.net/bug.php?id=8685&edit=1, especially given that we have an RFC on the topic that hasn't been voted yet.
> The presence of a message-body in a request is signaled by the inclusion of a Content-Length or Transfer-Encoding header field in the request's message-headers.
I'm not HTTP guru but I don't know how it's possible for a web-server to pass through incomplete request
Reproduced: 3 of 3 (100.0%)
WHAT?
Sending "Reproduced" must require a paste or a screenshot
@zerkms I can't remember if it can be set for requests, but I've definitely seen incomplete data transfer on responses when using chunked encoding......which becomes 'fun' when that incomplete response is cached.
If you have a 2 lines script that performs a full scan over a 10Tb database that takes 3 days to complete
who would you blame - php or database?
and what would you start optimization of this case with: by spending few days to optimizing 2 lines of php or rethinking the way you deal with your data?
@NikiC I have analyzed that bug, but I'm not sure how to fix it. Probably copying EG(vm_stack_top) to generator->stack->top after a ZEND_YIELD in zend_generator_resume will fix it; but I'm not sure what implications exactly it would have.
@NikiC just fyi: Added generator->stack->top = EG(vm_stack_top); on line 330, bug seems fixed and no additional tests fail. But didn't push because I'm not sure if that's really safe, could you please look at it?