GithubHelp home page GithubHelp logo

firephp / firephp-core Goto Github PK

View Code? Open in Web Editor NEW
220.0 220.0 78.0 460 KB

FirePHP server library for sending PHP variables to the browser.

Home Page: http://www.firephp.org

PHP 100.00%
devtools-extension firephp logging-library php

firephp-core's Introduction

FirePHP 1.0

Status: dev

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.

This project contains the FirePHP 1.0 PHP server library and provides a development environment (see ./workspace/) for working on FirePHP.

Usage

See Install in the FirePHP 1.0 Documentation.

Support & Feedback

See Support in the FirePHP 1.0 Documentation.

Contribute

See Contribute in the FirePHP 1.0 Documentation.

Author

This project is authored and maintained by Christoph Dorn.

Documentation License

Creative Commons Attribution-NonCommercial-ShareAlike 3.0

Copyright (c) 2007+ Christoph Dorn

Code License

MIT License

Copyright (c) 2007+ Christoph Dorn

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

firephp-core's People

Contributors

bkdotcom avatar cadorn avatar ctrlaltca avatar gamesh avatar hissvard avatar ideals avatar qbbr avatar robloach avatar seldaek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

firephp-core's Issues

booleans values apears as string '', or as string '1'. Null is ''.

See: http://firephp.842658.n2.nabble.com/encodeObject-function-td6902405.html

