for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Exchange1c module
*
* @author Alexey Krupskiy <[email protected]>
* @link http://inji.ru/
* @copyright 2015 Alexey Krupskiy
* @license https://github.com/injitools/cms-Inji/blob/master/LICENSE
*/
class Exchange1c extends Module {
public function response($code, $text = '', $exit = true) {
echo $code;
if ($text) {
echo "\n";
echo $text;
}
if ($exit) {
exit();
exit
In general, usage of exit should be done with care and only when running in a scripting context like a CLI script.
In general, usage of exit should be done with care and only when running in a scripting context like a CLI script.