ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
BlackfireTest.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of Twig.
5  *
6  * (c) Fabien Potencier
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11 
13 {
14  public function testDump()
15  {
16  $dumper = new Twig_Profiler_Dumper_Blackfire();
17 
18  $this->assertStringMatchesFormat(<<<EOF
19 file-format: BlackfireProbe
20 cost-dimensions: wt mu pmu
21 request-start: %d.%d
22 
23 main()//1 %d %d %d
24 main()==>index.twig//1 %d %d %d
25 index.twig==>embedded.twig::block(body)//1 %d %d 0
26 index.twig==>embedded.twig//2 %d %d %d
27 embedded.twig==>included.twig//2 %d %d %d
28 index.twig==>index.twig::macro(foo)//1 %d %d %d
29 EOF
30  , $dumper->dump($this->getProfile()));
31  }
32 }
const EOF
How fgetc() reports an End Of File.
Definition: JSMin_lib.php:92