<commit_before># Firephp - PHP console

A PHP extension for php-console.This is a C-implement of FirePHP.But now only implement tranditional INFO format information output. 


> **FirePHP is an advanced logging system that can display PHP variables in the browser as an application is navigated.**
> All communication is out of band to the application meaning that the logging data will not interfere with the normal functioning of the application.

	


## Requirement


* PHP 5.2 +


## Install firephp



### Compile firephp in Linux/Unix

	$/path/to/phpize
	$./configure --with-php-config=/path/to/php-config
	$make && make install
### For windows


Temporarily not available

## Author

This project is authored and maintained by [xudianyang](http://www.phpboy.net/).

##Documentation

Chinese Simplified documentation [PHP扩展之firephp console](http://www.phpboy.net/web/php/733.html).


## Usage

```php
<?php
	$arr = array(
		'key1' => 'php',
  		'key2' => 'boy',
	);
	$e1 = new Exception("test firephp php extension", 110);
	console($GLOBALS);
?>
```<commit_msg>修改README.md（支持两个参数）<commit_after># Firephp - PHP console

A PHP extension for php-console.This is a C-implement of FirePHP.But now only implement tranditional INFO format information output. 


> **FirePHP is an advanced logging system that can display PHP variables in the browser as an application is navigated.**
> All communication is out of band to the application meaning that the logging data will not interfere with the normal functioning of the application.

	


## Requirement


* PHP 5.2 +


## Install firephp



### Compile firephp in Linux/Unix

	$/path/to/phpize
	$./configure --with-php-config=/path/to/php-config
	$make && make install
### For windows


Temporarily not available

## Author

This project is authored and maintained by [xudianyang](http://www.phpboy.net/).

##Documentation

Chinese Simplified documentation [PHP扩展之firephp console](http://www.phpboy.net/web/php/733.html).


## Usage

```php
<?php
	$arr = array(
		'key1' => 'php',
  		'key2' => 'boy',
	);
	$e1 = new Exception("test firephp php extension", 110);
	console($GLOBALS);
	sleep(1);
	console('xdy', true);
?>
```
{'fraction_non_alphanumeric': 0.11867525298988041, 'fraction_numerical': 0.010579576816927323, 'mean_word_length': 4.046403712296984, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1709077', 'n_tokens_mistral': 721, 'n_tokens_neox': 668, 'n_words': 237}