Hello! This is a small problem. if anyone knows, please help. Here is the code: $start_time = microtime(true); $data = ''; for ($i = 0; $i < 1000; $i++) { $data = $data . $i; } echo sprintf('%01.4f', microtime(true) – $start_time); // this line generate error PHP: And I get the following error: Parse error: syntax error, unexpected T_STRING in ... '' here echo sprintf('%01.4f', microtime(true) – $start_time); Thank you!
Check the minus sign, it is not the actual character with ascii code 45 but the unicode character 8211 (http://www.unicodemap.org/details/0x2013/index.html). Copy paste error I assume