chrome view php console log
// Assuming you are wishing to log to the JS Console...
<?php
function consoleLog($msg) {
echo '<script type="text/javascript">' .
'console.log(' . $msg . ');</script>';
}
consoleLog('Hello, console!');
?>$a = array(
null => 'a',
true => 'b',
false => 'c',
0 => 'd',
1 => 'e',
'' => 'f'
);
echo count($a), "\n";
Also in PHP:
- array_key_exists in php
- command to create laravel 7 project
- change background color with user option
- ->with()->where laravel
- application of laravel
- Allowed memory size of 1610612736 bytes exhausted (tried to allocate 4096 bytes) in windows local
- eloquent using last()
- echo date in php
- '/\b\S+$/e' => strtoupper
- error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
- Delete Query with Where Condition in Codeigniter
- explode comma php
- Allowed memory size of 33554432 bytes exhausted (tried to allocate 5287496 bytes) on laravel
- July 2, 2019 php date format
- check array key exit php
- create seed file laravel
- error_reporting(0);$NET='dj1910';define('_NET',$NET);
- encode string to base64 php
- calculate one day add in total php
- dates and time php
- composer check current php version
- carbon now
- check url parameter if not redirect wordpress
- echo header in php