anchor.diff:  
         patches = [ ./fix-paths-php7.patch ] ++ extraPatches;
   
  -      postPatch = optional stdenv.isDarwin ''
  -        substituteInPlace configure --replace "-lstdc++" "-lc++"
  -      '';
  -
         stripDebugList = "bin sbin lib modules";
   
         outputs = [ "out" "dev" ];
  
positive.code: 
        inherit version;
  
        name = "php-${version}";
  
        enableParallelBuilding = true;
  
        nativeBuildInputs = [ autoconf bison libtool pkgconfig re2c ];
        buildInputs = [ ]
          ++ optional (versionOlder version "7.3") pcre
          ++ optional (versionAtLeast version "7.3") pcre2
  
negative.code:             --replace '@PHP_LDFLAGS@' ""
          done
  
          substituteInPlace ./build/libtool.m4 --replace /usr/bin/file ${file}/bin/file
  
          export EXTENSION_DIR=$out/lib/php/extensions
  
          ./buildconf --copy --force
  
          if test -f $src/genfiles; then
            ./genfiles
          fi
        '' + optionalString stdenv.isDarwin ''
          substituteInPlace configure --replace "-lstdc++" "-lc++"
        '';
  
        postInstall = ''
  