When you perform a query on PDO you should use all of its results before making another query according to the documentation. Because you're yielding from within fetching those results, something higher up the stack might be making another query and breaking it
@NikiC It's likely more "unconditionally converting everything" … maybe they wouldn't convert them to exceptions if they were not handled like normal errors … Anyway :-X
user4717133
01:19
@Danack I do not know what are you talking about. hahaha ... be happy.
It's a little short right now.....but it's been warm. <david attenborough>It's at this time of year, that the male software developer grows a long, lustrous beard, to keep himself warm through the cold winter months.</david attenborough>
I have fond memories of playing Knights of the Old Republic I, where a delicious, if somewhat violent, droid offers the following idiom, that I vowed to forever use : meatbags.
After debating with myself roughly 0.2 seconds upon the merits of not trying to influence you, I shall very much insist that you do install long war, and procure xcom 2 if not already done
@Tiffany "Richmondshire, Its Ancient Lords and Edifices: A Concise Guide to the Localities of Interest to the Tourist and Antiquary; with Short Notices of Memorable Men." Best. Title. Ever.
Hello folks. A dude on Reddit asked about this inconsistency in the validation flags behavior, https://3v4l.org/2H5Nh Just curious, is it expected behavior, a known issue, or just a bug to report?
To my taste, all should return null though, rather than default value.
@YourCommonSense according to github.com/php/php-src/commit/… this is expected (the array case is special, since filter_var() expects a scalar value, and fails early); I think docs should be improved
Aha. So, indeed it makes sense taking into into account __toString. But I think the behavior is still ambiguous. I'd rather prohibit the use of default and FILTER_NULL_ON_FAILURE at the same time...
@Derick it's the unfortunate mix of strict and weak typing, and later additions; array fails early (ignoring default); object without __toString fails early (using default) (cast_object is ignored); others are juggled to string
Hi folks, does anyone have any idea to remove all the files recursively except one sub-directory? I tried to do it the following but it deletess "pub/media" as well. Thanks
@AllenJB I answered that question 4 minutes earlier than him.. still he is refusing that he copied the same.. anyway as suggested by few users in chat I added some more explanation to my answer for more details and for future users to understand it in a better way
So I just commented on a "write code for me" question, something like "hi, you are asking for other people to write the code of your application", and they go "It is not mine, I don't know how PHP works" karen do you even know how much this makes it worse
Any public repo would be fine for me. As it is, we're getting reports in bugsnet, but none of the devs looks into it, and it is not even possible to assign them, because they have no php.net account, apparently.
@PeeHaa The Long War mods are complete game overhaul that change the way characters are built, also make the game roughly one to 2 orders of magnitude harder than the base game
I should also say that it's one of the most complex, intricate and well thought-out player-made game system to me, way up there along the likes of Requiem Skyrim mod and Alien Life Factorio mod
are you on xcom 2 or 1? I've been bitten real bad by LW 2, there's a dialog just before launching new games that goes something like "do you want to enable introduction of some content" but it bricks your game if you say yes and also it only bricks it like 10 hours in