[exec: 0.0010s]
App = App Object
(
[title:App:private] => Programming IS Easy - Watch, Learn, Create!
[htmx] =>
[htmx_boosted] =>
[route] => main
[view] => main
[id] =>
[action] =>
[data] => Array
(
)
[objects] => Array
(
)
[BASE_PATH] => /var/www/vhosts/programming-is-easy.com
)
Painfree = PHPainfree Object
(
[Version] => 0.11.0
[URI] => https://programming-is-easy.com/
[route] => main
[Root] => /var/www/vhosts/programming-is-easy.com/
[db] =>
[Autoload] => Array
(
)
[__debug] => Array
(
[App] => App Object
(
[title:App:private] => Programming IS Easy - Watch, Learn, Create!
[htmx] =>
[htmx_boosted] =>
[route] => main
[view] => main
[id] =>
[action] =>
[data] => Array
(
)
[objects] => Array
(
)
[BASE_PATH] => /var/www/vhosts/programming-is-easy.com
)
)
[options:PHPainfree:private] => Array
(
[ApplicationController] => App.php
[BaseView] => app.php
[DefaultRoute] => main
[Database] => Array
(
)
[RouteParameter] => route
[TemplateFolder] => templates
[LogicFolder] => includes
)
)
DebugExamples = Please be aware that there are several $Painfree->debug() calls made in templates/debug.php to be used as examples. You should probably remove them.
$TestArray = Array
(
[this_is] => a simple dummy array.
[example] => Array
(
[0] => 1
[1] => 2
[2] => 3
)
)
$PainfreeConfig = Array
(
[ApplicationController] => App.php
[BaseView] => app.php
[DefaultRoute] => main
[Database] => Array
(
)
[RouteParameter] => route
[TemplateFolder] => templates
[LogicFolder] => includes
)
EXAMPLE = You can basically pass anything to $Painfree->debug().