derick Fri, 07 Jan 2011 23:52:14 +0000
Revision: http://svn.xdebug.org/cgi-bin/viewvc.cgi?view=rev&revision=3387&root=xdebug
Log:
- Fixed test case for closures, they only work in 5.3 and higher.
Changed paths:
U xdebug/trunk/tests/closure-stack-trace.phpt
U xdebug/trunk/tests/closure-trace.phpt
Modified: xdebug/trunk/tests/closure-stack-trace.phpt
===================================================================
--- xdebug/trunk/tests/closure-stack-trace.phpt 2011-01-07 23:52:13 UTC (rev 3386)
+++ xdebug/trunk/tests/closure-stack-trace.phpt 2011-01-07 23:52:14 UTC (rev 3387)
@@ -1,5 +1,7 @@
--TEST--
Test for closure file and location in stack traces
+--SKIPIF--
+<?php if(version_compare(phpversion(), "5.3.0", '<')) echo "skip PHP 5.3 needed\n"; ?>
--INI--
xdebug.default_enable=1
xdebug.profiler_enable=0
Modified: xdebug/trunk/tests/closure-trace.phpt
===================================================================
--- xdebug/trunk/tests/closure-trace.phpt 2011-01-07 23:52:13 UTC (rev 3386)
+++ xdebug/trunk/tests/closure-trace.phpt 2011-01-07 23:52:14 UTC (rev 3387)
@@ -1,5 +1,7 @@
--TEST--
Test for closure file and location in stack traces
+--SKIPIF--
+<?php if(version_compare(phpversion(), "5.3.0", '<')) echo "skip PHP 5.3 needed\n"; ?>
--INI--
xdebug.default_enable=1
xdebug.profiler_enable=0
Received on Fri Jan 07 2011 - 23:52:14 GMT
This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST