anchor.diff:      nativeBuildInputs = [ pkgs.pkgconfig ];
     };
   
  -  yaml20 = assert isPhp7; buildPecl {
  -    name = "yaml-2.0.2";
  -
  -    sha256 = "0f80zy79kyy4hn6iigpgfkwppwldjfj5g7s4gddklv3vskdb1by3";
  -
  -    configureFlags = [
  -      "--with-yaml=${pkgs.libyaml}"
  -    ];
  -
  -    nativeBuildInputs = [ pkgs.pkgconfig ];
  -  };
  -
  -  # Since PHP 5.5 OPcache is integrated in the core and has to be enabled via --enable-opcache during compilation.
  -  zendopcache = assert isPhpOlder55; buildPecl {
  -    name = "zendopcache-7.0.3";
  -
  -    sha256 = "0qpfbkfy4wlnsfq4vc4q5wvaia83l89ky33s08gqrcfp3p1adn88";
  -  };
  -
     zmq = buildPecl {
       name = "zmq-1.1.3";
   
  
positive.code:       inherit php;
        inherit (pkgs) stdenv autoreconfHook fetchurl;
      };
    isPhpOlder55 = pkgs.lib.versionOlder php.version "5.5";
    isPhp7 = pkgs.lib.versionAtLeast php.version "7.0";
  
    apcu = if isPhp7 then apcu51 else apcu40;
  
    apcu40 = assert !isPhp7; buildPecl {
      name = "apcu-4.0.11";
      sha256 = "002d1gklkf0z170wkbhmm2z1p9p5ghhq3q1r9k54fq1sq4p30ks5";
      buildInputs = [ pkgs.pcre ];
      makeFlags = [ "phpincludedir=$(dev)/include" ];
      outputs = [ "out" "dev" ];
    };
  
    apcu51 = assert isPhp7; buildPecl {
      name = "apcu-5.1.11";
      sha256 = "0nz9m3fbxgyc2ij63yqmxm06a1f51g8rkxk85f85ziqdin66q2f1";
      buildInputs = [ pkgs.pcre ];
  
negative.code:     buildInputs = [ pkgs.pcre ];
    };
  
    memcached = buildPecl rec {
      name = "memcached-php7";
  
      src = fetchgit {
  