only for PHP5
authorMichael Wallner <mike@php.net>
Fri, 7 Aug 2015 09:58:53 +0000 (11:58 +0200)
committerMichael Wallner <mike@php.net>
Fri, 7 Aug 2015 09:58:53 +0000 (11:58 +0200)
tests/gh-issue7.phpt

index 38e597c..2c3f50d 100644 (file)
@@ -1,7 +1,12 @@
 --TEST--
 crash with querystring and exception from error handler
 --SKIPIF--
-<?php include "skipif.inc"; ?>
+<?php
+include "skipif.inc";
+if (version_compare(PHP_VERSION, "7", ">=")) {
+       die("skip PHP>=7\n");
+}
+?>
 --GET--
 q[]=1&r[]=2
 --FILE--