Skip to content

Commit

Permalink
- Fixed test case for closures, they only work in 5.3 and higher.
Browse files Browse the repository at this point in the history
SVN Rev: 3387
  • Loading branch information
derickr committed Jan 7, 2011
1 parent 33ef85e commit b939568
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/closure-stack-trace.phpt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions tests/closure-trace.phpt
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit b939568

Please sign in to comment.