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 @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.
@ramsey @stevegrunwell @ocramius We Xennials just look at all of you and roll our eyes.
@Crell @ramsey @stevegrunwell @ocramius The REAL ignored generation. Represent.