ctietze,
@ctietze@mastodon.social avatar

What's new in PHP 8.4 https://stitcher.io/blog/new-in-php-84

"Property Hooks" is a new feature and it looks just like Swift's, or the stuff in C#

pilky,
@pilky@mastodon.social avatar

@ctietze Honestly, modern PHP is a pretty fantastic language

helge,
@helge@mastodon.social avatar

@pilky @ctietze It still can't be embedded cleanly into other environments, how weird is that (apart from the language itself).

ctietze,
@ctietze@mastodon.social avatar

@helge What does that mean? @pilky

helge,
@helge@mastodon.social avatar

@ctietze That you cannot easily embed PHP as a library and integrate it as a scripting language. Similar to what you do w/ JSCore.
Pretty much any scripting language has that but PHP.

ctietze,
@ctietze@mastodon.social avatar

@helge I see! I haven't tried to ship any scripting language executable in a while (tried a decade ago with Ruby IIRC). So yeah, a quick glance shows that you can get embedded PHP server processes maybe, but not much else. A C library/runtime (PH7) is also a reimplementation for feature parity. That's kind of wild.

helge,
@helge@mastodon.social avatar

@ctietze I've proactively tried to integrate PHP into Swift about 2 years ago, didn't get it to work. And I've done a lot of bridges before, Python, SpiderMonkey, JNI, yes, even Guile! 🙈

ctietze,
@ctietze@mastodon.social avatar

@pilky It is! Worked on a small thing for Zettelkasten.de in January and it's nothing like the stuff I've been using in 2003 :)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • mdbf
  • ethstaker
  • JUstTest
  • osvaldo12
  • tester
  • GTA5RPClips
  • cubers
  • everett
  • tacticalgear
  • cisconetworking
  • normalnudes
  • anitta
  • Leos
  • megavids
  • provamag3
  • lostlight
  • All magazines