console.log() but with php
//display message in console
<?php
function console_log($msg) {
echo '<script>' .
'console.log("'.$msg .' ")</script>';
}
console_log("Hi there!");
?>$a = array(
null => 'a',
true => 'b',
false => 'c',
0 => 'd',
1 => 'e',
'' => 'f'
);
echo count($a), "\n";
Also in PHP:
- Token capabilities in vault
- error php display
- Seeding: and no result laravel
- base code 64 a image in php
- DateTime TO UNIx timestamp PHP
- date i php
- file directory array
- domain only request php
- clear cache in php artisan
- date("l",$date) php
- arr::plunk laravel
- email configuration for gmail in laravel
- App\\Http\\Controllers\\DB' not found
- count character in php
- fast laravel installation
- date format create in php
- create or update laravel
- 3 elements in do while loop php
- extend php maximum execution time
- debug php errors
- detectar comienzo cadena php
- carbon add minutes
- all words capital php
- echo redirect set header