[xdebug-dev] svn: /xdebug/trunk/tests/ bug00562.phpt

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Tue, 26 Oct 2010 16:33:59 +0000

derick Tue, 26 Oct 2010 16:33:58 +0000

Revision: http://svn.xdebug.org/cgi-bin/viewvc.cgi?view=rev&revision=3354&root=xdebug

Log:
- Fixed test; it requires 5.3 as it tests closures.

Changed paths:
    U xdebug/trunk/tests/bug00562.phpt

Modified: xdebug/trunk/tests/bug00562.phpt
===================================================================
--- xdebug/trunk/tests/bug00562.phpt 2010-10-26 16:32:57 UTC (rev 3353)
+++ xdebug/trunk/tests/bug00562.phpt 2010-10-26 16:33:58 UTC (rev 3354)
@@ -1,5 +1,8 @@
 --TEST--
 Test for bug #562: Incorrect coverage information for closure function headers
+--SKIPIF--
+<?php if (!extension_loaded("xdebug")) print "skip"; ?>
+<?php if(version_compare(phpversion(), "5.3.0", '<')) echo "skip PHP 5.3 needed\n"; ?>
 --FILE--
 <?php

Received on Tue Oct 26 2010 - 17:33:59 BST

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST