« first day (3763 days earlier)      last day (1188 days later) » 

4:25 AM
@PeeHaa My KeePass database became corrupt O_o
 
5:08 AM
@SebastianBergmann I never thought I'd write TSRMLS_CC again ... here you go ...
notes, 5 won't play nicely with line_end, so you'll get nonsense there ... I haven't tested further than the few tests that are in the repo, though I expect if you can compile, it will run because it's quite decoupled from zend APIs ...
I'll go this far for nothin, because it's early morning and I'm waiting for a print to complete and needed to stay awake ...
if you want me to get my hands actually dirty with 5, I'll need paying ... a bunch ...
good luck and have fun :)
oh oh ... EXTRA_LDFLAGS=-pthread ./configure is necessary, because I can't be bothered to do m4 changes ... and it should be a secret that this will compile under 5 ...
 
@JoeWatkins How much is a bunch? Uh, asking for a friend :)
 
If you have a moment, what do you think about the this comment on ForwardArrayIterator? /cc anyone who knows internals
I haven't verified the current behavior yet, just thinking about what I would like. Definitely shouldn't iterate by reference accidentally, but something in the back of my mind says that it's already taken care of somehow.
 
@LeviMorrison Maybe just claim you missread and instead buy him a lovely brunch?
 
5:24 AM
unless nikita says it's unnecessary, I'd add it ... the extra possibly redundant check is cheap
but makes the implementation more precise to whoever is reading it, and gives it a bit of future proofing maybe ...
whoever makes the decision to change this behavior in future, isn't aware of this line of code in spl ... this code in spl requires deref regardless of what rules are being changed in the engine ...
 
5:39 AM
Yeah, I think I've found where the engine does the DEREF for me, but it's in the VM so if an extension used the iterator API directly it may not work correctly. Probably should do the DEREF. No idea about indirect, though.
 
Joe Watkins, you seem like the exact right type of decadence (no insult intended).
 
6:14 AM
@JoeWatkins Thanks! But I'm afraid I won't need it after all (sorry!) as a shutdown function that logs the result of get_included_files() is good enough for this codebase.
 
7:07 AM
@SebastianBergmann no worries
@CupOfJava that seems like an unnecessary statement ...
 
 
1 hour later…
8:24 AM
morns
yo @Joe <3
how have you been?
 
8:47 AM
posted on January 30, 2021

I’m certain this comic will age well. If haven’t seen, there’s been a little bit of a hubbub around GameStop in the stock market. Remember that chaos on the 6th?!? It seems like a lifetime ago. I’ve spent the entire week following this GameStop craziness. I’ve learned sooooooo much this week about how stocks work. There’s a lot of complexities here, and you can find the de

 
9:13 AM
@‍error_reporting($foo) does not change error_reporting ・ *General Issues ・ #80700
 
@bwoebi So, I think the FiberScheduler really comes down to being able to use {main} as a normal fiber
 
hm. okay.
 
9:48 AM
NaN equals NaN in arrays, if two arrays have the same identity ・ Arrays related ・ #80701
 
@beberlei Doctrine does lazy initialization right?
Or does it only use unset properties to detect modification?
 
10:27 AM
cannot configure/compile rrdtool ・ *Compile Issues ・ #80702
 
buildconf?
also "php-5.1.14" ?
 
Method missing in documentation ・ Documentation problem ・ #80703
 
Thoroughly tested.
Good morning.
 
@NikiC depends on visibility of the property, for public properties it does unset, for everything else it does lazy initialization by extending from the original class and overwriting every public method
 
cmb
10:56 AM
@Danack I was tempted to ask whether it also works with PHP 4.3? ;)
 
URL change ・ Website problem ・ #80704
 
