3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $👋 = 'Hello'; $🌎 = 'World'; function 💬($🔠, $🔡) { echo $🔠.' '.$🔡; }; 💬("hello world");
based on EPd61
Output for 7.1.0 - 7.3.0rc3
Fatal error: Uncaught ArgumentCountError: Too few arguments to function 💬(), 1 passed in /in/uqk8X on line 10 and exactly 2 expected in /in/uqk8X:6 Stack trace: #0 /in/uqk8X(10): 💬('hello world') #1 {main} thrown in /in/uqk8X on line 6
Process exited with code 255.
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.0.20
Warning: Missing argument 2 for 💬(), called in /in/uqk8X on line 10 and defined in /in/uqk8X on line 6 Notice: Undefined variable: 🔡 in /in/uqk8X on line 7 hello world
Output for hhvm-3.15.4
Warning: 💬() expects exactly 2 parameters, 1 given in /in/uqk8X on line 7 Notice: Undefined variable: 🔡 in /in/uqk8X on line 7 hello world