<?php trait Hello{ public static function world() { return "HELLO WORLD"; }} var_dump(Hello::world());
Standard input is empty
string(11) "HELLO WORLD"
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!