[xdebug-dev] xdebug xdebug/tests/bug00265.phpt - get_last_error() is only in PHP 5.2 and later.

From: Derick Rethans <derick[@]derickrethans.nl>
Date: Sun, 4 Jan 2009 22:24:45 +0100

Date: Sun Jan 4 22:24:44 CET 2009
User: Derick Rethans
Directory: xdebug

Log Message:
[0.05]
- get_last_error() is only in PHP 5.2 and later.

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

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

===================================================================
RCS file: cvstemp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- xdebug/tests/bug00265.phpt:1.2 Sat Jun 09 12:43:31 2007 GMT
+++ xdebug/tests/bug00265.phpt Sun Jan 04 20:24:44 2009 GMT
@@ -2,7 +2,7 @@
 Test for bug #265: Xdebug's error handler breaks error_get_last().
 --SKIPIF--
 <?php if (!extension_loaded("xdebug")) print "skip"; ?>
-<?php if(version_compare(zend_version(), "2.0.0-dev", '<')) echo "skip Zend Engine 2 needed\n"; ?>
+<?php if(version_compare(php_version(), "5.2.0", '<')) echo "skip PHP 5.2 or later needed\n"; ?>
 --INI--
 xdebug.default_enable=1
 xdebug.dump_globals=0
Received on Sun Jan 04 2009 - 22:36:04 GMT

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