3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $output = <<<SQL CREATE TABLE IF NOT EXISTS {$ssbdb['stats']} ( s_network VARCHAR(64) NOT NULL, s_profile VARCHAR(32) NOT NULL, s_userid VARCHAR(254) DEFAULT NULL, s_time INT(10) NOT NULL, s_browser VARCHAR(32) DEFAULT NULL, s_os VARCHAR(32) DEFAULT NULL, s_link VARCHAR(32) NOT NULL, s_ip VARCHAR(64) NOT NULL, s_country VARCHAR(128) DEFAULT NULL, s_state VARCHAR(128) DEFAULT NULL, s_city VARCHAR(128) DEFAULT NULL, s_uid VARCHAR(32) NOT NULL, s_model INT(1) NOT NULL ); SQL; var_dump($output);
Output for 5.0.4 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Notice: Undefined variable: ssbdb in /in/kVvbM on line 4 string(438) "CREATE TABLE IF NOT EXISTS ( s_network VARCHAR(64) NOT NULL, s_profile VARCHAR(32) NOT NULL, s_userid VARCHAR(254) DEFAULT NULL, s_time INT(10) NOT NULL, s_browser VARCHAR(32) DEFAULT NULL, s_os VARCHAR(32) DEFAULT NULL, s_link VARCHAR(32) NOT NULL, s_ip VARCHAR(64) NOT NULL, s_country VARCHAR(128) DEFAULT NULL, s_state VARCHAR(128) DEFAULT NULL, s_city VARCHAR(128) DEFAULT NULL, s_uid VARCHAR(32) NOT NULL, s_model INT(1) NOT NULL );"
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: ssbdb in /in/kVvbM on line 4 string(438) "CREATE TABLE IF NOT EXISTS ( s_network VARCHAR(64) NOT NULL, s_profile VARCHAR(32) NOT NULL, s_userid VARCHAR(254) DEFAULT NULL, s_time INT(10) NOT NULL, s_browser VARCHAR(32) DEFAULT NULL, s_os VARCHAR(32) DEFAULT NULL, s_link VARCHAR(32) NOT NULL, s_ip VARCHAR(64) NOT NULL, s_country VARCHAR(128) DEFAULT NULL, s_state VARCHAR(128) DEFAULT NULL, s_city VARCHAR(128) DEFAULT NULL, s_uid VARCHAR(32) NOT NULL, s_model INT(1) NOT NULL );"