3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Test { function test1($param = null); function test2($param = DIRECTORY_SEPARATOR); function test3($param = array()); function test4($param = 'test'); } class Test1 implements Test { function test1($param = null) {} function test2($param = null) {} function test3($param = null) {} function test4($param = null) {} } class Test2 implements Test { function test1($param = DIRECTORY_SEPARATOR) {} function test2($param = DIRECTORY_SEPARATOR) {} function test3($param = DIRECTORY_SEPARATOR) {} function test4($param = DIRECTORY_SEPARATOR) {} } class Test3 implements Test { function test1($param = array()) {} function test2($param = array()) {} function test3($param = array()) {} function test4($param = array()) {} } class Test4 implements Test { function test1($param = 'test') {} function test2($param = 'test') {} function test3($param = 'test') {} function test4($param = 'test') {} } new Test1(); new Test2(); new Test3(); new Test4();
Output for git.master, git.master_jit, rfc.property-hooks

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
36.98 ms | 401 KiB | 8 Q