com php-src: Add json dep to test: NEWS ext/standard/tests/gene ral_functions/is_callable_variation1.phpt
| From: | Nikita Popov | Date: | Thu, 16 Feb 2017 11:45:24 +0000 |
| Subject: | com php-src: Add json dep to test: NEWS ext/standard/tests/gene ral_functions/is_callable_variation1.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-97119@lists.php.net to get a copy of this message | ||
Commit: 5432d6f982e36afd6505ff0d9b7ffb7ffc98b7f1
Author: Nikita Popov <nikita.ppv@gmail.com> Thu, 16 Feb 2017 12:45:15 +0100
Parents: e79754dee3ddba3178ffc1ea7d441cc47d4e2808
Branches: PHP-7.0 PHP-7.1 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=5432d6f982e36afd6505ff0d9b7ffb7ffc98b7f1
Log:
Add json dep to test
Changed paths:
M NEWS
M ext/standard/tests/general_functions/is_callable_variation1.phpt
Diff:
diff --git a/NEWS b/NEWS
index fb53eda..9b9b452 100644
--- a/NEWS
+++ b/NEWS
@@ -47,10 +47,6 @@ PHP NEWS
. Fixed bug #74022 (PHP Fast CGI crashes when reading from a pfx file).
(Anatol)
-- Reflection:
- . Fixed bug #74035 (getNumberOfRequiredParameters wrong for
- ReflectionClass::newInstance). (Andrew Nester)
-
- Standard:
. Fixed bug #74005 (mail.add_x_header causes RFC-breaking lone line feed).
(Anatol)
diff --git a/ext/standard/tests/general_functions/is_callable_variation1.phpt
b/ext/standard/tests/general_functions/is_callable_variation1.phpt
index 0a4609b..1fea871 100644
--- a/ext/standard/tests/general_functions/is_callable_variation1..phpt
+++ b/ext/standard/tests/general_functions/is_callable_variation1.phpt
@@ -1,5 +1,9 @@
--TEST--
Test is_callable() function : usage variations - undefined functions
+--SKIPIF--
+<?php
+if (!extension_loaded('json')) die("skip requires ext/json");
+?>
--INI--
precision=14
error_reporting = E_ALL & ~E_NOTICE | E_STRICT