@@ -8,6 +8,8 @@ let
9 isPhpOlder55 = pkgs.lib.versionOlder php.version "5.5";
9 isPhpOlder55 = pkgs.lib.versionOlder php.version "5.5";
10 isPhp7 = pkgs.lib.versionAtLeast php.version "7.0";
10 isPhp7 = pkgs.lib.versionAtLeast php.version "7.0";
11+ isPhp72 = pkgs.lib.versionAtLeast php.version "7.2";
12+ isPhpOlder7 = pkgs.lib.versionOlder php.version "7.0";
12 apcu = if isPhp7 then apcu51 else apcu40;
14 apcu = if isPhp7 then apcu51 else apcu40;
@@ -179,7 +181,7 @@ let
179 buildInputs = [ pkgs.spidermonkey_1_8_5 ];
181 buildInputs = [ pkgs.spidermonkey_1_8_5 ];
182− xdebug = if isPhp7 then xdebug25 else xdebug23;
184+ xdebug = if isPhp72 then xdebug26 else if isPhp7 then xdebug25 else xdebug23;
184 xdebug23 = assert !isPhp7; buildPecl {
186 xdebug23 = assert !isPhp7; buildPecl {
185 name = "xdebug-2.3.1";
187 name = "xdebug-2.3.1";
@@ -190,7 +192,7 @@ let
190 checkTarget = "test";
192 checkTarget = "test";
193− xdebug25 = buildPecl {
195+ xdebug25 = assert !isPhp72; buildPecl {
194 name = "xdebug-2.5.0";
196 name = "xdebug-2.5.0";
196 sha256 = "03c9y25a3gc3kpav0cdgmhjixcaly6974hx7wgihi0wlchgavmlb";
198 sha256 = "03c9y25a3gc3kpav0cdgmhjixcaly6974hx7wgihi0wlchgavmlb";
@@ -199,6 +201,15 @@ let
199 checkTarget = "test";
201 checkTarget = "test";
204+ xdebug26 = assert !isPhpOlder7; buildPecl {
205+ name = "xdebug-2.6.0beta1";
207+ sha256 = "0zaj821jbpaqqcbr9a64sa27my9n980pmyy9kxrvvjqq3qg6dpj9";
210+ checkTarget = "test";
202 yaml = if isPhp7 then yaml20 else yaml13;
213 yaml = if isPhp7 then yaml20 else yaml13;
204 yaml13 = assert !isPhp7; buildPecl {
215 yaml13 = assert !isPhp7; buildPecl {