anchor.diff:    , ftpSupport ? config.php.ftp or true
     , fpmSupport ? config.php.fpm or true
     , gmpSupport ? config.php.gmp or true
  -  , mssqlSupport ? config.php.mssql or (!stdenv.isDarwin)
     , ztsSupport ? config.php.zts or false
     , calendarSupport ? config.php.calendar or true
     , sodiumSupport ? (config.php.sodium or true) && (versionAtLeast version "7.2")
  
positive.code:       ++ optional embedSupport "--enable-embed"
        ++ optional mhashSupport "--with-mhash"
        ++ optional curlSupport "--with-curl=${curl.dev}"
        ++ optional curlWrappersSupport "--with-curlwrappers"
        ++ optional zlibSupport "--with-zlib=${zlib.dev}"
        ++ optional libxml2Support "--with-libxml-dir=${libxml2.dev}"
        ++ optional pcntlSupport "--enable-pcntl"
  
negative.code:   , bcmathSupport ? config.php.bcmath or true
    , socketsSupport ? config.php.sockets or true
    , curlSupport ? config.php.curl or true
    , gettextSupport ? config.php.gettext or true
    , pcntlSupport ? config.php.pcntl or true
    , postgresqlSupport ? config.php.postgresql or true
  