3v4l.org

run code in 300+ PHP versions simultaneously
<?php define('VENDOR_USER_ID', 1); define('RESELLER_USER_ID', 1); $user_id = !empty(VENDOR_USER_ID) ? VENDOR_USER_ID : RESELLER_USER_ID;

preferences:
43.2 ms | 402 KiB | 5 Q