I tried to guess why the encodeObject() function test if $Object is_ressource, is_object, is_array, and if it isn't any of these, then encodes as utf8. With this logic, booleans values apears as string '', or as string '1'. Null is ''. For a better representation I added the following lines:

    } else if (is_bool($Object)) {
        return $Object;
    } else if (is_null($Object)) {
        return 'NULL';
    } else if (is_numeric($Object)) {
        return $Object;

and booleans values are returned as true or false, null variables are returned as null, and numeric variables are returned as numbers.

Inverse display

I'm using FirePHP together with the Silex Framework and I am seeing in the Chrome console logs being displayed in reverse order.

Here are the headers as Chrome network tab displays:

Cache-Control:no-cache
Connection:close
Content-Encoding:gzip
Content-Length:1763
Content-Type:text/html; charset=UTF-8
Date:Fri, 06 Mar 2015 11:12:11 GMT
Server:Apache
Vary:Accept-Encoding
X-Powered-By:PHP/5.5.10
X-Wf-1-1-1-1:191|[{"Type":"LOG","File":"\/xxxx\/Application.php","Line":141},"booting:Sepia\\Provider\\SessionServiceProvider"]|
X-Wf-1-1-1-2:211|[{"Type":"LOG","File":"\/yyyy\/vendor\/symfony\/http-kernel\/Symfony\/Component\/HttpKernel\/HttpKernel.php","Line":66},"Symfony\\Component\\HttpKernel\\HttpKernel"]|
X-Wf-1-1-1-3:192|[{"Type":"LOG","File":"\/xxxx\/EventListener\/RouterListener.php","Line":40},"RouterListener::onKernelRequest"]|
X-Wf-1-1-1-4:185|[{"Type":"LOG","File":"\/xxxx\/Provider\/SessionServiceProvider.php","Line":49},"Session early request"]|
X-Wf-1-1-1-5:218|[{"Type":"LOG","File":"\/yyyy\/vendor\/symfony\/http-foundation\/Symfony\/Component\/HttpFoundation\/Session\/Storage\/NativeSessionStorage.php","Line":101},{"name":"ksp"}]|
X-Wf-1-1-1-6:149|[{"Type":"LOG","File":"\/yyyy\/app\/classes\/controller\/site.php","Line":27},"ControllerSite::before"]|
X-Wf-1-1-1-7:129|[{"Type":"LOG","File":"\/yyyy\/app\/classes\/controller\/site.php","Line":29},null]|
X-Wf-1-1-1-8:129|[{"Type":"LOG","File":"\/yyyy\/app\/classes\/controller\/site.php","Line":54},null]|
X-Wf-1-Index:8
X-Wf-1-Plugin-1:http://meta.firephp.org/Wildfire/Plugin/FirePHP/Library-FirePHPCore/0.3
X-Wf-1-Structure-1:http://meta.firephp.org/Wildfire/Structure/FirePHP/FirebugConsole/0.1
X-Wf-Protocol-1:http://meta.wildfirehq.org/Protocol/JsonStream/0.2

This should display in Console tab:

booting:Sepia\\Provider\\SessionServiceProvider
Symfony\\Component\\HttpKernel\\HttpKernel
RouterListener::onKernelRequest
Session early request
Object {name: "ksp"}
ControllerSite::before
null
null

However, it is displaying:

null 
null
ControllerSite::before
Object {name: "ksp"}
Session early request
RouterListener::onKernelRequest
Symfony\Component\HttpKernel\HttpKernel
booting:Sepia\Provider\SessionServiceProvider

As long as I know, Silex/Symfony does not intercept headers being sent by the developer out of its api. Also I'm on Chrome 41.0.2272.76 OSX with FirePHP4Chrome 0.10.

Does anybody has every seen something like this?

Deprecation problems on Php 7.4

Hello, it looks like FirePHP doesn't play nice with the recently released PHP 7.4:

PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in firephp/firephp-core/lib/FirePHPCore/FirePHP.class.php on line 1603
PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in firephp/firephp-core/lib/FirePHPCore/FirePHP.class.php on line 1824
PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in firephp/firephp-core/lib/FirePHPCore/FirePHP.class.php on line 1825
PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in firephp/firephp-core/lib/FirePHPCore/FirePHP.class.php on line 1826
PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in firephp/firephp-core/lib/FirePHPCore/FirePHP.class.php on line 1831
PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in firephp/firephp-core/lib/FirePHPCore/FirePHP.class.php on line 1832
PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in firephp/firephp-core/lib/FirePHPCore/FirePHP.class.php on line 1833
PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in firephp/firephp-core/lib/FirePHPCore/FirePHP.class.php on line 1834
PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in firephp/firephp-core/lib/FirePHPCore/FirePHP.class.php on line 1885
PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in firephp/firephp-core/lib/FirePHPCore/FirePHP.class.php on line 1908
PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in firephp/firephp-core/lib/FirePHPCore/FirePHP.class.php on line 1913
PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in firephp/firephp-core/lib/FirePHPCore/FirePHP.class.php on line 1919
PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in firephp/firephp-core/lib/FirePHPCore/FirePHP.class.php on line 1929
PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in firephp/firephp-core/lib/FirePHPCore/FirePHP.class.php on line 1930
PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in firephp/firephp-core/lib/FirePHPCore/FirePHP.class.php on line 1940
PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in firephp/firephp-core/lib/FirePHPCore/FirePHP.class.php on line 1941
PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in firephp/firephp-core/lib/FirePHPCore/FirePHP.class.php on line 1942
PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in firephp/firephp-core/lib/FirePHPCore/FirePHP.class.php on line 1952
PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in firephp/firephp-core/lib/FirePHPCore/FirePHP.class.php on line 1953
PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in firephp/firephp-core/lib/FirePHPCore/FirePHP.class.php on line 1954
PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in firephp/firephp-core/lib/FirePHPCore/FirePHP.class.php on line 1955
PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in firephp/firephp-core/lib/FirePHPCore/FirePHP.class.php on line 1965
PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in firephp/firephp-core/lib/FirePHPCore/FirePHP.class.php on line 1966
PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in firephp/firephp-core/lib/FirePHPCore/FirePHP.class.php on line 1967
PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in firephp/firephp-core/lib/FirePHPCore/FirePHP.class.php on line 1968
PHP Deprecated:  Array and string offset access syntax with curly braces is deprecated in firephp/firephp-core/lib/FirePHPCore/FirePHP.class.php on line 1969

firephp.org down

The webseite http://firephp.org is down.
I installed firephp 0.7.4.1-signed with firebug 2.0.12 and FF 41.0
FirePHP is not showing up...

The requirements in the FF addons store says:

"Requirements (Firefox 8+):

You must have Firebug 1.9+ installed and the Firebug "Console" and "Net" panels enabled to use this extension.
You must also download a PHP library from http://www.firephp.org/ and include it in your application."

I can't get that PHP library because firephp.org is not accessible.

Graceful max header size logic

  • Add maxHeaderSize option
  • If size of reached stop sending more log messages
  • If traversing an object and getting close to limit, do not traverse as deep in hope of keeping room for more log messages
  • Object trim capability where objects can be encoded and then trimmed to a certain size to keep room for more log messages
  • Keep track of encoded object sizes and associated classes and rank classes by size to assist in adding object filters
  • Option to blacklist all classes and only show stub of first hidden object and ability to whitelist classes to traverse them.

setObjectFilter() should allow to exclude all members of an object

Hi. I was using FirePHP when suddenly PHP goes out of memory because of FirePHP. I spent a lot of time trying to detect where is the problem. I discovered I was logging an Exception's back-trace unbelievably full of data: the data comes from Smarty (template engine) variables, that are (cross)referenced almost everywhere on stack trace.

Ok, I said, it's not FirePHP fault. I reduced maxDepth and the problem went away. But that affected my FirePHP logs too much, lot of logged objects are truncated (I have to log very deep but not huge objects, ok).

Then I saw there's an interesting setObjectFilter() method. Cool, but there's a problem. I need to exclude full Smarty_Internal_Template (and others) objects, and that method let me exclude only specified members of it (a lot, I cannot list them them all!).

So, what about alter that method making the $Filter parameter optional? If not passed, a special value is set in $this->objectFilters[strtolower($Class)], for example TRUE, so FirePHP can exclude any member easily? I can fork your repo and do the job, if it's ok.

String syntax and PHP 8

The brace character extraction syntax is no longer allowed.

@@ -1652,7 +1651,7 @@ class FirePHP {
     
                 $name = $rawName;
 
-                if ($name{0} == "\0") {
+                if ($name[0] == "\0") {
                     $parts = explode("\0", $name);
                     $name = $parts[2];
                 }
@@ -1839,17 +1838,17 @@ class FirePHP {
             case 2:
                 // return a UTF-16 character from a 2-byte UTF-8 char
                 // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
-                return chr(0x07 & (ord($utf8{0}) >> 2))
-                       . chr((0xC0 & (ord($utf8{0}) << 6))
-                       | (0x3F & ord($utf8{1})));
+                return chr(0x07 & (ord($utf8[0]) >> 2))
+                       . chr((0xC0 & (ord($utf8[0]) << 6))
+                       | (0x3F & ord($utf8[1])));
 
             case 3:
                 // return a UTF-16 character from a 3-byte UTF-8 char
                 // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
-                return chr((0xF0 & (ord($utf8{0}) << 4))
-                       | (0x0F & (ord($utf8{1}) >> 2)))
-                       . chr((0xC0 & (ord($utf8{1}) << 6))
-                       | (0x7F & ord($utf8{2})));
+                return chr((0xF0 & (ord($utf8[0]) << 4))
+                       | (0x0F & (ord($utf8[1]) >> 2)))
+                       . chr((0xC0 & (ord($utf8[1]) << 6))
+                       | (0x7F & ord($utf8[2])));
         }
 
         // ignoring UTF-32 for now, sorry
@@ -1900,7 +1899,7 @@ class FirePHP {
                 */
                 for ($c = 0; $c < $strlen_var; ++$c) {
 
-                    $ord_var_c = ord($var{$c});
+                    $ord_var_c = ord($var[$c]);
 
                     switch (true) {
                         case $ord_var_c == 0x08:
@@ -1923,18 +1922,18 @@ class FirePHP {
                         case $ord_var_c == 0x2F:
                         case $ord_var_c == 0x5C:
                             // double quote, slash, slosh
-                            $ascii .= '\\' . $var{$c};
+                            $ascii .= '\\' . $var[$c];
                             break;
 
                         case (($ord_var_c >= 0x20) && ($ord_var_c <= 0x7F)):
                             // characters U-00000000 - U-0000007F (same as ASCII)
-                            $ascii .= $var{$c};
+                            $ascii .= $var[$c];
                             break;
 
                         case (($ord_var_c & 0xE0) == 0xC0):
                             // characters U-00000080 - U-000007FF, mask 110XXXXX
                             // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
-                            $char = pack('C*', $ord_var_c, ord($var{$c + 1}));
+                            $char = pack('C*', $ord_var_c, ord($var[$c + 1]));
                             $c += 1;
                             $utf16 = $this->json_utf82utf16($char);
                             $ascii .= sprintf('\u%04s', bin2hex($utf16));
@@ -1944,8 +1943,8 @@ class FirePHP {
                             // characters U-00000800 - U-0000FFFF, mask 1110XXXX
                             // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
                             $char = pack('C*', $ord_var_c,
-                                         ord($var{$c + 1}),
-                                         ord($var{$c + 2}));
+                                         ord($var[$c + 1]),
+                                         ord($var[$c + 2]));
                             $c += 2;
                             $utf16 = $this->json_utf82utf16($char);
                             $ascii .= sprintf('\u%04s', bin2hex($utf16));
@@ -1955,9 +1954,9 @@ class FirePHP {
                             // characters U-00010000 - U-001FFFFF, mask 11110XXX
                             // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
                             $char = pack('C*', $ord_var_c,
-                                         ord($var{$c + 1}),
-                                         ord($var{$c + 2}),
-                                         ord($var{$c + 3}));
+                                         ord($var[$c + 1]),
+                                         ord($var[$c + 2]),
+                                         ord($var[$c + 3]));
                             $c += 3;
                             $utf16 = $this->json_utf82utf16($char);
                             $ascii .= sprintf('\u%04s', bin2hex($utf16));
@@ -1967,10 +1966,10 @@ class FirePHP {
                             // characters U-00200000 - U-03FFFFFF, mask 111110XX
                             // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
                             $char = pack('C*', $ord_var_c,
-                                         ord($var{$c + 1}),
-                                         ord($var{$c + 2}),
-                                         ord($var{$c + 3}),
-                                         ord($var{$c + 4}));
+                                         ord($var[$c + 1]),
+                                         ord($var[$c + 2]),
+                                         ord($var[$c + 3]),
+                                         ord($var[$c + 4]));
                             $c += 4;
                             $utf16 = $this->json_utf82utf16($char);
                             $ascii .= sprintf('\u%04s', bin2hex($utf16));
@@ -1980,11 +1979,11 @@ class FirePHP {
                             // characters U-04000000 - U-7FFFFFFF, mask 1111110X
                             // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8
                             $char = pack('C*', $ord_var_c,
-                                         ord($var{$c + 1}),
-                                         ord($var{$c + 2}),
-                                         ord($var{$c + 3}),
-                                         ord($var{$c + 4}),
-                                         ord($var{$c + 5}));
+                                         ord($var[$c + 1]),
+                                         ord($var[$c + 2]),
+                                         ord($var[$c + 3]),
+                                         ord($var[$c + 4]),
+                                         ord($var[$c + 5]));
                             $c += 5;
                             $utf16 = $this->json_utf82utf16($char);
                             $ascii .= sprintf('\u%04s', bin2hex($utf16));

Unknown class Error

Line 854 contains:
throw new Error('Too many groupEnd() as opposed to group() calls!');

Shouldn't it be:
throw new ErrorException('Too many groupEnd() as opposed to group() calls!');

Clicking to disable FirePHP4Chrome does not work

Even if the icon is greyed out, indicating it should be disabled, I still get FirePHP output in my console. I have tried clicking to enable it, then clicking again to disable it, and I still get output in my console.

I am running Chrome 39 on OS X Yosemite.

Display objeccts on replay XHR

When I replay the XHR request using the developer tools, I would like to see the objects logged to the console again.
Are there any plans to implement this?

Publish to Composer

Publish official releases of FirePHPCore to Composer with complete profile and autoloading.

  • Make sure the global fb() function is available when auto-loading.

Chrome: Error 325 (net::ERR_RESPONSE_HEADERS_TOO_BIG): Unknown error.

It looks like Chrome (used with FirePHP4Chrome) has the lowest limit for headers size according to StackOverflow of 256kb for all headers.

This can quickly be a problem when using $firephp->trace() where stacktrace dumps can get huge.

The obvious way to solve that, would be to detect the browser and truncate the size of headers, including a warning for developers at the end of logs.

But maybe it could be much cleaner to combine effort with https://github.com/aaronsaray/FirePHP4Chrome and @aaronsaray and introduce a new optional header sent from FirePHP4Chrome, which would trigger a limit on header size.

What would seem the best approach ?

Also see, similar issue (and how they solved it): Seldaek/monolog#172

Trouble installing FirePHPCore on ubuntu 14.04 LTS

I am working off a clean install of Ubuntu 14.04 LTS and cannot install firephp due to error:

#pear install firephp/FirePHPCore

downloading FirePHPCore-0.3.2.tgz ...
Starting to download FirePHPCore-0.3.2.tgz (25,019 bytes)
.........done: 25,019 bytes
could not extract the package.xml file from "/build/buildd/php5-5.5.9+dfsg/pear-build-download/FirePHPCore-0.3.2.tgz"
Download of "firephp/FirePHPCore" succeeded, but it is not a valid package archive
Error: cannot download "firephp/FirePHPCore"
Download failed
install failed

I've installed this on several other servers in the same fashion with no problems but they were all running Ubuntu 12 or earlier.

Incorrect array(1) display

fb::log(array(
    '1' => array(1)
)); 

prints just array('1' => '1') if you click on it in firebug console.

New release - php 7.4

Can you please tag a new release that includes commit3f5dd60206c5a8814d9de3320ed3e9f0469938c7 ?
Now that php 7.4 is officially out, it's needed to avoid error messages.

Missing feature?

Is there a feature you are missing that should be included in this library?

The new browser extension is ready to receive updates and all kinds of new things are possible.

Has this project been abandoned?

Hello,

This is my third time in the last year trying to make firephp work and now the website is down (documentation, as well as official). Firephp doesn't get any output from the server library either.

Therefore, it begs the question: is this project dead?

fb() func isn't working

Hi!

I'm trying to use firephp with composer. I added this library to my project, my composer.json:

{
    "name": "mezin.a/hashids",
    "require": {
        "hashids/hashids": "^1.0",
        "firephp/firephp-core": "^0.4.0"
    }
}

Next step is index.php:

<?php
    error_reporting(E_ALL ^ E_DEPRECATED);
    ini_set("display_errors", 1);

    require 'vendor/autoload.php';

    fb('111');
?>

Got an error:

Fatal error: Call to undefined function fb()

Works only with these lines:

$firephp = FirePHP::getInstance(true);
$firephp->fb('value', 'var', FirePHP::WARN);

How to get it working with fb() only?

License file in FirePHPCore library

Hello,

I would add FirePHPCore library to Fedora Linux distribution as binary package. I noticed that in FirePHPCore there is not separate file with license text (usually LICENSE or LICENSE.txt). I have seen that license information is added to README file. Could I ask you about add MIT License text to dedicated for this file in repository?

Thank you in advance.

Best regards.
Marcin Haba

Option for call location trace displacement

I am trying to introduce FirePHP to an existing project. (BTW I really love the whole concept)
The project uses a 'home made' but quite nice log system which offers a simple opportunity to use FirePHP-Core from one central location, but this poses a problem. All the log entries in the devtools FirePHP log show exact the same calling location, no wonder as this is the single place where FB::log() gets called.
This could be solved easily if FirePHP had an option to ignore the first 'n' entries from the trace but I couldn't find such an option (I tried to take a look into the code but no result).
Does such option exist (and I overlooked it) or if not could it be added?

Add Unit Tests & Review Code

I am planning on adding unit tests for the library and reviewing the code.

Is there a specific unit test suite I should be using? I was thinking phpunit?

`includeLineNumbers` fails when lib not placed under "FirePHPCore" directory

includeLineNumbers fails to display as the folder name where firephp should be placed is hardcoded in the source.
This could be solved by using __DIR__ constant.

I know this is a minor problem as one should use either composer or respect the folder name, but for old projects where I just want to update the lib this was causing a headache trying to figure out why it was not displaying file/numbers.

Exception : 'You must specify a label for the group!' (0 and "0")

I just had a script crash and burn on this:

$firephp->group(0);

Exception : 'You must specify a label for the group!'

My suspicions were correct.. the group method is doing an "empty" test:

if (!$Name) {
    throw $this->newException('You must specify a label for the group!');
}

should be
if ( is_null($Name) )
or
if ( !isset($Name) )

don't be hatin' 0 and "0" ! :)

Tag Versions

Could you please tag the lib ?
It is helpful for composer user.

Is this project dead?

Broken links everywhere, is this project dead? What is used today instead of this?

Working with Firefox?

How can I make FirePhp work in Firefox? I tried it with Firebug 2.x and with Firebug 3.x but none was working. With Chrome it works perfectly. Any ideas how to get this work in FF?

phar: stub.php

firephp 1.0.0b1rc8 logs warnings:
PHP Warning: include(phar:///usr/.../firephp-1.0.0b1rc8.lib.phar/stub.php): failed to open stream: phar error: "stub.php" is not a file in phar "/usr/.../firephp-1.0.0b1rc8.lib.phar" in /usr/.../firephp-1.0.0b1rc8.lib.phar on line 9

Review repository forks for interesting patches

If there are interesting patches on forks they should be merged into this codebase.

If you find anything interesting or have authored a patch, comment below or file a new issue so we can get this library as feature-complete as possible.

CORS error that prevents loading of google fonts with firephp enabled

After updating to Chrome 76, I get the following error when loading pages using Google Fonts:

Access to font at 'https://fonts.gstatic.com/s/roboto/v20/KFOlCnqEu92Fr1MmWUlfBBc4.woff2' from origin '<origin here>' has been blocked by CORS policy: Request header field x-firephp-version is not allowed by Access-Control-Allow-Headers in preflight response.

Maybe we could avoid sending that header to google fonts specifically? I'm sadly ignorant about this error in particular, so maybe there's a more elegant way.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.