summaryrefslogtreecommitdiffstats
path: root/88.patch
blob: d2f04097354270169d3820bb4b20621d86bc2fc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From 0ef8d69a60fc4398621a62ace60304d9528e1c64 Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Wed, 28 Jun 2017 16:35:41 +0200
Subject: [PATCH] Fix #87 skip test with 7.2 (create_function is deprecated)

---
 extension/tests/trace_002.phpt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/extension/tests/trace_002.phpt b/extension/tests/trace_002.phpt
index cedd592..dfe3709 100644
--- a/extension/tests/trace_002.phpt
+++ b/extension/tests/trace_002.phpt
@@ -1,5 +1,7 @@
 --TEST--
 Trace include, require, lambda, eval
+--SKIPIF--
+<?php (PHP_VERSION_ID < 70200) or die("skip PHP <= 7.2 only"); ?>
 --INI--
 trace.dotrace=1
 --FILE--