I created a file containing common functions. The purpose of this file is to include it in the main file and use the functions available in it.
Anyway, at the top of everything, so <?phpPhpStorm Return:
Waiting for a line
What means?
file structure example:
<?php
public function getTimeStamp()
{
$originalTime = microTime(true);
$micro = sprintf("%06d", ($originalTime - floor($originalTime)) * 1000000);
$date = new DateTime(date('d-m-Y H:i:s' . $micro, $originalTime));
return $date->format($this->settings['dateFormat']);
}
...
?>
what did I do wrong?
source
share