ugh, "Has the year 2038 problem (en.wikipedia.org/wiki/Year_2038_problem), e.g. in 2028 we'll start overflowing when computing dates 10 years in the future"
hey @all, I recently took some PTO (ignored things with screens for two weeks) and on return tried working through backlog of emails, I gave up and deleted them all ... if anyone has tried to contact me in the last few weeks and didn't get a response, please try again ...
That's a pretty standard thing most processes do, releasing all system resources when the program ends. (though in PHP it's done by the engine when the script ends, rather than OS cleaning everything up. I think.)
@DimitrisPapageorgiou Depends whether we need it for other purposes (e.g. billing) in which case you would hold on to it for a bit until you don't need it anymore after which you delete it all
@DimitrisPapageorgiou Everything that is not required for important other reasons (e.g. invoices need to be retained by law) will be deleted. That includes the email address and name, yes.
Hein? To free up the ressource it needs to close the resource, the engine does not have access to the memory space where the file is as it's something attributed by the kernel. During the shutdown sequence the engine will release all resource by calling destructor functions to close resources, thus fclose
@VardanaBhanot I hope your intent isn't to write code that expects this behavior? And instead, you're trying to determine the cause of a bug in current code?
@cmb actually looking at the current patch Daniel moved them to be an alias. So as of now we don't have to change anything but maybe setting some kine of warning if someone is uses one of those ? constants will still exists. For the future change when all slots will be taken I guess we'll have to wait for his final solution to handle this problem
@Pierrick Not quite; the PR as is would change the values, so the other constants would be the same as CURLPROTO_RTMP and CURLPROTO_RTMPTS, respectively.
@cmb Yes but do you see anything else we could do to handle this case ? My best guess is to detect that those constants were used in older versions and send a DEPRECATED saying that those constant will change behaviour in futur libcurl, and send some kind of warning in versions where the change is done to let the user know that the behaviour will not be as expected.
Yep :-/ I guess at the time he created the project and this set of constants he never thought about supporting that much protocols ! I'll prepare the change and we'll merge when new libcurl will be released.
this is a silly question and has been on my mind for some time, but what is the difference exactly between $_POST/$_GET and file_get_contents('php://input')?
I stumbled on some issue where xhr request is processed with php://input but not super globals