3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class A{ static function __callStatic( $n , $a ) { echo 'x:'.$n; return self::test( $n , $a); } static function test($n , $a) { echo 'test' ; return $a; } } echo A::Z( 'Y' );
based on aQA2H
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.6
x:Ztest Notice: Array to string conversion in /in/B2SAq on line 9 Array