anchor.diff:          buildInputs = [ libxml2 ];
           configureFlags = [ "--enable-xml" ]
             # Required to build on darwin.
  -          ++ lib.optional (lib.versionOlder php.version "7.4") [ "--with-libxml-dir=${libxml2.dev}" ];
  +          ++ lib.optionals (lib.versionOlder php.version "7.4") [ "--with-libxml-dir=${libxml2.dev}" ];
           doCheck = false; }
         { name = "xmlreader";
           buildInputs = [ libxml2 ];
  
positive.code:       { name = "zip";
          buildInputs = [ libzip pcre' ];
          configureFlags = [ "--with-zip" ]
            ++ lib.optional (lib.versionOlder php.version "7.4") [ "--with-zlib-dir=${zlib.dev}" ]
            ++ lib.optional (lib.versionOlder php.version "7.3") [ "--with-libzip" ];
          doCheck = false; }
        { name = "zlib";
          buildInputs = [ zlib ];
  
negative.code:           ../development/interpreters/php/zlib-darwin-tests.patch
          ];
          configureFlags = [ "--with-zlib" ]
            ++ lib.optionals (lib.versionOlder php.version "7.4") [ "--with-zlib-dir=${zlib.dev}" ]; }
      ];
  
      # Convert the list of attrs:
  