PHP 8.0 Named Parameters

This is very cool. In FileMaker we only get one Parameter to pass to Scripts aka Methods. So we created functions to jam in many params into the one param.

This new PHP feature will let you pass params in any order like we can in FM. :slight_smile:

1 Like

oh that ought to make folks happy as hell

Most of the stuff I’ve been doing with Typed Params in PHP 7.4 isn’t backward compatible with earlier versions either, so that’s ok.

Devs have a choice to use it or use prior methods. Unlike Xojo, older PHP code will work in the most recent versions. It’d be like using the current Xojo Locale which isn’t compatible with earlier versions. Except that earlier usage of locale in Xojo won’t work in the current version. :sob:

Most modern languages have it.