11:43 AM
Hey guys, hopefully you can help me out here
https://stackoverflow.com/questions/66014436/filter-woocommerce-related-products-by-polylang-language
I have been looking for solution for that for a while now, nothing that helps online :(
 
12:09 PM
@Danack rh is commenting on bugs again bugs.php.net/bug.php?id=80697
 
@ExCluSiv3 You're unlikely to get an answer here. You might have better luck contacting the developers of the given plugin. wordpress.org/support/plugin/polylang
 
@IluTov I will look into that, thanks.
 
1:32 PM
Hey everyone, I wanted to know if something wrong with my code because `array_push` is creating array inside array as an element and not adding just the element.

Here is my gist: https://gist.github.com/marinarioagalliu/ee138f89e90c7cc2234366cc726424db
 
@MarinarioAgalliu you are pushing an array to the end of the array. If you want to add another key/value pair, you just do $array[$key] = $value
 
and if the initial array is totally empty, I've tried that and results in empty array again
never mind, I feel stupid right now but its ok :P...solved it, thank you so much
 
you can also do $array += ['foo' => 'bar']
 
Nice! That's a beautiful solution too, thank you. If there is any other solution you can tell me please :D
 
1:53 PM
Morning, all!
 
\o
 
2:17 PM
@Gordon the PHP inspections plugin in PhpStorm complains about this, IIRC
Maybe I'm thinking about when it was complaining about arrays being merged with the + operator.
Yup, it's merging arrays it complains about, my mistake.
 
2:50 PM
Incident on 2021-02-03 14:50 UTC
Incident on 2021-02-03 14:50 UTC ・ Issues, PRs, Dashboard, Projects has Partial Outage
 
 
2 hours later…
4:23 PM
Incident on 2021-02-03 14:50 UTC ・ Issues, PRs, Dashboard, Projects has Partial Outage ・ Gists has Partial Outage
 
4:49 PM
@LeviMorrison I guess I could see an argument that array iteration is the only thing you would ever really want to reverse in practice anyway
 
There are a few others, SplFixedArray and other similar data structures, but not many.
 
5:17 PM
@Crell Did anything in the enum rfc change after we spoke?
 
We renamed a number of things.
And finalized some error handling and such.
We're about to star the vote, as soon as Ilija notices me. :-)
 
i already got a tweet about that it had
 
Oh. I updated the RFC to include the vote widget, but I haven't posted to the list yet. ;-)
Ah, and Ilija voted, so now I'll post it.
Enumerations vote is officially open!
 
@Tiffany for the record ......the police in my country say that abusive emails need to be investigated where they are sent. The police in Austria say they need to be investigated where they are received.
 
@Danack Yeah, international dickwad behavior is basically a no-mans-land right now. I've run into that as well.
 
5:29 PM
@SebastianBergmann Do you happen to know someone in Austria who might be willing to do the PHP project a rather large favour?
@Crell I have a strong suspicion that for the Austrians that it is a case that a politician in charge of their law enforcement announced that they were going to prosecute online abuse more, but the police don't agree with that policy...and so are being obstinate.
 
Entirely possible. I know virtually nothing about Austrian politics.
 
@Danack right, I remember you saying. If I notice he comments on a bug, do you want me to ping you? I wasn't sure if you wanted to be made aware of it.
 
No. I have a script to collect them. I do mean to make an api to allow comments to popup here like new bugs do...but that is for another day.
 
👍
 
5:47 PM
1 message moved to Trash can
 
Minor Service Outage ・ Gists has Partial Outage
All issues have been resolved!
 
6:25 PM
!!rfcs
Or not.
 
@Danack Any possibility through embassy or consulate?
 
7:03 PM
Hey guys having changed xampp to listen for localhost:8080 whenever trying to access wordpress it isn't loading how could i change this?
 
7:14 PM
@Kwsswart What exactly isn't loading? What happens when you go to locahost:8080 in your browser? (You might want to watch the browser dev tools network tab)
 
@AllenJB it redirects me to localhost/wordpress/… which leads me to think that somehow i need to change it to listen for port 8080 but not sure how
 
Best guess would be you need to change something in the WordPress configuration somewhere. However as I don't regularly use WordPress I couldn't tell you what.
 
Hmm no worries will take a look into where the ports are stored and try figure it out
thanks anyway
 
DGF
7:29 PM
Hey. Does anyone have references on videos that explain well the concepts of OOP for PHP?
 
If you unset a class property, the __get remembers the original type. ・ Scripting Engine problem ・ #80705
 
How it should be done, or how most people do it?
 
7:45 PM
Two very different things.
 
7:57 PM
I think I'm going to vote in favour of enums but I hope that Nikic comes through with object keys, or it's going to have a quite noticeable hole.
 
lmao, the title of it though. That's class.
 
HTML Emails Mangled with only one recipient ・ Mail related ・ #80706
 
8:27 PM
/me slaps @IluTov around a bit with a trout.
 
@Crell As a non-native, that's a really weird expression. Also, why? :D
 
It's a weird expression for a native speaker, too. It's a reference to the old mIRC days. :-)
And you know why, damnit!
 
