Answers for "how to debug a php lohin system"

PHP
1

how to debug in php

ini_set('display_errors', 'On');
error_reporting(E_ALL);
Posted by: Guest on June-16-2020
1

console_log in php

<?php
function console_log($output, $with_script_tags = true) {
    $js_code = 'console.log(' . json_encode($output, JSON_HEX_TAG) . 
');';
    if ($with_script_tags) {
        $js_code = '<script>' . $js_code . '</script>';
    }
    echo $js_code;
}
Posted by: Guest on August-12-2020

Browse Popular Code Answers by Language