Console log para PHP

PHOTO EMBED

Mon Aug 02 2021 12:08:04 GMT+0000 (UTC)

Saved by @rstringa

function console_log( $data ){
	echo '<script>';
	echo 'console.log('. json_encode( $data ) .')';
	echo '</script>';
  }

console_log ( $variable );
content_copyCOPY