Dropped php-test-helpers for uopz
Seems that uopz has superseded php-test-helpers. Updated the exit overloading and adjusted some tests based on the new behavior of not echoing out the argument passed to exit().
This commit is contained in:
parent
018ae0edc1
commit
260b532a66
3 changed files with 7 additions and 21 deletions
|
@ -1,14 +1,6 @@
|
|||
<?php
|
||||
|
||||
set_exit_overload(function($status = false)
|
||||
{
|
||||
if ($status)
|
||||
{
|
||||
echo $status;
|
||||
}
|
||||
|
||||
return false;
|
||||
});
|
||||
uopz_overload(ZEND_EXIT, function(){});
|
||||
|
||||
ob_start();
|
||||
@session_start();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue