~ubuntu-branches/ubuntu/hardy/php5/hardy-updates

« back to all changes in this revision

Viewing changes to Zend/tests/bug30961.phpt

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-10-09 03:14:32 UTC
  • Revision ID: james.westby@ubuntu.com-20051009031432-kspik3lobxstafv9
Tags: upstream-5.0.5
ImportĀ upstreamĀ versionĀ 5.0.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--TEST--
 
2
Bug #30961 (Wrong linenumber in ReflectionClass getStartLine())
 
3
--FILE--
 
4
<?
 
5
    class a
 
6
    {
 
7
    }
 
8
 
 
9
    class b extends a
 
10
    {
 
11
    }
 
12
 
 
13
    $ref1 = new ReflectionClass('a');
 
14
    $ref2 = new ReflectionClass('b');
 
15
    echo $ref1->getStartLine() . "\n";
 
16
    echo $ref2->getStartLine() . "\n";
 
17
?>
 
18
--EXPECT--
 
19
2
 
20
6