} ini_set('phar.readonly', 0); $a->setAlias(array()); ini_set('phar.readonly', 1); try { $b->stopBuffering(); } catch (Exception $e) { echo $e->getMessage() . "\n"; } try { $a->setStub('oops'); } catch (Exception $e) { echo $e->getMessage() . "\n"; } try { $b->setStub('oops'); } catch (Exception $e) { echo $e->getMessage() . "\n"; } ini_set('phar.readonly', 0); $a->setStub(array()); ini_set('phar.readonly', 1); try { $b->setDefaultStub('oops'); } catch (Exception $e) { echo $e->getMessage() . "\n"; } $a->setDefaultStub(array()); try { $a->setDefaultStub('oops'); } catch (Exception $e) {