@Crell Lol, I'm so confused :D
 
... Oh! LOL. I misread, sorry. It looked like you had gone forward with your threat on the enum vote, but it was the person right below you in the table.
 
Regional thing... around here it's slapping someone with a wet kipper :D
 
8:33 PM
@Crell Oh thank god, I thought I messed up something terribly :D
> The act of slapping someone - usually across the facial region - with a wet penis or a representation thereof.
I feel violated :D
 
@Girgias :O Why didn't you come forth with your concerns? :)
Forth? Forward? Is forth old English?
 
Older, but still understood.
I have never hard fish slapping equated to phallic objects before.
 
@Crell It's on urban dictionary but it has more downvotes than upvotes
 
UD is very hit or miss. Although their accidental entry for me was hilarious.
 
DGF
8:42 PM
@StatikStasis If your answer is for me, how it should be done
 
@IluTov I did tho O.o
 
@Girgias Did I miss that? :/
Was that in the first round?
 
But it's basically what I said here, I'm not super a fan of piggy backing on objects for the simple case, being totally concious that it would be way more work
So I don't blame you for taking the "easy" route
 
@Girgias Oh alright. I'm not sure how I missed this one.
 
Eh, emails :p
 
9:00 PM
@Girgias If only there existed better tools.
 
9:19 PM
Email is the worst form of communication, aside from all the others.
 
9:59 PM
cc @DaveRandom
Lol
 
10:13 PM
@Crell communication is the worst
:p
 
10:36 PM
@Girgias I think taking the "easy" route is the correct route, but not because it's easy
but rather because the road further down (ADTs) will require something very object-y with very similar semantics
And ADTs will have properties
unless you want to re-invent the wheel again for ADTs, you really should have objects for these
Thus … I think not "piggy backing it on objects" will make our lives unnecessarily hard for future features on top of enums
 
11:21 PM
@Crell preach
email has not been fit for purpose since the mid 90s
 
I often do.
 
even then its debatable
the number of times I have had this conversation/rant, and people always ask me "what should it be replaced by" as if there should be a single thing to come along that is better
the answer, btw, is "the internet"
I am irrationally angry about how bad email is and how many hours of my life I have lost to (against my will) trying to force square pegs into round holes
I look at my inbox full of solicitors complaining about how their emails don;t work without giving a real-world crap about privacy, and I look at signal which works properly with inbuilt privacy, and I cry
...and I pray and I beg
 
function parameter ?t $v not described ・ Documentation problem ・ #80707
 
11:45 PM
should I close as nab, since cmb already documented it? (php.net/manual/en/…)
I guess it wouldn't hurt to have a link on the function arguments page to the nullable type doc
 
seems reasonable, just patch it and close bug with commit ref
if you can be bothered, which I can't atm
although can't you just submit PRs now?
 
yup
 
oh well then I could prob be bothered doing that tomorrow
 
the fixation I've had on getting my apartment cleared is getting easier, apartment is getting almost into a state that I can hire people to haul furniture out
 
that's the fun bit why would you not do that
 
11:53 PM
then at some point this year I'll buy a new couch, probably scrap the kitchen table
 
@bwoebi Simple cases and advanced cases do not need the same representation internally.
 
see if you can get any of it out the window
 
furniture defenestration
 
there is nothing more satisfyting than throwing shit that has been frustrating you out the window
 
there are a couple of comments on PRs I've made to doc-en that I need to take care of, and I've been procrastinating because my focus has been my apartment (and because I've stayed focused on it, being able to work on open source again has been my motivation to finally get shit done)
 
11:55 PM
I once threw a keyboard out a 2nd floor window when I was 15 and it burst and keys went everywhere and my mum made me pick them all up (quite rightly) but I would do it again
 
lol
 
My laptop apparently has PHP 7.0-7.4 installed, and I'm now adding 8.0. I... do not quite understand why.
And at least some 5.6 extensions, too.
 

« first day (3763 days earlier)      last day (1188 days later) »