Skip to content

Commit

Permalink
Force consistent error settings.
Browse files Browse the repository at this point in the history
  • Loading branch information
whatthejeff committed Aug 16, 2013
1 parent a295e00 commit 02d450c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/load_as_zend_extension-php5.5.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
Loading test_helpers as zend_extension
--INI--
zend_extension=test_helpers.so
log_errors=1
display_errors=0
--SKIPIF--
<?php
if (version_compare(PHP_VERSION, '5.5', '<')) die("skip this test is for PHP 5.5+.");
Expand All @@ -16,6 +18,4 @@ echo "done";
?>
--EXPECT--
PHP Warning: Module 'test_helpers' already loaded in Unknown on line 0

Warning: Module 'test_helpers' already loaded in Unknown on line 0
done
4 changes: 2 additions & 2 deletions tests/load_as_zend_extension.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
Loading test_helpers as zend_extension
--INI--
zend_extension=modules/test_helpers.so
log_errors=1
display_errors=0
--SKIPIF--
<?php
if (version_compare(PHP_VERSION, '5.5', '>=')) die("skip test is for PHP < 5.5.");
Expand All @@ -16,6 +18,4 @@ echo "done";
?>
--EXPECT--
PHP Warning: Module 'test_helpers' already loaded in Unknown on line 0

Warning: Module 'test_helpers' already loaded in Unknown on line 0
done

0 comments on commit 02d450c

Please sign in to comment.