For those who know FatFree Framework, you are used to see this variable $f3
. I want to change it to some other name more intuitive like $this
or $app
, and although I know that it's possible, what are the counter parts of doing that?
For example, this code:
<?php
$f3=require('lib/base.php');
$f3->set('DEBUG',1);
if ((float)PCRE_VERSION<7.9)
trigger_error('PCRE version is out of date');
$f3->config('config.ini');
Would be:
<?php
$app=require('lib/base.php');
$app->set('DEBUG',1);
if ((float)PCRE_VERSION<7.9)
trigger_error('PCRE version is out of date');
$app->config('config.ini');