3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $tablename = array ('referer_medium', 'referer_source', 'referer_campaign'); foreach ($tablename as $name) { echo ("ALTER TABLE `". Piwik_Common::prefixTable('log_visit') . "` DROP `{$name}`"); }
Output for 7.0.0 - 7.3.0rc4
Fatal error: Uncaught Error: Class 'Piwik_Common' not found in /in/G4QT1:7 Stack trace: #0 {main} thrown in /in/G4QT1 on line 7
Process exited with code 255.
Output for 5.0.0 - 5.6.28
Fatal error: Class 'Piwik_Common' not found in /in/G4QT1 on line 7
Process exited with code 255.
Output for 4.3.2 - 4.4.9
Fatal error: Undefined class name 'piwik_common' in /in/G4QT1 on line 7
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Undefined class name 'piwik_common' in /in/G4QT1 on line 7