(my english is bad, if you find something without any sense, please let me know, but in a decent way 😉 )
well, everything is fine now, i remove a error_reporting() sentence that was before the require_once() and everything works now!the exactly code:
$func_dir = realpath('..'.DIRECTORY_SEPARATOR.'functions');
$include_path = ini_get('include_path');
if(strpos($include_path, $func_dir) === false)
{
$ps = strchr($include_path, ';')?';':':';
ini_set('include_path', $include_path.$ps.$func_dir);
}
require_once('basic.php');
error_reporting();
require_once('./lib/php/globals.php');
require_once('./lib/php/utils.php');
echo("hi");
here in this code nothing happened, the 'hi' message never saw the light, but just as it is now, i commented the last require_once() and i see 'hi' on my screen, but like i said, i removed the error_reporting, shut off everything, reopen my project and just works...things like this drives me crazy and this is the only place that i really found interesting info