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 38e597c0d728ce65002b304da29b5bae7e0bd561..2c3f50d4a00aa87dad962635b6b02dfc7978a777 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--