Today I attempted to write and sort of succeeded* in making an extension for #php and let me tell you right now, my utmost respect goes out to @thephpf because I wouldn't wish C upon my worst enemies.

*by bugging @asgrim every ten mins

@SecondeJ, have you tried Rust? I thin i saw a guide a few months ago about someone doing a rust function and exposing it as a php extension
experimenting-with-rust-php-extensions/README.md at cd2370e9cb785cd4ffd1e1c1d6b8e79f58c71af1 · Ocramius/experimenting-with-rust-php-extensions

Proprietary playground for trying out PHP extensions in Rust, with a 100% reproducible build infrastructure - Ocramius/experimenting-with-rust-php-extensions

GitHub

@ocramius @dabiddo

Rust mostly blows my head off, so not sure how much success I'd have here

@SecondeJ @dabiddo yeah, but then at least you get compiler assisted "you're wrong" rather than HAHA SIGSEGV
@ocramius @SecondeJ @dabiddo I'm tired, so I read this as "HAHA SIX SEVEN!" and now cannot unsee it

@stevegrunwell @ocramius @SecondeJ @dabiddo “Six seven” is basically what the system is saying to you when it segfaults.

Also, are you in elementary school? 🤪

@ramsey @ocramius @SecondeJ @dabiddo no, but I live with someone who is.

Parenting is weird.

@stevegrunwell @ocramius @SecondeJ @dabiddo My wife (my wife) is an elementary school art teacher, and since 6-7 has no real meaning, the kids are always trying to find creative ways to use it as a response or reaction to anything.

@ramsey @stevegrunwell @ocramius @dabiddo

WHY ARE THE KIDS GOING AROUND SAYING SIX SEVEN, even my own child is doing it, it's driving me bananas

@SecondeJ @ramsey @ocramius @dabiddo it's funny to them because it frustrates us; it doesn't *mean* anything, and our old brains are like "but...why?!"

The best thing we can do is ruin it for them by laughing with them. If it ceases to confound adults, it ceases to be fun and will go away.

@SecondeJ @stevegrunwell @ocramius @dabiddo James, that’s the point.

@ramsey @stevegrunwell @ocramius @dabiddo

if (6/7 !=== true) {
echo "bollocks";
}

@SecondeJ @ramsey @ocramius @dabiddo Parse error: syntax error, unexpected token "=" on line 1

@stevegrunwell @ramsey @ocramius @dabiddo

I do devrel now, I'm shit at code

@SecondeJ @ramsey @ocramius @dabiddo even if you had the right number of equal signs, 6/7 (0.857143) would never be strictly equal to the Boolean TRUE, so the conditional would always pass.

You'd might as well just echo "bollocks" and be done with it 😉

@ocramius @SecondeJ @ramsey @dabiddo ah yes, the legendary boomer born in 1987, just as the prophecy foretold!! 😅
@stevegrunwell obviously joking, eh 😅
@ocramius the true boomers were the friends we made along the way!
@stevegrunwell @ocramius I can attest that Steve is a gen xer born out of time. He always dresses like he came of age in the early to mid 90s.
@grmpyprogrammer @ramsey @ocramius I'm literally wearing jeans, a graphic tee (with a subversive message, at that!) and a flannel today. Ben's not wrong 😅
@stevegrunwell @ramsey @ocramius As an actual GenXer all I can say is your lame clothing choices don’t make you part of the Most Ignored Generation Ever
@grmpyprogrammer @ramsey @ocramius I'm sorry, did you say something? 😘
@stevegrunwell @ramsey @ocramius Maybe you need hearing aids like I have now

@grmpyprogrammer @ramsey @ocramius nah, my hearing is fine, I just wasn't paying attention. So many other, sexier* generations were holding my attention 😉

* Who are we kidding? GenX is/was hot as hell

@ramsey @stevegrunwell @ocramius We Xennials just look at all of you and roll our eyes.
@Crell @ramsey @stevegrunwell @ocramius The REAL ignored generation. Represent.

@stevegrunwell @ocramius @SecondeJ @ramsey @dabiddo

Me: A younger-GenX who once dated an older-GenX who had a kid born the same year as Steve.

@SecondeJ @ramsey @stevegrunwell @ocramius @dabiddo Even our our Prime Minister is doing it 😫

@michael @ramsey @stevegrunwell @ocramius @dabiddo

I think he deserved the ridicule he got for that

@SecondeJ @ramsey @stevegrunwell @ocramius @dabiddo My son loved him for it. Sadly for Starmer my son won’t be eligible to vote for about a decade though 🤷‍♂️