Answers for "how to see php code in console"

PHP
1

console.log in php

/*
console.log in php
*/

<?php
	function consoleLog($message) {
		echo '<script type="text/javascript">' .
          'console.log(' . $message . ');</script>';
	}

	consoleLog('Hello, greppers!');
?>
Posted by: Guest on May-11-2020
0

php console print

$a = array(
 null => 'a',
 true => 'b',
 false => 'c',
 0 => 'd',
 1 => 'e',
 '' => 'f'
);

echo count($a), "\n";
Posted by: Guest on October-10-2020

Code answers related to "how to see php code in console"

Browse Popular Code Answers by Language