Guide
API
Wiki
Forum
Community
Live Chat
Extensions
Resources
Members
Hall of Fame
Badges
More
Learn
Books
Resources
Develop
Download Yii
Report an Issue
Report a Security Issue
Contribute to Yii
Donate
About
What is Yii?
Release Cycle
News
License
Team
Official Logos and Design
Login
🚀
Yii3 is now available!
Yii Framework Wiki
Write
new article
Categories
All
Tips
370
How-tos
502
Tutorials
313
FAQs
68
Others
67
Popular Tags
All
yii2
91
CGridView
69
AJAX
57
Yii
48
tutorial
39
model
31
i18n
30
authentication
28
security
26
database
24
Recent Comments
AftabHussainSharSukkur
on
Convert JSON data to html table for display on page
11 hours ago
mahmood1369
on
Layanan Call Center & WhatsApp (24 Jam)
14 hours ago
mahmood1369
on
Layanan Call Center & WhatsApp (24 Jam)
14 hours ago
mahmood1369
on
Building Modern SPAs with Yii2 and Inertia.js
14 hours ago
mahmood1369
on
Nomor Call Center AirAsia Indonesia 24 jam
15 hours ago
Difference between #
2
and #
3
of
Integrating FirePHP
Changes
Title
unchanged
Integrating FirePHP
Category
unchanged
Tutorials
Yii version
unchanged
Tags
unchanged
Content
changed
[...]
if (YII_DEBUG){
Yii::import("application.components.FirePHPCore.fb", true);
}
~~~
So, you will have
(in 1.0.x version)
~~~
[...]
~~~
(1.1.x version)
~~~
[php]
$app = Yii::createWebApplication($config);
if (YII_DEBUG){
Yii::import("application.components.FirePHPCore.fb", true);
}
$app->run();
~~~
That's it! Now you can display your variables on FirePHP with a simple 'fb' command inside your PHP code:
```
[php]
fb($my_variable);
~~~
[...]
7
0
6
followers
Viewed:
20 074 times
Version:
1.1
Category:
Tutorials
Tags:
Written by:
ricardograna
Last updated by:
ricardograna
Created on:
Oct 5, 2010
Last updated:
15 years ago
Update Article
Revert to #2
|
Revert to #3
Revisions
View all history
15 years ago
by
ricardograna
Added changes for 1.1.x compatibility
15 years ago
by
ricardograna
Sorry, I was using my project name inste...