-=[ Mr. Bumblebee ]=-
_Indonesia_

Path : /usr/src/php/ext/reflection/tests/
File Upload :
Current File : //usr/src/php/ext/reflection/tests/bug30961.phpt

--TEST--
Reflection Bug #30961 (Wrong linenumber in ReflectionClass getStartLine())
--FILE--
<?php
    class a
    {
    }

    class b extends a
    {
    }

    $ref1 = new ReflectionClass('a');
    $ref2 = new ReflectionClass('b');
    echo $ref1->getStartLine() . "\n";
    echo $ref2->getStartLine() . "\n";
?>
--EXPECT--
2
6

Copyright © 2017 || Recoded By Mr.Bumblebee