3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $discount_code = null; $discount_config = array( 'load_key' => 'discount_code', 'load_val' => $discount_code ); if (empty($discount_config) || !isset($discount_config['load_key']) || !isset($discount_config['load_val'])) { echo 'Unable to load discount class without any param!'; }
Output for 5.6.30, hhvm-3.18.5 - 3.22.0, 7.0.30 - 7.3.0beta1
Unable to load discount class without any param!