3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $id = $_POST['tourneydrop'] ?? $_POST['tourney'];
Output for 7.0.0 - 7.2.0
Notice: Undefined index: tourney in /in/8hRsY on line 4
Output for 5.3.20 - 5.4.30, 5.4.32 - 5.6.28
Parse error: syntax error, unexpected '?' in /in/8hRsY on line 4
Process exited with code 255.
Output for 5.4.31

Process exited with code 137.