anchor.diff:      sha256 = "0d4p1gpl8gkzdiv860qzxfz250ryf0wmjgyc8qcaaqgkdyh5jy5p";
     };
   
  -  # No support for PHP 7 yet (and probably never will be)
  -  spidermonkey = assert !isPhp7; buildPecl rec {
  -    name = "spidermonkey-1.0.0";
  -
  -    sha256 = "1ywrsp90w6rlgq3v2vmvp2zvvykkgqqasab7h9bf3vgvgv3qasbg";
  -
  -    configureFlags = [
  -      "--with-spidermonkey=${pkgs.spidermonkey_1_8_5}"
  -    ];
  -
  -    buildInputs = [ pkgs.spidermonkey_1_8_5 ];
  -  };
  -
  -  xdebug = if isPhp7 then xdebug26 else xdebug23;
  -
  -  xdebug23 = assert !isPhp7; buildPecl {
  -    name = "xdebug-2.3.1";
  -
  -    sha256 = "0k567i6w7cw14m13s7ip0946pvy5ii16cjwjcinnviw9c24na0xm";
  +  xdebug = buildPecl {
  +    name = "xdebug-2.6.1";
  +
  +    sha256 = "0xxxy6n4lv7ghi9liqx133yskg07lw316vhcds43n1sjq3b93rns";
   
       doCheck = true;
       checkTarget = "test";
     };
   
  -  xdebug26 = assert isPhp7; buildPecl {
  -    name = "xdebug-2.6.1";
  -
  -    sha256 = "0xxxy6n4lv7ghi9liqx133yskg07lw316vhcds43n1sjq3b93rns";
  -
  -    doCheck = true;
  -    checkTarget = "test";
  -  };
  -
  -  yaml = if isPhp7 then yaml20 else yaml13;
  -
  -  yaml13 = assert !isPhp7; buildPecl {
  -    name = "yaml-1.3.1";
  -
  -    sha256 = "1fbmgsgnd6l0d4vbjaca0x9mrfgl99yix5yf0q0pfcqzfdg4bj8q";
  +  yaml = buildPecl {
  +    name = "yaml-2.0.2";
  +
  +    sha256 = "0f80zy79kyy4hn6iigpgfkwppwldjfj5g7s4gddklv3vskdb1by3";
   
       configureFlags = [
         "--with-yaml=${pkgs.libyaml}"
  
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:     nativeBuildInputs = [ pkgs.pkgconfig ];
    };
  
    pthreads = assert (pkgs.config.php.zts or false); buildPecl {
      name = "pthreads-3.1.5";
      sha256 = "1ziap0py3zrc7qj9lw4nzq6wx1viyj8v9y1babchizzan014x6p5";
      meta.broken = true;
    };
  
    redis = buildPecl {
      name = "redis-3.1.4";
      sha256 = "0rgjdrqfif8pfn3ipk1v4gyjkkdcdrdk479qbpda89w25vaxzsxd";
    };
  
    v8 = buildPecl rec {
      version = "0.1.9";
      name = "v8-${version}";
  
  