[xdebug-dev] xdebug xdebug/tests/bug00265.phpt - Fixed SKIPIF clause.

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Mon, 5 Jan 2009 18:21:27 +0100

Date: Mon Jan 5 18:21:26 CET 2009
User: Derick Rethans
Directory: xdebug

Log Message:
[0.05]
- Fixed SKIPIF clause.

Modified files:
           xdebug/tests/bug00265.phpt (version: 1.4)

[FILE: /xdebug/tests/bug00265.phpt]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- xdebug/tests/bug00265.phpt:1.3 Sun Jan 04 20:24:44 2009 GMT
+++ xdebug/tests/bug00265.phpt Mon Jan 05 16:21:26 2009 GMT
@@ -1,8 +1,7 @@
 --TEST--
 Test for bug #265: Xdebug's error handler breaks error_get_last().
 --SKIPIF--
-<?php if (!extension_loaded("xdebug")) print "skip"; ?>
-<?php if(version_compare(php_version(), "5.2.0", '<')) echo "skip PHP 5.2 or later needed\n"; ?>
+<?php if(version_compare(phpversion(), "5.2.0", '<')) echo "skip PHP 5.2 or higher needed\n"; ?>
 --INI--
 xdebug.default_enable=1
 xdebug.dump_globals=0
Received on Mon Jan 05 2009 - 18:21:31 GMT

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