anchor.diff:    , xmlrpcSupport ? (config.php.xmlrpc or false) && (libxml2Support)
     , cgotoSupport ? config.php.cgoto or false
     , valgrindSupport ? (config.php.valgrind or true) && (versionAtLeast version "7.2")
  -  , valgrindPcreSupport ? (config.php.valgrindPcreSupport or false) && (valgrindSupport) && (versionAtLeast version "7.2")
     }:
   
       let
  
positive.code: # pcre functionality is tested in nixos/tests/php-pcre.nix
  { lib, stdenv, fetchurl, flex, bison, autoconf
  , mysql, libxml2, readline, zlib, curl, postgresql, gettext
  , openssl, pcre, pcre2, pkgconfig, sqlite, config, libjpeg, libpng, freetype
  , libxslt, libmcrypt, bzip2, icu, openldap, cyrus_sasl, libmhash, unixODBC
  , uwimap, pam, gmp, apacheHttpd, libiconv, systemd, libsodium, html-tidy, libargon2
  , libzip, re2c, valgrind
  }:
  
  with lib;
  
negative.code: 
        enableParallelBuilding = true;
  
        nativeBuildInputs = [ autoconf bison libtool pkgconfig re2c ];
        buildInputs = [ ]
          ++ optional (versionOlder version "7.3") pcre
          ++ optional (versionAtLeast version "7.3") pcre2
          ++ optional withSystemd systemd
  