3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function test($thsis, $is, $melon){ echo "ok"; } test("this", "is");
Output for 7.1.0 - 7.2.0
Fatal error: Uncaught ArgumentCountError: Too few arguments to function test(), 2 passed in /in/lKC4A on line 6 and exactly 3 expected in /in/lKC4A:2 Stack trace: #0 /in/lKC4A(6): test('this', 'is') #1 {main} thrown in /in/lKC4A on line 2
Process exited with code 255.
Output for 5.1.0 - 7.0.20
Warning: Missing argument 3 for test(), called in /in/lKC4A on line 6 and defined in /in/lKC4A on line 2 ok
Output for 4.3.0 - 5.0.5
Warning: Missing argument 3 for test() in /in/lKC4A on line 2 ok