News for hackers. Stuff that matters.
Re:PHP 8.2.0 RC1 available for testing by jstummbillig on Monday September 05, 2022 @02:11PM (#32727320)
Historically up to this point, I don't see anything that would have prevented you from doing most excellent things in this world, if PHP was the last and only programming language you had ever learned or known about.
Re:PHP 8.2.0 RC1 available for testing by tux3 on Monday September 05, 2022 @03:06PM (#32728012)
Has anyone made FFI bindings so we can write kernel modules in PHP yet?

I mean all this push for "Rust in the kernel" is nice and all, but do we really need fancy things like "transitive equality"? They have played us for absolute fools.

Sometimes you just want a language that really puts in the work to find a reason why "0x10" == "16z" should be true, no matter what kind of improbable implicit casts have to be done to get there.

PHP makes the impossible possible, and you've got to keep life interesting or it would be too predictable!

Re:PHP 8.2.0 RC1 available for testing by jbboehr on Monday September 05, 2022 @03:27PM (#32728274)

  $ php -r 'var_dump("0x10" == "16z");'
  bool(false)
  
  $ php -r 'var_dump(0x10 == "16z");'
  bool(false)
  
  $ php -r 'var_dump(0x10 == (int)"16z");'
  bool(true)
Re:PHP 8.2.0 RC1 available for testing by tux3 on Monday September 05, 2022 @05:38PM (#32729800)
True! Apologies for the mistake :)