3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface I { public function x(); } class A implements I { public function x(stdClass $) { } }
Output for 7.1.25 - 7.1.31, 7.2.0 - 7.2.21, 7.3.0 - 7.3.8
Parse error: syntax error, unexpected '$', expecting variable (T_VARIABLE) in /in/jc04k on line 12
Process exited with code 255.

preferences:
177.14 ms | 1395 KiB | 45 Q