--TEST--
Bug #55137 (Changing trait static method visibility)
--FILE--
<?php

trait {
   protected static function 
foo() { echo "abc\n"; }
   private static function 
bar() { echo "def\n"; }
}


class 
{
   use 
{
      
A::foo as public;
      
A::bar as public baz;
   }
}

B::foo();
B::baz();


?>
--EXPECT--
abc
def