3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface base { public function so(); } interface base2{ public function so(); } class test implements base, base2{ public function so(){}; }
Output for 5.4.0 - 5.4.26
Parse error: syntax error, unexpected ';', expecting function (T_FUNCTION) in /in/lqaMC on line 12
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected ';', expecting T_FUNCTION in /in/lqaMC on line 12
Process exited with code 255.

preferences:
197.37 ms | 1395 KiB | 63 Q