~tcuthbert/wordpress/openstack-objectstorage

« back to all changes in this revision

Viewing changes to vendor/phpunit/php-code-coverage/tests/_files/source_with_namespace.php

  • Committer: Jacek Nykis
  • Date: 2015-02-11 15:35:31 UTC
  • Revision ID: jacek.nykis@canonical.com-20150211153531-hmy6zi0ov2qfkl0b
Initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
namespace bar\baz;
 
3
 
 
4
/**
 
5
 * Represents foo.
 
6
 */
 
7
class source_with_namespace
 
8
{
 
9
}
 
10
 
 
11
/**
 
12
 * @param mixed $bar
 
13
 */
 
14
function &foo($bar)
 
15
{
 
16
    $baz = function () {};
 
17
    $a   = true ? true : false;
 
18
    $b = "{$a}";
 
19
    $c = "${b}";
 
20
}